You cannot upgrade a Windows-based operating system when you have Windows PowerShell 1.0 installed

Article translations Article translations
Article ID: 950376 - View products that this article applies to.
Support for Windows Vista Service Pack 1 (SP1) ends on July 12, 2011. To continue receiving security updates for Windows, make sure you're running Windows Vista with Service Pack 2 (SP2). For more information, refer to this Microsoft web page: Support is ending for some versions of Windows.
Expand all | Collapse all

On This Page

Symptoms

When you try to upgrade the operating system on a computer that has Windows PowerShell 1.0 installed, the upgrade fails. Additionally, the Compatibility Check feature displays the following message:
You must make the following changes before upgrading Windows:
Uninstall the following program:
  • Windows PowerShell

Workaround

To work around this problem, eliminate the Compatibility Check error. To do this, follow these steps:
  1. Uninstall Windows PowerShell 1.0.
  2. Perform the operating system upgrade again.
  3. Reinstall Windows PowerShell 1.0.

More information

How to uninstall Windows PowerShell 1.0

To uninstall Windows PowerShell 1.0, follow the steps that are appropriate to your operating system.

Windows Vista

  1. Click Start, type appwiz.cpl in the Start Search box, and then press ENTER.
  2. In the list of tasks, click View Installed Updates.
  3. In the Uninstall an update list, right-click Windows PowerShell(TM) 1.0 (KB928439), and then click Uninstall.
  4. Follow the instructions to uninstall Windows PowerShell 1.0.

    Note If you disable Windows PowerShell by using the Turn Windows Features on or off option, this does not satisfy the Compatibility Check process. You must uninstall Windows PowerShell.

Windows Server 2003

  1. Click Start, click Run, type appwiz.cpl, and then click OK.
  2. Click to select the Show updates check box.
  3. In the Currently installed programs and updates list, find the entry for the hotfix that installed Windows PowerShell 1.0. Depending on the installation package that was used, this entry resembles one of the following:
    • Hotfix for Windows Server 2003 (KB926139)
    • Hotfix for Windows Server 2003 (KB926140)
    • Hotfix for Windows Server 2003 (KB926141)
  4. Click the Windows PowerShell hotfix entry, and then click Remove.
  5. Follow the instructions to uninstall the hotfix for Windows PowerShell 1.0.
Note By default, if Windows Server 2003 Service Pack 2 is installed on the system, PowerShell 1.0 cannot be uninstalled. To resolve this issue, follow these steps:
  1. Follow the steps in the following Microsoft Knowledge Base (KB) article, 931941, to trust Windows PowerShell 1.0 that was introduced in KB926139:
    931941 The Oobmig.exe tool is available to restore trust to out-of-band updates after you install Windows Server 2003 Service Pack 2
    Note You may have to restart the computer.
  2. Check whether the update can be uninstalled by using Control Panel. If the update cannot be uninstalled in this manner, uninstall PowerShell manually from the following location:
    C:\WINNT\$NtUninstallKB926139$\spuninst\spuninst.exe
    Note You may have to restart the computer.

Windows XP

  1. Click Start, click Run, type appwiz.cpl, and then click OK.
  2. Click to select the Show updates check box.
  3. In the Currently installed programs and updates list, click Windows PowerShell(TM) 1.0, and then click Remove.
  4. Follow the instructions to uninstall Windows PowerShell 1.0.
Click one of the following links to reinstall Windows PowerShell 1.0, depending on the version of the operating system and on the language preference:

For more information about Windows PowerShell 1.0 English language installation packages for Windows Server 2003 and for Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
926139 Windows PowerShell 1.0 English Language Installation Packages for Windows Server 2003 and for Windows XP
For more information about the Windows PowerShell 1.0 localized installation package for Windows Server 2003 and for Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
926140 Windows PowerShell 1.0 Localized Installation Package for Windows Server 2003 and for Windows XP
For more information about the Windows PowerShell 1.0 Multilingual User Interface (MUI) language pack for Windows Server 2003 and for Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
926141 Windows PowerShell 1.0 Multilingual User Interface (MUI) Language Pack for Windows Server 2003 and for Windows XP
For more information about the Windows PowerShell 1.0 installation package for Windows Vista, click the following article number to view the article in the Microsoft Knowledge Base:
928439 Windows PowerShell 1.0 Installation Package for Windows Vista
For more information about Windows PowerShell, visit the following Microsoft Web sites:

Properties

Article ID: 950376 - Last Review: October 16, 2012 - Revision: 1.0
Applies to
  • Пакет оновлень 1 для ОС Windows Vista
  • Windows Vista 商用進階 64 位元版
  • Windows Vista 家用入門 64 位元版
  • Windows Vista 家用進階 64 位元版
  • Windows Vista 旗艦 64 位元版
  • Windows Vista 商用入門版
  • Windows Vista 商用入門 64 位元版
  • Windows Vista 商用進階版
  • Windows Vista 家用入門版
  • Windows Vista Starter
  • Windows Vista 旗艦版
  • Microsoft Windows Server 2003 Service Pack 2
  • Microsoft Windows Server 2003 Service Pack 1
  • Microsoft Windows Server 2003 R2 Datacenter Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Datacenter x64 Edition
  • Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86)
  • Microsoft Windows Server 2003 R2 Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003 R2 Standard x64 Edition
  • Service Pack 3 para Windows XP
  • Microsoft Windows XP Service Pack 2
Keywords: 
kbexpertiseadvanced kbtshoot kbprb KB950376

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com