Running scripts is disabled on this system is a windows is a Microsoft windows PowerShell error is caused when you are trying to write or run PowerShell or running a bad script where you can encounter this error unable to run the script because running scripts are disabled on this system and you can easily fix this error by following few simple steps to fix this.
By default PowerShell is not enabled or configured to run scripts for the security reasons running scripts will be disabled if you get running scripts is disabled on this system you need to enable them to execute cannot be loaded and run scripts to resolve this issue.
Windows 10 fix Running Scripts Disabled on this System in PowerShell:
Step 1: Click on start menu and in search menu search windows PowerShell
Step 2: Open PowerShell Right Click and run as administrator.
Step 3: You will be prompted with PowerShell type Set-ExecutionPolicy RemoteSigned -Scope CurrentUser and press enter.
Step 4: Press Y key to Confirm since you are changing execution policy changes.
Step 5: Once this command executes you will be now able to run scripts successfully.
How to enable Running Scripts is disable on this system?
By performing above steps and running Set-ExecutionPolicy RemoteSigned -Scope CurrentUser command in windows 10 you will not be facing any issue and you will not be seeing error running scripts is disabled on the system
How to Set execution policy commands for running scripts is disabled in this system?
You can set easily by opening PowerShell and run the following below commands:
1 Set-ExecutionPolicy RemoteSigned -Scope CurrentUser and press enter
et-ExecutionPolicy RemoteSigned run the script and press enter.
3 set-executionpolicy unrestricted
By running above scripts you will be able to resolve the issue of running scripts disabled on your windows 10.