How to Uninstall PowerShell v1.0

Anonymous
2021-01-15T20:39:00+00:00

I am currently running PowerShell 7.1.0. However, I still have PowerShell v1.0 installed at C:\Windows\System32\WindowsPowerShell\v1.0 and I don't see an uninstall program.

I am currently running Win10 v2004 (OS Build 21292.1000). When I run appwiz. cpl only PowerShell 7-x64 is listed. How do I remove v1.0?

Thanks

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Martmcd 19,915 Reputation points Independent Advisor
    2021-01-15T21:28:24+00:00

    as you are running powershell 7.

    click start, type turn windows features on or off

    you may see an entry for the earlier version of windows powershell

    uncheck it and click Ok

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Martmcd 19,915 Reputation points Independent Advisor
    2021-01-15T21:20:39+00:00

    Hi PaulTruzzi

    you don't have version one installed, that is just the name of the folder.

    if you open the subfolder and hover the mouse over the powershell.exe file you will see that the file is not version 1.

    the c:\windows\system32\windowspowershell folder is best left alone.

    0 comments No comments
  2. Anonymous
    2021-01-16T03:11:01+00:00

    @Martmcd,

    You are kind of right, when I launch powershell.exe from C:\Windows\System32\WindowsPowerShell\v1.0

    PS C:\Windows\System32\WindowsPowerShell\v1.0> Get-Host | Select-Object Version

    Version


    5.1.21292.1000

    PS C:\Windows\System32\WindowsPowerShell\v1.0> $PSVersionTable

    Name                           Value

    ----                           -----

    PSVersion                      5.1.21292.1000

    PSEdition                      Desktop

    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

    BuildVersion                   10.0.21292.1000

    CLRVersion                     4.0.30319.42000

    WSManStackVersion              3.0

    PSRemotingProtocolVersion      2.3

    SerializationVersion           1.1.0.1

    It says I'm running 5.1.2... although it is installed in the v1.0 folder. That just makes it worse, I don't have a v 5 uninstall option and **** who thought it was a good idea to put v5 in a folder that says v1.0?

    0 comments No comments
  3. Anonymous
    2021-01-16T03:22:47+00:00

    as you are running powershell 7.

    click start, type turn windows features on or off

    you may see an entry for the earlier version of windows powershell

    uncheck it and click Ok

    When I open Windows Features I do see that  I have a Windows PowerShell 2.0 & the Engine.

    I unchecked both although now I'm more confused. The folder says it is v1.0, the program when launched says v5.1 and Windows Features says it is 2.0.

    After it said it applied the change;

    • The folder: C:\Windows\System32\WindowsPowerShell\v1.0 still exists with its 1,248 files (253 MB).
    • Settings > Apps & features still only lists PowerShell 7-x64 as a program that can be removed.
    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2021-01-16T03:37:07+00:00

    Here are two ways to find out which version of PowerShell you have. There are probably other ways. Both require you to open PowerShell as an Administrator

    1- Type: Get-Host | Select-Object Version

    Then press Enter.

    2- Type: $PSVersionTable

    Then press Enter.

    I'm trying to understand why you feel the need to uninstall an older version of PowerShell. Are your scripts not running?

    1 person found this answer helpful.
    0 comments No comments