Microsoft KB Archive/315341

= How to perform an in-place upgrade (reinstallation) of Windows XP =

Article ID: 315341

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q315341



INTRODUCTION
This article describes how to perform an in-place upgrade, or reinstallation, of Microsoft Windows XP. This is also named a repair installation. It reinstalls Windows XP to the same folder. You may want to perform an in-place upgrade if your installation of Windows XP must be repaired. Such a repair installation may be required if one of the following conditions is true:  You cannot start Windows XP in Safe Mode.

For more information about how to start your Windows XP-based computer in Safe Mode, click the following article number to view the article in the Microsoft Knowledge Base:

315222 A description of the Safe Mode Boot options in Windows XP

 The problem is caused by a recently installed Microsoft software update, and you cannot solve the problem in any other way. There is a registry problem that cannot be solved by using other tools such as System Restore. You must apply default (file and registry) permissions to your Windows XP installation. You must register Component Object Model (COM) components and Windows File Protection (WFP) files. You must use the Windows Setup program to enumerate Plug and Play devices again, including the hardware abstraction layer (HAL).

To reinstall Windows XP, use the appropriate method in the &quot;More information&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
Note You may want to disconnect from the Internet during the installation. Disconnecting from the Internet during the installation helps protect you from malicious users. You may also want to enable the firewall in Internet Explorer. For more information, see the &quot;Enable or disable Internet Connection Firewall&quot; topic in Windows XP Help.

Before you perform an in-place upgrade
 Before you follow the steps later in this article, click the following article number to view the article in the Microsoft Knowledge Base if your computer came preinstalled with Windows XP:

312369 You may lose data or program settings after reinstalling, repairing, or upgrading Windows XP

</li> If you perform an in-place upgrade of Windows XP, all existing restore points are removed and a new system checkpoint restore point is created after the in-place upgrade is completed. Do not perform an in-place upgrade if you may have to use System Restore to restore your computer to a previous state.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

301224 System Restore 'restore points' are missing or deleted

</li> Backup copies of your registry files (in the %systemroot%\Repair folder) are also replaced after the in-place upgrade is completed. The registry files in the Repair folder are either from the first time that you started Windows XP or the last time that you used the Backup utility to back up your System State. Copy these registry backups to another location before you perform an in-place upgrade if you may have to use them after the in-place upgrade is completed.</li> Do not perform a repair or in-place upgrade to repair a component or program that is not currently installed. If you can, use the Add or Remove Programs tool in Control Panel, or reinstall the component or program instead of Windows.</li> If your computer requires a third-party mass storage device driver or HAL, make sure that you have a copy of the files on a floppy disk before you perform a repair or in-place upgrade.</li> Do not use a repair or in-place upgrade to try to resolve a problem with a user account, password, or local profile. To determine if the problem is related to a user account, password, or local profile, create another user account (if you can), and then log on to that account to see if the problem is resolved.</li> Do not use a repair or in-place upgrade to resolve a problem with third-party programs, files or registry entries.</li> Do not use a repair or in-place upgrade if you suspect disk problems.</li> Do not use a repair or in-place upgrade if you suspect a problem with a third-party device, and the latest device drivers are currently installed for the device.</li></ul>

Method 1: Reinstall Windows XP by using Windows XP
To reinstall Windows XP by using Windows XP, follow these steps: <ol> Start your computer.</li> Insert the Windows XP CD in your computer's CD-ROM or DVD-ROM drive.

Note If the service pack version of the operating system that you want to install is higher than the service pack version of the CD-ROM operating system that you own, integrate the service pack that you want into the Windows XP installation folder. For more information about how to integrate Windows XP Service Pack 2 files into the Windows XP installation folder, click the following article number to view the article in the Microsoft Knowledge Base:

900871 How to integrate Windows XP Service Pack 2 files into the Windows XP installation folder

</li> On the Welcome to Microsoft Windows XP page, click Install Windows XP.</li> On the Welcome to Windows Setup page, click Upgrade (Recommended) in the Installation Type box (if it is not already selected), and then click Next.</li> On the License Agreement page, click I accept this agreement, and then click Next.</li> On the Your Product Key page, type the 25-character product key in the Product key boxes, and then click Next.</li> <li>On the Get Updated Setup Files page, select the option that you want, and then click Next.</li> <li>Follow the instructions that appear on the screen to reinstall Windows XP.</li></ol>

Method 2: Reinstall Windows XP by starting your computer from the Windows XP CD
To reinstall Windows XP by starting your computer from the Windows XP CD, follow these steps: <ol> <li>Insert the Windows XP CD into your computer's CD-ROM or DVD-ROM drive, and then restart your computer.</li> <li>When the &quot;Press any key to boot from CD&quot; message appears on the screen, press a key to start your computer from the Windows XP CD.

Note Your computer must be configured to start from the CD-ROM or DVD-ROM drive. For more information about how to configure your computer to start from the CD-ROM or DVD-ROM drive, see your computer's documentation or contact your computer manufacturer.</li> <li>You receive the following message on the Welcome to Setup screen that appears:

This portion of the Setup program prepares Microsoft Windows XP to run on your computer:

To setup Windows XP now, press ENTER.

To repair a Windows XP installation using Recovery Console, press R.

To quit Setup without installing Windows XP, press F3.

Press ENTER to set up Windows XP.</li> <li>On the Windows XP Licensing Agreement screen, press F8 to agree to the license agreement.</li> <li>Make sure that your current installation of Windows XP is selected in the box, and then press R to repair Windows XP.</li> <li>Follow the instructions that appear on the screen to reinstall Windows XP. After you repair Windows XP, you may have to reactivate your copy of Windows XP.

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

310064 How to troubleshoot Windows XP Setup problems when you upgrade from Windows 98 or Windows Millennium Edition

</li></ol>

After you perform an in-place upgrade
After you perform an in-place upgrade or repair installation, you must reinstall all updates to Windows. To reinstall Windows updates, visit the following Microsoft Web site:

http://windowsupdate.microsoft.com

For additional information about how to troubleshoot specific Windows XP Setup issues, click the following article numbers to view the articles in the Microsoft Knowledge Base:

312369 You may lose data or program settings after reinstalling, repairing, or upgrading Windows XP

312368 Data loss occurs after you reinstall, repair, or upgrade Windows XP

For additional information about the Windows XP Setup program, click the following article numbers to view the articles in the Microsoft Knowledge Base:

286463 Release Notes for Windows XP Setup contained in the Pro.txt file

306824 Release Notes for Windows XP Setup contained in the Home.txt file

286647 Windows XP Read1st.txt file contents

Additional query words: repair install in place upgrade

Keywords: kbfirewall kbhowto kbenv kbinfo ocsso KB315341

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.