Comments (6)
the EFI is not mounted and cant be written to. Still strange that it works in Win10 and not Win11.
You could do a get-childitem to $SystemVolume.Path and get results in Win10, but same error in Win11.
A workaround to this is either to use mountvol (not powershell) or you add the partition access to EFI, with "Add-PartitionAccessPath". Use the $SystemParition variable to add the partition access.
from garytown.
Try using VSCode instead of ISE.
I've had issues with ISE and Windows 11 on specific things (this being one of them).
However, the code works when running via ConfigMgr or Intune.
For manual Testing, I'd recommend VSCode
from garytown.
Fails in ISE, but works fine in VSCode
from garytown.
This is an ISE issue.
The code works fine, but in Windows 11, there is an issue that ISE sometimes fails to run code where it used to work fine on Windows 10. For Windows 11 testing, please use VSCode.
from garytown.
Looking at this a bit more, using @Lycky's idea to add a drive letter.
I was hoping to avoid that, but I think it's the best way to make it work universally.... will be releasing an update hopefully later today
from garytown.
Updates to Proactive Remediation Scripts appear to have resolved the issue in my tests. Please let me know if you continue to have any issues
from garytown.
Related Issues (14)
- Should be Microsoft 365 "apps" for enterprise% and not Microsoft 365 for enterprise% Line 178 HOT 1
- Error in Windows 11 0x80070001 Incorrect function
- Cannot convert the "System.Object[]" value of type "System.Object[]" to type "System.Version". HOT 3
- Winget HOT 4
- HPIA-PR-Detect.ps1 - The Try statement is missing its Catch or Finally block. The string is missing the terminator: ". Missing closing '}' in statement block or type definition. HOT 2
- HPIA-PR-Detect.ps1 - $HPIAInstallPath Parameter HOT 1
- CVE-2023-24932 remediation has some new steps after the April updates HOT 1
- Schedule the time HOT 1
- Dell Command Update XML changed. HOT 1
- TaskSequenceSteps2Excel | BootImage2Excel.ps1 - null-valued expression HOT 3
- Update-DellApps-Detect.ps1 | Cannot convert System.Object to System.Version HOT 2
- Typo in BGInfoRegBuilder.ps1 HOT 1
- Fix line 71 in o365_download.ps1 to $NewFolder = New-Item -Path $ODTExtractPath -ItemType Directory -Force HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garytown.