Welcome to MSDN Blogs Sign in | Join | Help

Windows Server 2003 SP2 upgrade

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.

Krishna Vutukuri[MSFT] 

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).

Published Monday, March 19, 2007 7:29 PM by PowerShellTeam
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Windows PowerShell and Windows Server 2003 SP2

Saw this on the Windows PowerShell blog:Since W2K3 SP2 is an update to W2K3 SP1, if you install Powershell...

# re: Windows Server 2003 SP2 upgrade

Are we going to be able to upgrade PowerShell in the future? (With previous upgrades we had to uninstall PowerShell before installing the new release).

Or is it better to uninstall PowerShell before the upgrade to SP2 and then reinstall it after the upgrade?

Thanks, Ofer

Tuesday, March 20, 2007 6:39 AM by Ofer

# re: Windows Server 2003 SP2 upgrade

That put's a huge damper on PowerShell.  Currious on why it is an upgrade to Windows as apposed to using .NET Framework for it?  Also, why is it not included in Service Packs rather than having it as a seperate install?

Also lastly, Feature Request:

Is there a way to add right click functuality? For example say you are creating a new windows user account.  I would like to have the ability to right click there and generate script.

The Script will know that you are doing that task and allow you to create a script for task so that you can later include it do do 1000 user additions in the same way via script?  

It would be similar to SQL 2005 where you could right click on a specific task, say you wanted to create a new database...  you can right click choose tasks Generate Scripts, or Script Database as.  That type of thing, but with General Windows Specific Tasks instead of with SQL Server.

Thanks!

Tuesday, March 20, 2007 1:39 PM by Todd

# re: Windows Server 2003 SP2 upgrade

Yes you will be able to upgrade to PowerShell in the future and PowerShell is servicable in this state.

Coming to the use of Installation technology, PowerShell is part of Windows (optional component released separately) and every windows component should follow certain rules.

Krishna Vutukuri[MSFT]

Windows PowerShell Development

This posting is provided "AS IS" and confers no rights or warranties.

Tuesday, March 20, 2007 5:40 PM by PowerShellTeam

# Running PowerShell in Server 2003?

If so, take a look at this blog post . Basically, Windows PowerShell is released as an update to Windows,

Wednesday, March 21, 2007 12:38 AM by Greg Ramsey

# Windows 2003 Service Pack 2

Now this could be an issue that the PowerShell guys have shared .... its good to talk! Source: http://blogs.msdn.com/powershell/archive/2007/03/19/windows-server-2003-sp2-upgrade.aspx

Tuesday, March 27, 2007 8:39 AM by Carpe Diem: Flaphead.com @ Home

# re: Windows Server 2003 SP2 upgrade

PowerShell uninstaller is present on disk after upgrading to W2K3-SP2 at %windir%\$ntuninstallkb926139$\spuninstall\spuninstall.exe.

Remember, 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).

Friday, July 13, 2007 7:27 PM by PowerShellTeam

# re: Windows Server 2003 SP2 upgrade

i want to insatall dot net 2005 on Windows

 server 2003 , but it required service pack

 which service pack is sutable for this

 please inform me

Wednesday, July 25, 2007 2:22 AM by siraj

# re: Windows Server 2003 SP2 upgrade

Just want to know:

What is about the "UninstallCommand" under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows PowerShell 1.0\SP2\KB926139" ("C:\WINDOWS\$NtUninstallKB926139$\spuninst\spuninst.exe").

Is it safe to remove PowerShell this way, or will I get problems with SP2 ?

(While the uninstaller is checking the configuration a warning is displayed.)

Saturday, August 11, 2007 11:39 PM by Micha

# re: Windows Server 2003 SP2 upgrade

Gentlemen, this is a showstopper! Windows Server 2008 can't be installed as long as PowerShell 1.0 is there, and I have found no way to uninstall it from my Windows Server 2003 R2 boxes. It's not under Add/Remove Programs. Are there instructions for manual uninstallation, at least enough of it to please the Windows Server 2008 upgrade procedure?

Thursday, February 07, 2008 5:52 PM by Takeo

# re: Windows Server 2003 SP2 upgrade

Select the "Show updates" check-box at the top in Add/Remove programs and looks for KB926139 (or the one you installed) with PowerShell logo :)

Friday, February 08, 2008 4:35 AM by Anonymous

# re: Windows Server 2003 SP2 upgrade

And an additional mess to deal with:  Windows Server 2008 Upgrade process will not work.  Seriously.  Do your teams ever talk to each other?  See each other?  For PETE'S SAKE!!!  I wish we could send you folks a bill for all the time we spend on things like this.

Seriously.  How in the world does a shell environment prevent an entire OS from installing!!!???

Monday, February 11, 2008 9:00 PM by Russ McClelland

# re: Windows Server 2003 SP2 upgrade with Windows server 2003 R2

I want to upgrade windows server 2003 sp2 to Windows server 2003 R2.

How i'll do this.............

Please reply.........

Thanks

Friday, September 26, 2008 5:54 PM by Taskheer

# re: Windows Server 2003 SP2 upgrade

M$ stikes again and again and ....!- no easy way to uninstall PowerShell v1.0 (or even update to CTP v2.0) on WinXP Pro SP3. None of your suggestions work. I hope you guys feel like crap. Your job title on your business cards should say: tinker bell (/at the very least, nothing that has 'engineer' in it.)

Monday, November 17, 2008 1:00 PM by Engineer

# re: Windows Server 2003 SP2 upgrade

Trying to upgrade a 2003 SP1 DC to 2008 and I am bitten by the powershell uninstall or lack thereof. Will anyone at MS come up with a solution to this?

Wednesday, February 04, 2009 3:09 PM by EduEngineer

# re: Windows Server 2003 SP2 upgrade

Thanks to freakin' PowerShell, I better get a new box and do a clean install before wasting my time like so many others....

Tuesday, March 03, 2009 7:58 PM by uKissUp

# re: Windows Server 2003 SP2 upgrade to 2008

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

Thursday, March 05, 2009 8:38 PM by Brandon

# re: Windows Server 2003 SP2 upgrade

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.....

Tuesday, March 10, 2009 7:40 PM by engineertothecore

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker