How to completely disable PowerShell 2.0 in Windows 10

Unless you really need PowerShell 2.0, you shouldn't turn it off completely. Follow the steps below to completely disable PowerShell 2.0 in Windows 10.

Microsoft is pushing most people to use PowerShell instead of the old Command Prompt. The main reason is that PowerShell is much more feature-rich and powerful than the regular Command Prompt.

  1. How are Command Prompt (cmd) and PowerShell different?

By default, any user can launch and use PowerShell directly from the Command Prompt or from File Explorer. Overall, PowerShell has different versions. As of the time of writing, PowerShell v5 is the latest version.

However, for compatibility reasons, Windows still activates the old PowerShell 2.0. As an older version, PowerShell 2.0 is deprecated and is even considered a security risk.

So, unless you really need PowerShell 2.0, you shouldn't turn it off completely. Follow the steps below to completely disable PowerShell 2.0 in Windows 10.

Disable PowerShell 2.0 with the command

Using a simple PowerShell command, you can easily disable PowerShell 2.0 in Windows 10.

1. First, open the Start menu, search for "PowerShell" , right-click on the result and select the option "Run as administrator" . This action will open the PowerShell window with admin rights.

2. In this window, execute the following command (copy and paste the command, then press the Enter button).

As soon as you execute the command, PowerShell 2.0 will be disabled immediately.

How to completely disable PowerShell 2.0 in Windows 10 Picture 1How to completely disable PowerShell 2.0 in Windows 10 Picture 1
Disable PowerShell 2.0 with the command

If you want to reactivate PowerShell 2.0, execute the command below. As you can see from the command, all you need to do is replace "Disable" with "Enable" .

 Enable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root 

Disable PowerShell 2.0 through Windows Features

Because PowerShell 2.0 is an unpopular feature, it is enabled as an optional feature. That means you can disable it from Windows Features. This method is especially useful if you do not want to have to use PowerShell commands.

1. First, open the Start menu, search for "Turn Windows features on or off" and click the result to open Windows Features.

2. In this window, scroll down until you see the "Windows PowerShell 2.0" option . Deselect the corresponding checkbox and click the OK button to save the changes.

How to completely disable PowerShell 2.0 in Windows 10 Picture 2How to completely disable PowerShell 2.0 in Windows 10 Picture 2
Find the "Windows PowerShell 2.0" option

3. As soon as you click the OK button, Windows will make the necessary changes. Once completed, just click the Close button and you're done.

How to completely disable PowerShell 2.0 in Windows 10 Picture 3How to completely disable PowerShell 2.0 in Windows 10 Picture 3
Windows will make the necessary changes

If you want to turn PowerShell 2.0 back on, follow the same steps but select the corresponding checkbox in step 2.

Please note that we only disable PowerShell 2.0 no longer used, and PowerShell is normally enabled.

4 ★ | 48 Vote