Powershell error when running scripts – scripts disabled

powershell

If you are trying to run a Powershell script, you may find sometimes that you get this following error message:

Cannot be loaded because the execution of scripts is disabled on this system.

There is a very simple fix for this, all you have to do is ensure that you run your Powershell program as administrator to give it elevated rights and then run the command below:

set-executionpolicy remotesigned

Then re-run your Powershell script and you should find that it will now run correctly.

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 113 other subscribers

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.

About A.J. Armstrong

Founder of TechyGeeksHome and Head Editor for over eight years! IT expert in multiple areas for over 20 years. Sharing experience and knowledge whenever possible! Making IT Happen.

View all posts by A.J. Armstrong

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.