There are other causes to this problem as well and that is why we have come up with an article which should help you solve this problem if you follow the methods carefully. Good luck!
What Causes the “Execution of scripts is disabled on this system” Error?
There aren’t many different causes to this problem and they often differ from one system to another. Still, they can be listed easily and you should see whether your problem can be categorized as some of the options below:
Solution 1: Run PowerShell as Administrator and Run a Command
There is a command in PowerShell which deals exactly with this problem and it can be solved in a matter of minutes. This includes actually changing the script execution policy from within the PowerShell window. Try it out and see for yourself!
Solution 2: Edit Group Policies
If the method above has failed to yield success, which often appears on newer versions of Windows such as Windows 10, you might need to change policies on a higher scope. This is the usual error message which appears after running the command from Solution 1: In order to solve the problem, you should head over to the Group Policy editor and change the setting from there immediately.
Solution 3: Change it in Windows 10 Settings
Windows 10 users can also change script settings in their Windows 10 Settings app, under the For developers section. Generally, this is the place where you should head for if the steps above have failed to produce any quality results in order to resolve the problem. Note that this can only be applied to users running Windows 10.
Solution 4: Resolve the Method Using the Registry
If the methods above have failed to solve your problem, the only thing left to do is to head over to the registry and change the settings manually at the highest scope possible. This method is pretty straight-forward but you should still be careful when editing the registry to make sure nothing goes wrong.
How to Fix ‘Running Scripts is Disabled on this System’ Error on Powershell?Batch Scripts on Windows 10: Making Life EasierHow to use Linux scripts to Tidy up Your Desktop in Windows 10How to Use AutoHotKey Scripts