Reputation: 3486
I tried to set execution policy rights in PowerShell to enable the execution of scripts using this Cmdlet,
PS C:\> Set-ExecutionPolicy Unrestricted
but the PowerShell console gave the Registry access denied
error. The syntax seems to be okay. Did i overlook something. Please advise.
Upvotes: 0
Views: 643
Reputation: 16616
You should run PowerShell with elevated permissions. Simply right click Windows PowerShell and click Run as Administrator to open PowerShell in elevated privilege.
Upvotes: 3