4 ways to install or uninstall PowerShell in Windows 10

Windows 10 comes with a powerful command-line application that allows you to perform many different tasks efficiently. This application is really helpful but for some users, it might be useless who don’t know or have not interested in operating the command line activity. In this post, you will learn four different methods to install or uninstall PowerShell in Windows 10.

Solutions to install or uninstall PowerShell

To install or uninstall PowerShell in Windows 10, you can use the following methods:

1] Disable PowerShell using Group Policy

If you’re using Pro or Enterprise version on Windows 10, use the below steps to disable the PowerShell app:
Disable PowerShell using Group Policy

1. Click on Start, type gpedit.msc, and press Enter.

2. Inside the Local Group Policy Editor window, go to the path below:

User Configuration > Administrative Templates > System

3. On the right side, double click on the Don’t run specified Windows applications policy.

4. Next, mark the Enabled checkbox then go to the Options sections and select the Show button.

5. Now open a new cell in the Value column, type powershell.exe.

6. Then click OK to disable the PowerShell access.

7. If you want to disable the PowerShell ISE interface, type powershell_ise.exe in the new cell and hit OK.

8. Click Apply > OK to save the changes.

Once you complete the above process, you will not be able to access Powershell anymore.

2] Disable the PowerShell app using Control Panel

To remove Windows PowerShell using Control Panel in Windows 10, use the following steps:

1. Click on Start, type control panel, and press Enter.

2. Inside the Control Panel window, click the Programs and Features option.

How to Uninstall PowerShell in Windows 10

3. On the next page, go to the left and click the Turn Windows features on or off option.

4. Next, scroll down and find Windows PowerShell 2.0. Once you find it, untick the checkbox next to it.

5. Now click the OK button to disable the PowerShell app on your computer.

3] Uninstall PowerShell via Settings

To remove Windows PowerShell using the Settings app, you can use the following instructions:

1. First of all, open right-click on Start to open the WinX menu

2. Select Apps & Features from the menu list.

2. Under Apps & features, click on Optional features.

Remove PowerShell in Windows 10

3. On the next page, scroll down to Windows PowerShell Integrated Scripting Environment (ISE) and select it.

4. Now click on the Uninstall button to remove the PowerShell app in Windows 10.

5. If you want to add it back, click on the Add a feature option on the same page.

6. Select Windows PowerShell Integrated Scripting Environment from the list and then install it.

4] Uninstall Windows PowerShell with CMD

The next way to uninstall PowerShell in Windows 10 is using the command prompt. So, if you prefer a CUI environment then this method is for you. Follow the below steps to proceed:
Disable PowerShell using command prompt

1. Run Command Prompt as Administrator.

2. Once it opens, copy and paste the below commands and press enter. This will check if the PowerShell app is enabled or disabled on your computer.

DISM /online /get-features /format:table | find “MicrosoftWindowsPowerShellV2Root”

4. If you find it enabled, run the below command to disable the PowerShell:

DISM /online /Disable-Feature /FeatureName:”MicrosoftWindowsPowerShellV2Root”

5. If you want to enable the PowerShell window on your computer, run the below command:

DISM /online /Enable-Feature /FeatureName:”MicrosoftWindowsPowerShellV2Root”