pips icon indicating copy to clipboard operation
pips copied to clipboard

Won't start if execution policy is too restricting

Open ptytb opened this issue 7 years ago • 0 comments

screenshot

Try to bypass or write instructions for user

Tried and tested working configuration:

 Get-ExecutionPolicy -List

        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined  # Managed in gpedit.msc (default = Not configured)
   UserPolicy       Undefined  # Managed in gpedit.msc (default = Not configured)
      Process       Undefined  # Managed in the starter script (= Bypass)
  CurrentUser       AllSigned
 LocalMachine       AllSigned

For experiments: Set-ExecutionPolicy -Scope LocalMachine RemoteSigned -Force

ptytb avatar Mar 12 '18 22:03 ptytb