Menu & Search
“..ps1 cannot be loaded because running scripts is disabled on this system” – PowerShell

“..ps1 cannot be loaded because running scripts is disabled on this system” – PowerShell

When attempting to run a PowerShell script you may receive the following error:

ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at…

It’s a common error message this one… The problem is the default ExecutionPolicy won’t allow this action.


The Fix

Run PowerShell as Administrator.

Get-ExecutionPolicy will show the current Execution Policies configured.

Now to amend this, run Set-ExecutionPolicy.

All should work fine after the above!


Share

0 Comments