How 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.
- 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.

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.

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.

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.
You should read it
- Steps to disable PowerShell in Windows 10
- Use PowerShell to download any file on Windows 10
- Instructions on how to use PowerShell in Windows Server 2012
- PowerShell command in Windows
- What to do when Windows can't find PowerShell?
- How to check PowerShell version in Windows 10
- How to use PowerShell's default parameter to change the command behavior
- What is PowerShell Basic commands in PowerShell
May be interested
- How to manage disk space for Windows Backup in Windows 10while you can use backup and restore (windows 7) to restore every backup of windows 7 on a windows 10 pc, you can also use it to backup and restore files on your own windows 10 pc.
- How to Back Up a Windows Computerthis wikihow teaches you how to back up the data on your windows 10 computer to another location. connect another hard drive or flash drive to the computer. this method will help you back up your personal files and folders to another...
- How to Disable Suggested Apps from Start Menu in Windows 10microsoft will display 'suggested apps' ads in your windows 10 start menu, and it may start to become annoying for you - however there is a way to turn them off. this wikihow article will teach you how to turn off 'suggested apps' ads in...
- How to Log Into the Microsoft Storethe microsoft store is an online marketplace where you can buy everything microsoft and more. if you have windows 10, you have the microsoft store app that you can use to get other apps. you can also use a web browser on any computer to...
- How to Choose Between Windows 10 Home and Prothis article is part of a new format experiment! please don't tag. if you're shopping for a new pc, you've probably noticed two different versions of windows 10: home and pro. at first glance, they appear identical, as both share the same...
- How to Fix the Windows 10 Taskbarin an update from windows, the taskbar was given more functionality. but this also created bugs, like the taskbar not hiding and the search bar not working. this wikihow will show you how to fix the taskbar in windows 10 by restarting...