Powershell stuck in “Restricted”

Get-ExecutionPolicy -List

MachinePolicy Restricted

UserPolicy Restricted

Process Unrestricted

CurrentUser Bypass

LocalMachine Bypass

GPO is set to Unrestricted

HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindowsPowerShell is set to Unrestricted, also tried setting to ByPass, no change.

everything i do, i get

running scripts is disabled on this system

Set-ExecutionPolicy : Cannot set execution policy. Execution policies at the MachinePolicy or UserPolicy scopes must be set through Group Policy.

any ideas?

submitted by /u/russr
[link] [comments]

Leave a Reply