Automating the world one-liner at a time…
Because of the nature of the Windows Service pack (SP) releases, all the windows updates are consumed by SP upgrade. So once you upgrade to a new SP all the updates that were installed earlier cannot be uninstalled. Since Windows PowerShell is released as an update to Windows, upgrading to W2k3 SP2 will remove the powershell uninstaller and you cannot uninstall PowerShell directly.
Windows update technology do not support out of order uninstalls ie.,
1. Install Update A + Install Update B + Install Update C.
2. To uninstall Update A, the supported way to uninstall A is -> Uninstall C + Uninstall B then Uninstall A.
Since W2K3 SP2 is an update to W2K3 SP1, if you install Powershell on W2K3 SP1 and upgrade to W2K3 SP2, to uninstall PowerShell you first have to uninstall W2K3 SP2.
I just want to let you all know of this Windows Update behaviour.
Windows PowerShell Development
This posting is provided "AS IS" and confers no rights or warranties.
Update: PowerShell uninstaller is present on disk after upgrading to W2K3-SP2 at %windir%\$ntuninstallkb926139$\spuninstall\spuninstall.exe. Windows update technology do not support out of order uninstalls, see "Removing Windows software updates in the wrong order may cause the operating system to stop functioning" (http://support.microsoft.com/kb/823836/en-us).
Thanks to freakin' PowerShell, I better get a new box and do a clean install before wasting my time like so many others....
To Upgrade from server 2003 to Server 2008 doing the following worked fine for me:
Select the "Show updates" check-box at the top in Add/Remove programs and looks for KB926139 (or the one you installed) with PowerShell
The windows world tango; 1 step forward, TEN STEP BACKWARDS.
Fricking unbelieveable how screwed up Microsoft can get things.
So, I talk everyone into using Powershell, MS's long overdue shell language. I schedule all this downtime for an upgrade to SP2. NOW, I have to tell users there will be another downtime just to uninstall SP2 so I can uninstall Powershell.
Give me a break!! Is everyone hired right out of college with no work experience?
Get a clue.....
I am a new user to windows server 2003 and my task is to create a profile server?can someone help me
I may be late but I have windows 2003 x64 with Exchange Server 2007 installed. I want to upgrade to Windows Server 2008 so I followed all the directions but nothing worked for me either due to powershell. I found it you need to unistall Windows Management Framework Core. Then I was able to upgrade to Windows Server 2008. Hope this helps someone else.
I just ran in to the PowerShell issue trying to upgrade Server 2003 SP2 to Server 2008 SP2. After searching for quite a while I ran in this post, and tried what TWRLC suggested. I uninstalled the Windows Management Framework Core, and the upgrade is now beginning. Great find TWRLC!
Thanks to TWRLC hours of searching for a solution have ended. For the MS guys reading this, most people cannot uninstall PS even if you select show updates, as the entires for KB926139, 40, or 41 DO NOT exist (on my 6 DCs they weren't listed). You guys need to correct your horrible standards and update your knowledge base. It's unacceptable that you cannot upgrade an OS because of a small utility.
Trying to upgrade Windows 2003 SP2 to Windows 2008.
Trying to use the TimeLog options to uninstall the updates in the "Microsoft"-way (last in, first out) but this gives me warnings about updates/applications that might not work after uninstalling the update.
Trying to find some answers at the Microsoft site but still no working uninstall options found.
We didn't ask for Powershell when we've upgraded to Service Pack 2 on Windows 2003.
And now we can't upgrade our Windows 2003 servers to Windows 2008, as much as Microsoft advices us to do around the globe.
Will anyone of Microsoft will come up with a solution for this ... I'm wondering...
I would like to install WinXP SP3 but my MS Windows Upgrade Advisor says:
"Microsoft Windows XP Service Pack 3 Setup has been canceled because XP SP3 cannot be installed over Windows PowerShell (TM) 1.0. Before you can continue, you must Uninstall Windows PowerShell (TM) 1.0. For More information support.microsoft.com/.../926139 "
I went into Add or Remove Programs and clicked "Show updates" but this is not listed. Nor could I find anything w/ KB926139;
How do I get rid of this program so I can go to SP3?
The only method that worked for me was to simply remove c:\Windows\System32\WindowsPowerShell.
None of the KB's were listed in add-remove, showing all including updates. Removing SP2 had no effect. Removing tons of random KB's had no effect. In the end I rolled back my snapshot to before I did any work, removed the PS directory, and shizam the upgrade proceeded.
TWRLC's solution had it right for me too. Server 2003 with SP2 x86 trying to upgrade to server 2008 x86 - no powershell in the add/remove programs list, and none of the KB hotfixes were there either. Spent until my eyes were crossed looking for them, but they weren't there. The Windows Management Framework Core was there in the list, though, and after removing that, my upgrade is proceeding smoothly.