How to Uninstall Windows PowerShell 1.0

Software

Having problems upgrading your old PowerShell 1.0 installation to the 2.0 CTP? The CTP won’t install until you’ve uninstalled all previous versions of PowerShell, but lots of people are having problems figuring out how to uninstall v1.0.

The official docs tell you to click on the “Show updates” checkbox in the Control Panel Add/Remove Programs applet, but that didn’t work for me. “Windows PowerShell 1.0″ (or any variation thereof) didn’t show up.

A google search led me to look for installed service packs in the %WINDOWS%\$NtUninstallKB* directories that has the “PSCustomUtil.exe” file in them. Then go to the child /spuninst/ directory and uninstall the KB that way. I got a ton of warnings saying I would nuke my system back to the Stone Age should I attempt the treasonous act of actually uninstalling a KB patch, but I – being the renegade that I am – went ahead and did it anyway.

My search picked up two KB packs: KB926139-v2 (Windows PowerShell 1.0), and KB926141 (Windows PowerShell MUI).

Once I uninstalled both, I was able to successfully install the PowerShell v2 CTP3.

Hope this helps you too.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Furl
  • Ma.gnolia
  • Reddit
  • TwitThis
10 Comments

10 Comments

  1. David  •  Jul 7, 2009 @11:10 am

    thank you. I could not install SQL Server Express 2008 until I had done what you outlined, as it apparently seemed to require a different version of powershell, which wouldn’t install until I had uninstalled the previous version…

  2. Fabio  •  Jul 8, 2009 @4:27 pm

    If you click to show patches the remove link will appear

  3. dzinks  •  Jul 16, 2009 @11:55 pm

    Yes, it true: “If you click to show patches the remove link will appear” It is at the end of list “Windows Xp – Software Update”

  4. Matt  •  Jul 31, 2009 @6:31 am

    Good info – thanks! It worked for me.

  5. DBeadle  •  Aug 7, 2009 @12:22 pm

    On Windows 2008, remove the feature from Server Manager\Features\Remove Features , select Windows PoweShell 1.0
    After this you may install Windows PowerShell 2.0

    :)
    -DB

  6. lux  •  Oct 22, 2009 @1:02 am

    Thanks for the info!! :)

  7. unyx  •  Feb 9, 2010 @5:06 am

    Hi,
    thanks for the tips, really usefull!

    (note : powershell symbol is displayed on the left of the kb name in the add/remove list instead of windows one, easier to find them)

  8. SteveH  •  Jun 15, 2010 @4:14 am

    Thanks for the help, the above Server Manager method worked perfectly.

    Had been chasing around other sites and suggestions wrt registry keys and hotfix numbers etc, but this was simple.

    Thanks!

  9. Rasmus  •  Aug 23, 2010 @9:28 pm

    There’s no such %windows% library for me. Means that i can’t uninstall powershield and install my windows 7 :(

  10. anthonyrstevens  •  Aug 24, 2010 @8:20 pm

    Hi Rasmus: %WINDOWS% is just a shorthand for your windows install directory. For most people, it’s C:\Windows.

Leave a Reply

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">