You will have to set the execution policy. By default it's restricted that's what blocking the execution. Just run from PowerShell command prompt!
Set-ExecutionPolicy Unrestricted
If you don't have admin rights, you can set the policy just for yourself!
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
Remember to run them as command not as a script.
follow this steps :
Type this command :
Set-ExecutionPolicy Bypass -Force
Press Enter
Restart you're program
and if u don't have access to powershell follow this way :
go to Regedit.exe and follow this path :
HKEY_LOCAL_MACHINE\\SOFWARE\\microsoft\\powershell\\1\\shelllds\\microsoft.powershell\\executionpolicy
and change of this string value Bypass
go to this address :
HKEY_LOCAL_MACHINE\\SOFWARE\\microsoft\\powershell\\1\\shelllds\\Scripted.diagnostic\\executionpolicy
and change this value to bypass
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.