Execution Policy
There are a few ways to set the PowerShell Execution Policy in WinSE. I'll start with the easiest
AutoUnattend.xml Method
By far the easiest way to set the PowerShell Execution Policy to Bypass is to use an AutoUnattend.xml with a RunSynchronous Command
That does the trick
Driver Method (OSDBuilder)
You can easily create your own Driver INF and add that to WinSE (WinPE and WinRE too) to set the Execution Policy. OSDBuilder easily lets you add this Driver
RegAdd PowerShell ExecutionPolicy.inf
Last updated
Was this helpful?