PS2EXE.ps1 Cannot Be Loaded Because Running Scripts Is Disabled On This System

IT Support Forum Forums Windows Windows 7 Troubleshooting PS2EXE.ps1 Cannot Be Loaded Because Running Scripts Is Disabled On This System

Tagged: ,

Viewing 0 reply threads
  • Author
    Posts
    • #1019
      Webmaster
      Keymaster

      When you run the createdemo.bat file that comes with PS2EXE, you get this error in PowerShell:

      ps2exe.ps1 cannot be loaded because running scripts is disabled on this system

      To fix the error, you need to enable scripts to run on the system with this PowerShell cmdlet (run as administrator):

      Set-ExecutionPolicy Unrestricted

      You will then be able to run the createdemo.bat file without the error saying that the ps1 file can’t be loaded.

Viewing 0 reply threads
  • You must be logged in to reply to this topic.