Error "Running Scripts Is Disabled On This System"
If you are getting an error message that says "Running scripts is disabled on this system
", it means that your system has security policies that prevent the execution of scripts.
To resolve this issue, you need to change the PowerShell execution policy to remotesigned.
Step 1: Run powershell as administrator
Open the Start Menu on Windows and search for powershell and right-click on it. Click on “run as administrator”.
Step 2: Set the execution policy to remotesigned
Type the following command in the PowerShell window to set the execution policy to remotesigned:
set-executionpolicy remotesigned
You will be prompted to accept the change, type A (Yes to all), and press ENTER on your keyboard.
Step 3: Run the script again that triggered the error
Go back to the PowerShell Window where you got the error. Run the command again that triggered the error. Now you will not get any error message.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.
Don't forget to share this article! Help us spread the word by clicking the share button below.
We appreciate your support and are committed to providing you valuable and informative content.
We are thankful for your never ending support.