Fix: PowerShell cannot be loaded because the execution of scripts is disabled on this system

RECOMMENDED: Click here to fix Windows errors and optimize system performance

With Powershell scripts, you can automate common tasks under Windows, Microsoft applications and of course Office 365. You can often download practical scripts written by others on the Internet for use on your own computer.

Unfortunately, these scripts can potentially cause bad things you didn’t expect, so Microsoft protected you by disabling Powershell scripts by default on Windows 7. You must also ensure that you download or use only Powershell scripts from a reliable source!

To run unsigned PowerShell scripts from remote computers, you must change the PowerShell execution policy. To determine the current runtime policy setting, start a PowerShell window and type get-executionpolicy -list at the command prompt to identify the current runtime policy setting.

By default, Windows PowerShell is not configured to run scripts. You will notice this when the following error occurs: “Files cannot be loaded because scripts running on this system are disabled. Provide a valid certificate that you can use to sign the files. This error occurs because of a security measure that does not allow scripts to run on your system without your permission.

Fortunately, there is an easy way to fix this problem.

January 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


Steps to follow to run PowerShell scripts on Windows 10/7

  1. Click on Start and search for accessories.
  2. Now search for Windows Powershell, select Windows Power Shell.
  3. Select the powershell shortcut and right-click it, then click on the Run as administrator option. Click on Yes.
  4. To change the script execution policy, use the Set-ExecutionPolicy cmdlet.
  5. Type Set-ExecutionPolicy without restriction and press Enter on your keyboard.
  6. You will be asked if you want to change the script execution policy or not. Press Y on your keyboard.
  7. Then press Enter.
  8. The Windows Power Shell script is now enabled.

Set Policy to RemoteSigned

You can use the Set-ExecutionPolicy cmdlet to change PowerShell execution policies. To execute an external script, set the policy to RemoteSigned.

PS C:\> Set-ExecutionPolicy RemoteSigned (execution policy)

Below is a list of the four different PowerShell execution policies.

  • Restricted – No script can be executed.
  • AllSigned – Only scripts signed by a trusted editor can be executed.
  • RemoteSigned – Downloaded scripts must be signed by a trusted editor.
  • Unrestricted – All PowerShell scripts in Windows can be run.

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance