file cannot be loaded because running scripts is disabled on this system

July 11, 2013 | By voidzzz | Filed in: Windows 2012.

Encounter the following error when running powershell ?
File cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
CategoryInfo : SecurityError: (:) [], PSSecurityException
FullyQualifiedErrorId : UnauthorizedAccess

Issue this command from powershell:
Set-ExecutionPolicy RemoteSigned

and you’re done


Tags: , , , , ,

One comment on “file cannot be loaded because running scripts is disabled on this system

  1. bal says:

    tHANKS A LOT YOU ARE A SAVIOUR

Leave a Reply

Your email address will not be published. Required fields are marked *