How to remove PowerShell 2.0 on Windows 10
How to disable PowerShell 2.0 on Windows 10? Instructions on how to remove Windows PowerShell 2.0 on Windows 10 safely and quickly
Already a Windows user, you will certainly not be unfamiliar with the Command Prompt or we still call the CMD window - a familiar tool.
But it is possible that many of you still do not know on Windows operating systems - specifically Windows 10 - there is another command-line tool - Windows PowrShell , which is fully functional and even. even stronger than its predecessor, CMD.
Despite this power, Windows PowerShell is rarely chosen by general users because its usage is quite difficult - I mean, the command lines, difficult to remember.
So if you don't really need Windows PowerShell, I think you should turn it off! And of course in this article I will guide you how to uninstall Windows PowerShell simply and safely on Windows 10.
Why uninstall Windows PowerShell?
Say a little more about removing Windows PowerShell from Windows 10, besides the reason not to use it, there is another main problem, which is:
PowerShell on Windows 10 is version 2.0 by default - this version is quite old, is no longer used much and may even have many security holes compared to the latest version, Windows PowerShell 7.xx
Although Windows PowerShell is very powerful and Microsoft also encourages users to use PowerShell instead of CMD, using the built-in PowerShell is not recommended.
To uninstall Windows 10, we have two ways - it's just one, but there are two different types of implementation for you to choose from, let's take a look at each one below!
How to completely disable PowerShell on Windows 10
1. Use the command line in Windows PowerShell
I think this is the easiest way for you guys, just copy the available command line and run it in Windows PowerShell window.
+ Step 1: First, open PowerShell as Administrator by entering the keyword PowerShell into the Windows search box (Windows + S) => and right-click on the first result as shown in the picture.
In addition, if you have not turned off the Replace Command Prompt with Windows PowerShell . option in the Windows Taskbar settings, you can quickly open it by pressing Windows + X => and selecting PowerShell in the menu that appears.
+ Step 2: Then copy this command line => then paste it in the window PowerShell => and finally press Enter to execute the command, that's it:
Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root
Immediately after, PowerShell will be immediately disabled and you will get the results as shown in the screen. Now restart your computer when possible for the changes to take effect.
2. Use Program and Features - Windows Features of Windows 10
Programs and Futures is a feature or rather an option located in the Windows Control Panel.
It has been around since the legendary version of Windows XP and the main task of this tool is to help users remove applications that we install from the outside.
Windows Features is a component of Programs and Features, it helps you enable special Windows features such as .NET Framework, Hyper-V, Windows Subsytem for Linux (WSL) or Windows Sandbox and of course PowerShell. 2.0 on Windows 10 too.
+ Step 1: To open Windows Features, normally you will go to Control Panel => go to Programs and Features and then go to Features.
But now I will show you a faster way to open Programs And Features, just enter the command appwiz.cpl in the RUN dialog box (Windows + R) => and click OK and you're done.
+ Step 2: In this Programs and Features window, click on the line Turn Windows Features on or off in the left column to open the Windows Features window on Windows 10.
In addition, you can also quickly open this window by entering the keyword PowerShell into the Windows search box and selecting the appropriate results.
+ Step 3: Here, please scroll to the bottom of the list => then find and remove all traces in Windows PowerShell 2.0.
=> Then click OK to confirm disabling and remember to wait a moment for the system to remove PowerShell from Windows 10.
Step 4: Finally, restart your computer when possible for these changes to take effect - Windows PowerShell is completely disabled.
Yes, so I have finished showing you how to completely disable PowerShell 2.0 on Windows 10 - help lighten Windows, as well as minimize the risk of security holes for this operating system.
Hopefully this article will be useful for you. Good luck !
- Instructions on how to use PowerShell in Windows Server 2012
- How to add 'Open PowerShell window here as administrator' to the right-click menu on Windows 10
- Use PowerShell to download any file on Windows 10
- PowerShell command in Windows
- How are Command Prompt (cmd) and PowerShell different?
- How to use PowerShell's default parameter to change the command behavior
- 10 PowerShell commands help you manage the remote computer most effectively
- What is PowerShell Basic commands in PowerShell
- How to add the Open Powershell Here option to the context menu on Windows
- 10 useful basic PowerShell commands for Windows