jump to navigation

Howto: Uninstall Powershell 1.0 February 16, 2008

Posted by Mayank in powershell.
Tags: ,
trackback

When you try to install Powershell 2.0, you are prompted to uninstall other versions of Powershells before going ahead with the installation. But neither does powershell appear in Add/Remove programs nor is there an uninstall shortcut in the programs menu.

To uninstall powershell 1.0 run add/remove programs (appwiz.cpl from Win+R) and click the “show updates” checkbox. Powershell will now be shown. It can be removed by clicking on remove :-).

Enjoyyy!!!

About these ads

Comments»

1. Clyde Franklin - March 16, 2008

Been there done that but what if it doesn’t show?

Any ideas?

2. Mayank - March 19, 2008

did you install powershell using the installer?

3. Ferrari - May 3, 2008

I just wonder how to uninstall powershell 1.0
Thanks ^^

4. Nudyk - August 28, 2008

http://www.myitforum.com/articles/40/view.asp?id=10041

VBS Script:
Set objShell = CreateObject(“WScript.Shell”)
objShell.Run “C:\Windows\$NtUninstallKB926139$\spuninst\spuninst.exe”
WScript.Quit

5. Kurtosis - September 2, 2008

Thank you!

6. Mark Stouffer - September 14, 2008

The posting doesn’t say it but it shows up in “Windows XP – Software Updates”, probably down near the bottom of the updates. I was looking just under “P” for Powershell or “Windows Powershell” but it’s under Windows XP just FYI.

7. Subbu - October 25, 2008

The entry for PowerShell is displayed as “Hotfix for Windows Server 2003 (KB926139)” in Windows 2003 Server. It should be something very similar in other OS too.

Bill Lang - July 16, 2009

Thanks, confused the hell out of me till I saw this.

Bill L.

8. Michael - November 24, 2008

Ok so it depends on the uninstall files under c:\windows. So how do you uninstall it then if you’ve deleted the uninstall files to recover some disk space??

9. Michael - November 24, 2008

Just to answer my own question – I managed to uninstall it by installing it to another PC, copying the C:\Windows\$NtUninstallKB926139$ to the problem PC, then running C:\Windows\$NtUninstallKB926139$\spuninst\spuninst.exe.

10. a2n - January 13, 2009

I’m so lazy to choice the exact item in prolixity items, so just done with below command:

%windir%\\$NtUninstallKB926139$\spuninst\spuninst.exe /quiet /passive

No responses at final.

11. Dinesh Bhat - June 10, 2009

Thanks! That helped.

12. Joey - June 28, 2009

THANKS!!!!

13. Ben - July 6, 2009

Thanks! (Found via Google “uninstall powershell”)

14. TheJackal - July 8, 2009

Wullshit!!!

It’s gone from Install menu but is still active on HDD. in system32\Powershell

It just wont leave… Just like Search Assistant.

15. Denise Beadle - August 8, 2009

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

16. Tim - October 20, 2009

Thank you, found this via Google too.

17. Roger - November 7, 2009

I tried to uninstall version 1 (thanks for the above tip), but it said it showed a list of programs that could be impacted, and I am afraid to risk it.

I am wanting to install a later version because many of the examples that I find fail for me with syntax errors, etc.

18. gonggoitem - December 11, 2009

hallo!

19. Klaus - January 5, 2010

Thanks too. found this via Google too.

20. Florentino - January 13, 2010

comment 9 from Michael – worked great..thank you

21. Michele - January 27, 2010

Thanks!!!

22. Jeremy - March 17, 2010

Thank you.

23. lizaoreo - April 22, 2010

I’d like to note that you can also get around this by deleting the registry key for PowerShell under:
HKLM\software\microsoft\powershell

Just delete that PowerShell key and it should install fine (back it up first of course).

24. fritz - April 29, 2010

@lizaoreo
thank you very much for this tip!

25. Jo - May 4, 2010

This is really hard to find, since there are hundreds of entries under “Windows updates”, none of them sorted alphabetically, really poor :(

26. lizaoreo - May 4, 2010

@fritz
No prob :-)

@Jo
Yeah, that was my problem. It turns out it wasn’t there, the uninstall information had been deleted. That’s why I ended up killing the registry entry.

27. bkworm - May 21, 2010

why I am unable to install Windows6.0-KB968930-x86.msu – I am using Vista
It said: “The updates does not apply to your system” Please help..

28. bkworm - May 21, 2010

why I am unable to install Windows6.0-KB968930-x86.msu – I am using Vista
It said: “The updates does not apply to your system” Please help..

I have the version 1, but I have uninstalled it in order to let the version 2 to be installed

29. TEC-Commodities - October 3, 2010

Windows XP
Click Start, click Run, type appwiz.cpl, and then click OK.
Click to select the Show updates check box.
In the Currently installed programs and updates list, click Windows PowerShell(TM) 1.0, and then click Remove.
Follow the instructions to uninstall Windows PowerShell 1.0.

30. TEC-Commodities - October 3, 2010

How to uninstall Windows PowerShell 1.0
To uninstall Windows PowerShell 1.0, follow the steps that are appropriate to your operating system.
Windows Vista
Click Start, type appwiz.cpl in the Start Search box, and then press ENTER.
In the list of tasks, click View Installed Updates.
In the Uninstall an update list, right-click Windows PowerShell(TM) 1.0 (KB928439), and then click Uninstall.
Follow the instructions to uninstall Windows PowerShell 1.0.

Note If you disable Windows PowerShell by using the Turn Windows Features on or off option, this does not satisfy the Compatibility Check process. You must uninstall Windows PowerShell.
Windows Server 2003
Click Start, click Run, type appwiz.cpl, and then click OK.
Click to select the Show updates check box.
In the Currently installed programs and updates list, find the entry for the hotfix that installed Windows PowerShell 1.0. Depending on the installation package that was used, this entry resembles one of the following:
Hotfix for Windows Server 2003 (KB926139)
Hotfix for Windows Server 2003 (KB926140)
Hotfix for Windows Server 2003 (KB926141)
Click the Windows PowerShell hotfix entry, and then click Remove.
Follow the instructions to uninstall the hotfix for Windows PowerShell 1.0.
Note By default, if Windows Server 2003 Service Pack 2 is installed on the system, PowerShell 1.0 cannot be uninstalled. To resolve this issue, follow these steps:
Follow the steps in the following Microsoft Knowledge Base (KB) article, 931941, to trust Windows PowerShell 1.0 that was introduced in KB926139:
931941 (http://support.microsoft.com/kb/931941/ ) The Oobmig.exe tool is available to restore trust to out-of-band updates after you install Windows Server 2003 Service Pack 2
Note You may have to restart the computer.
Check whether the update can be uninstalled by using Control Panel. If the update cannot be uninstalled in this manner, uninstall PowerShell manually from the following location:
C:\WINNT\$NtUninstallKB926139$\spuninst\spuninst.exe
Note You may have to restart the computer.
Windows XP
Click Start, click Run, type appwiz.cpl, and then click OK.
Click to select the Show updates check box.
In the Currently installed programs and updates list, click Windows PowerShell(TM) 1.0, and then click Remove.
Follow the instructions to uninstall Windows PowerShell 1.0.

31. BaseTriumph - October 21, 2010

I have managed to remove it and installed version 2!

Here is the guide if any of you interested:

http://ali-portfolio.com/blog/?p=20

32. watson - November 13, 2010

Thanks

33. Chelle - February 8, 2011

Ahhhhh ha! The one thing that NOBODY else had in their forum about uninstalling Windows Powershell is you have to click on updates after you open your programs for uninstall. BINGOOO!!!!!! Thank you thank you thank you!

34. Wanda - March 19, 2011

i HAVE POwershell downloaded, and followed TEC commodoties instructions, however, now I dont see it there? Is this strange.. it still shows as a program on my computer!

35. lizaoreo - March 19, 2011

@Wanda Have you tried what I did by removing the registry entries? When I went in to uninstall it, it wouldn’t show up, after killing the reg entries for v1 it installed v2 no prob.

36. theDRaKKaR - May 1, 2011

Lizaoreo method works :-) but is better to install and then suddenly to remove PS 1 before to install PS 2

37. Pedro - May 12, 2011

Greetings, there happened the same and what they have to do is something very simple is to uninstall the Windows Update Core Management Framework, which appears after upgrading to Windows Server 2003 SP2 and R2

38. equazcionuazcion - June 28, 2011

None of these suggestions worked for me.

What did work is so simple you probably wouldn’t think of it:

Navigate to:
C:\Windows\System32\WindowsPowerSell\

Delete the whole WindowsPowerShell folder. (If you’re the cautious type, back it up somewhere first just in case).

Server 2008 compatibility check passed after that.

MJM - July 14, 2011

Good idea – and it worked for me as well.

Diko - February 16, 2012

All my attempts were unsuccessful except this last as from 38. equazcionuazcion – June 28, 2011. It worked.

Thanks!

39. Seth - July 11, 2011

I can find windows powershell with the search, but when I click delete it says it is in use and cannot be deleted. It does not show up in the list of updates at all, nor does the update number it supposedly came in with. Do I have to systematically check each of about 40-60 updates and the 1000s of items that came in with each to get this pest out of my system so I can run a repair download of XP again? Will windows 7 load over this or will it do the same thing too? The attempt to load a repair XP with this still in the system was a disaster. I have XP on a smaller disc drive and may just start over and move photos and programs across on an external drive or DVD ROMs for the pictures which I’d prefer to have on DVD anyway as well as on a drive. CD ROM and DVD ROM materials and quality varies so wildly who knows how long they are good for anyway. I wish someone with a better OS would come along and put MS in the corporate grave yard with Edsel where they belong. (preferably in Bill Gates’ lifetime)

40. Johnny_1965 - August 23, 2011

equazcionuazcion – Thanks for that suggestion. Yes it was too simple but it worked for me too. Awesome.

41. sammySam - September 19, 2011

thanks, basetriumph! this worked!

http://ali-portfolio.com/blog/?p=20

if anyone interested, they can check the above link

42. Steve - October 13, 2011

Vista Home Premium SP2
To delete the directory C:\Windows\System32\WindowsPowerShell I had to give my user Full Control. After that I was able to delete the folder and the Windows Repairs was able to get past the Compatibility Check

43. Richard - August 14, 2012

Many thanks for post #38. It’s the only solution that worked to allow me to upgrade my XP box to Vista

44. André - December 11, 2012

Yes thanks, post #38 is the only option working for me as well upgrading Server 2003 to Server 2008.

45. Adrian S. - January 24, 2013

I stumbled across this posting when trying to figure it out for some reason #38 didn’t work for me. I restored the folder and what I ended up doing was copying the $NtUninstallKB926139-v2$ (or v1) directory from another machine and run the uninstaller. It worked for me just after that.

46. Tiago Neiva - January 27, 2013

I had no uninstall, because I cleaned the uninstall dirs.

I used a mixed aproach:
-deleted the powershell key in the reg
-deleted the KB926139 keys in the reg
-deleted the powershell folder in system32
-reinstalled powershell 1.0 (KB926139-v2)
-uninstalled powershell 1.0 (C:\WINDOWS\$NtUninstallKB926139-v2$\spuninst\spuninst.exe)

backup before deleting reg keys and files !

thx for the above posts!

47. Darin - March 28, 2013

You made some good points there. I checked on the internet for additional information about
the issue and found most people will go along with
your views on this website.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: