![]() ![]() No, but you can trim the ISO using a tool like NTLite - though youll. So instead, I’ll do the registry change as a CMD script: reg add "HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft. If you want to install Windows 10 Lite OS on your computer, this post is worth. (Looks like it’s too early to me since MDM fake enrollment registry files do not take effect and I had to use reg command script later). I cannot confirm when the registry files are loaded in NTLite. The correct path is changing the string value ExecutionPolicy to Unrestricted in the key HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell ![]() It’s not in HKCU but in HKLM (his screenshots says HKLM). I decided to take a look at registry values that can be changed and this website suggested there is one. Microsoft deciding to prevent Powershell scripts from running by default broke NTLite’s powershell scripting. I tried to use CMD files to do powershell -command "Set-ExecutionPolicy unrestricted -force" but it does not work and quite a few people reported ignoring execution policy with -ExecutionPolicy Bypass switch to powershell.exe does not work with NTLite either. However, this is a chick and egg problem with slipstreaming as you need to execute this first programmatically. For that: Run NTLite and click on its Add button, which will show a. The Execution-Policy is set to be disabled and you have to go to Powershell to run Set-ExecutionPolicy unrestricted -force 4 To Custom Install Windows 10 with an ISO file You must be signed in to Windows as. Turns out Microsoft decided to not allow you to run Powershell scripts out of the box. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |