top of page
Writer's pictureRadhakrishnan Govindan

Set PowerShell Execution Policy for Current User

if you want to run the scripts or execute some downloaded scripts, You will end of with the error cannot be loaded because running scripts is disabled on this system.


3

it happens by default,PowerShell is restricted with execution policy.Hence that it is not allowed to execute the PowerShell scripts.


4

You can run the command Set-ExecutionPolicy -ExecutionPolicy Unrestricted to unblock. Wherein you need to have admin privilege to get this enabled. Most of the corporate companies will not provide the admin access to the normal users.


1

In such scenarios, We can go ahead and do it only for the current user which will not ask for admin access to make unrestrcited using the below command

           Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted


2

Refer the Article for more details to know more about the Execution Policy.

193 views0 comments
bottom of page