Q. How does PowerShell Setup detect the presence of a previous installation of PowerShell?

Jerold Schulman

September 27, 2006

1 Min Read
ITPro Today logo

I mentioned the release of PowerShell at:

Tip 10853 Windows PowerShell 1.0 English update package for Windows Server 2003 Service Pack 1 and for Windows XP Service Pack 2.

ANDTip 10854 Windows PowerShell 1.0 localized update package for Windows Server 2003 Service Pack 1 and for Windows XP Service Pack 2.

If you have a previous version of PowerShell installed, the Setup program will NOT install PowerShell 1.0.

If you are unable to uninstall the previous version, you can:

1. Open a CMD.EXE window.

2. Type the following command and press Enter:

REG DELETE HKLMSoftwareMicrosoftPowerShell1 /V Install /F

NOTE: REG.EXE is built into Windows XP, Windows Server 2003, and later operating systems, or installed from the Windows 2000 Support Tools.


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like