Grab our RSS feeds Follow us on Twitter Join our Facebook Group Connect with us on LinkedIn, Powered by You.
you are not logged in





Site Services

Community Forums

Discussion Lists

Article Search


Web Blogs


Live Support

myITforum TV

Take a Poll

Monthly Drawing

myITforum Network

User Group Directory

Our Partners

About Us





Industry News:

  Home : Articles : MOM print | email | | Forums |   print | email | | Blogs |   print | email | | Wiki |   print | email | | FAQs |   print | email | Article Search  
Uninstalling Windows PowerShell 1.0 Workaround

Bookmark and Share

By: Don Hite
Posted On: 4/10/2007

This article was Previously posted on Don Hite's Blog

Recently I read Greg Ramsey's article entitled "Running PowerShell in Server 2003?" in which he stated: “Basically, Windows PowerShell is released as an update to Windows, so installing Windows Server 2003 SP2 will remove the uninstaller for the PowerShell update.” So I decided to find a workaround for the issue and post it for others to use.

I searched the Uninstall registry on my workstation and found the PowerShell uninstall command registry key C:\\Windows\\$NtUninstallKb926139$\\Spuninst\\Spuninst.Exe located here:

HKLM\Software\Microsoft\Updates\Windows PowerShell 1.0\Sp3\Kb926139

Because as Greg noted the uninstaller for this is not listed in the Add and Remove programs you cannot remove the application with the uninstaller however you can still remove the application without the need to use the uninstaller by taking the UninstallCommand and remove the registries doubled back slashes and uninstall it using the command line as:


If you have installed Windows PowerShell (KB926139) for Windows Server 2003 Service Pack 1 or for Windows XP Service Pack 2 you can use this VBS script as opposed to using the command prompt to start the uninstall process.

VBS Script:

Set objShell = CreateObject("WScript.Shell")
objShell.Run "C:\Windows\$NtUninstallKB926139$\spuninst\spuninst.exe"
WScript.Quit ©2010 | Legal | Privacy