HomewindowsRunning Scripts is Disabled on This System?

Running Scripts is Disabled on This System?

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.

Fix Running Scripts Disabled on this System in PowerShell Windows 11 or 10

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.

Enable Running Scripts is disable on this system Powershell?

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

2 Set-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.

Vakula Devi
Vakula Devi
Vakula Devi is Senior technical content writer and expert in writing, editing, and fact-checking tech related content and writes about latest tech updates and fixes and how to articles.

- Advertisement -




Related Articles