Search This Blog

Windows 10: change local group policy to allow executing PowerShell scripts

According to "3 Ways to Change PowerShell Execution Policy in Windows 10", I used Local Group Policy Editor:
  • press Windows Key and search Group Policy then select Edit group policy to start local group policy editor
  • Navigate to Computer Configuration -> Administrative Templates -> Windows Components -> Windows PowerShell. Double-click a setting called “Turn on Script Execution” on the right pane.
  • Select the Enabled option. Beneath it, you can click the drop-down list to set the execution policy to “Allow all scripts“ or "Allow local scripts and remote signed scripts". Click OK to save your changes.

No comments:

Post a Comment