Do you get the message “powershell script cannot be loaded because the execution of scripts is disabled on this system” when you try to run a PowerShell script? Use this command to enable scripts on your Windows 7 PC.
1. Step Open Up Powershell
2. Step If you try to run a PowerShell script you get the error message that it cannot be loaded because scripts are disabled?
3. Step Enter Set-ExecutionPolicy RemoteSigned
The execution policy helps protect you from scripts that you do not trust. However, in order to run your own scripts, you have to enable it.
4. Step Enter Y for Yes
5. Step If you get the error message “Access to the registry key is denied” – please read our tutorial Fix access to the registry key is denied in Powershell