Windows Powershell – “Running scripts is disabled on this system”

Powershell scripts can be run on any Windows system as long as they are run from the ISE by pushing the green play button. As soon as you want to run it from the cmd or the desktop file you'll get this error:

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

This error occurs because of a security policy that does not allow scripts to run on your system without your permission. You can do this by opening a PowerShell window with administrative privileges (search for PowerShell on the main menu and select Run as administrator from the context menu) and typing:

set-executionpolicy remotesigned

15 thoughts on “Windows Powershell – “Running scripts is disabled on this system””

  1. Thanks!

    This was not easy. I had to change the executionpolicy to “remotesigned” (run “Set-ExecutionPolicy -Scope CurrentUser” an enter “remotesigned”. Change back to “Restricted” when you are done.)

    Also, I wanted to delete the “Camera” Metro App. It was not listed. Argh!

    Microsoft is really making things hard theese days.

  2. Run shell as Administrator.

    > Get-ExecutionPolicy

    > Set-ExecutionPolicy remoteSigned


    To Undo
    > Set-ExecutionPolicy restricted

  3. yeah, also for me Set-ExecutionPolicy remoteSigned did not work. I had to run
    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
    to work. Thanks


Leave a Comment