Home Technology Uninstalling Windows PowerShell in Windows 10

Uninstalling Windows PowerShell in Windows 10

Category: Technology
September 11, 2023
2 years ago
3 min read
1.7K Views
Share this article:
"How to uninstall PowerShell in Windows 10? Learn how to uninstall Windows PowerShell from your Windows 10 system. This step-by-step guide provides instructions for safely removing PowerShell, along with considerations and reasons for doing so."
Uninstalling Windows PowerShell in Windows 10

How to uninstall PowerShell in Windows 10?

PowerShell is an integral part of the Windows operating system, and it cannot be uninstalled like regular software applications. However, you can disable or restrict its usage if you do not want to use it. Here's how you can do that:

Option 1: Disable Windows PowerShell:

  1. Open the Local Group Policy Editor: Press Win + R to open the Run dialog, type gpedit.msc, and press Enter.

  2. Navigate to the Restriction Policies: In the Local Group Policy Editor, go to User Configuration -> Administrative Templates -> System.

  3. Find and Open "Don't run specified Windows applications": Look for the policy named "Don't run specified Windows applications" and double-click it to open its properties.

  4. Configure the Policy: In the policy properties window, select the "Enabled" option. Then, click the "Show" button next to "List of disallowed applications."

  5. Add PowerShell to the List: In the "Show Contents" dialog that appears, add "powershell.exe" (without quotes) to the list of disallowed applications.

  6. Apply Changes: Click OK to close the dialog and then click OK to apply the policy.

  7. Restart Your Computer: To enforce the policy, you may need to restart your computer.

This will effectively disable Windows PowerShell for your user account.

Option 2: Remove PowerShell from the Start Menu:

If you want to remove the Windows PowerShell shortcuts from the Start Menu, you can do the following:

  1. Right-click on the Start button and select "Windows Terminal (Admin)" or "Windows PowerShell (Admin)" to open PowerShell with administrator privileges.

  2. Run the following command to remove PowerShell from the Start Menu:

    Remove-Item -Path "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell" -Recurse
    
  3. Run the following command to remove Windows PowerShell from the All Apps list:

    Remove-AppxPackage Microsoft.WindowsPowerShell*
    

Please note that while you can restrict or remove access to Windows PowerShell, it's a powerful administrative tool, and altering its functionality or removing it entirely may impact certain system functions or configurations. Be cautious when making such changes, especially if you are not familiar with PowerShell's role in Windows administration.

About the Author

People also ask

Comments (0)

Leave a Comment

Stay Updated on the Topics You Care About

Get the latest education guides and insights delivered straight to your inbox every week.

We respect your privacy. Unsubscribe at any time.

Operation successful