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).
Saw this on the Windows PowerShell blog:Since W2K3 SP2 is an update to W2K3 SP1, if you install Powershell...
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?
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.
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.
If so, take a look at this blog post . Basically, Windows PowerShell is released as an update to Windows,
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
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).
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
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.)
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?
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 :)
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!!!???
I want to upgrade windows server 2003 sp2 to Windows server 2003 R2.
How i'll do this.............
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.)
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?