How to remove PowerShell 2.0 on Windows 10
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.
How to remove PowerShell 2.0 on Windows 10 Picture 1
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.
How to remove PowerShell 2.0 on Windows 10 Picture 3
+ 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.
How to remove PowerShell 2.0 on Windows 10 Picture 5
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.
How to remove PowerShell 2.0 on Windows 10 Picture 7
+ 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.
How to remove PowerShell 2.0 on Windows 10 Picture 9
+ 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.
How to remove PowerShell 2.0 on Windows 10 Picture 11
Step 4: Finally, restart your computer when possible for these changes to take effect - Windows PowerShell is completely disabled.
Conclude
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 !
You should read it
- How to use the command history function in Command Prompt
- How to open Command Prompt on Windows 10, 8, 7, Vista and XP
- Add Command Prompt to Power User Menu on Windows 10
- Instructions for using Command Prompt
- How to Customize the Font in Windows Command Prompt
- 6 Best Command Prompt Alternatives for Windows
- How to Make Command Prompt Appear at School
- How to add 'Open command window here as administrator' to the right-click menu on Windows 10
- Windows prompt
- How to Create a Custom Windows Command Prompt
- How to Open Folders in CMD
- How to Execute a Program in Command Prompt