Microsoft KB Archive/875355

= How to use the Automatic Recovery feature to recover your computer or your Tablet PC if the Windows XP Service Pack 2 Setup program is not completed successfully =

Article ID: 875355

Article Last Modified on 1/4/2006

-

APPLIES TO


 * Microsoft Windows XP Service Pack 2
 * Microsoft Windows XP Service Pack 2
 * Microsoft Windows XP Service Pack 2
 * Microsoft Windows XP Tablet PC Edition 2005

-





SUMMARY
''This article discusses how to use the Automatic Recovery feature to restore your computer to its previous configuration if the installation of Microsoft Windows XP Service Pack 2 (SP2) is not completed successfully, and you cannot start your computer or Tablet PC. Follow these steps if your computer or Tablet PC does not start correctly after you try to upgrade from Windows XP to Windows XP SP2. This article also discusses how to collect information about the Windows XP SP2 installation and about your computer or Tablet PC to help troubleshoot issue. The Windows XP SP2 Setup logs, the System Information tool, and the event logs contain information that can help a Microsoft Product Support Services professional who may be working with you to diagnose the issue.''



IN THIS TASK

 * INTRODUCTION
 * Recover your computer to a bootable state and remove Windows XP SP2
 * Collect information about the Windows XP SP2 installation and about your computer or Tablet PC
 * REFERENCES



INTRODUCTION
This article discusses how to use the Automatic Recovery feature to recover your computer to its previous configuration if the installation of Microsoft Windows XP Service Pack 2 (SP2) is not completed successfully. Use the procedure that is discussed in this article to recover your computer to a bootable state and to remove Windows XP SP2 if Windows does not start correctly after you try to upgrade your computer from Windows XP to Windows XP SP2. (On a Tablet PC, you upgrade to Windows XP Tablet PC Edition 2005.) This article also discusses how to collect information about the Windows XP SP2 installation and about your computer to help troubleshoot and diagnose the issue.

back to the top

Recover your computer to a bootable state and remove Windows XP SP2
To recover your computer or Tablet PC to a bootable state and remove Windows XP SP2, follow these steps.

Note The Windows XP SP2 features and components are included in Windows XP Tablet PC Edition 2005.  Start your computer by using the Windows XP Recovery Console or by using the Microsoft Windows Preinstallation Environment (WinPE), depending on your situation. To start your computer by using the Recovery Console, follow these steps:  Insert the original release version of the Microsoft Windows XP CD in your computer's CD drive or DVD drive, and then restart your computer.

Note Your computer must be configured to start from the CD drive or DVD drive. For more information about how to do this, see your computer's documentation or contact your computer manufacturer. When the &quot;Press any key to boot from CD&quot; message appears, press a key to start your computer from the Windows XP CD. When the &quot;Welcome to Setup&quot; screen is displayed, press R to start the Recovery Console. When you are prompted, type the number that corresponds to the installation of Windows that you want to access from the Recovery Console, and then press ENTER. For example, if you have one installation of Windows on your computer, type 1, and then press ENTER. When you are prompted, type the Administrator password, and then press ENTER.</li></ol> </li> At the command prompt in Recovery Console, type the following lines. Press ENTER after each line.

cd $NtServicePackUninstall$\Spuninst

batch spuninst.txt

exit

</li> Remove the Windows XP CD from your computer's CD drive or DVD drive, and then restart your computer.</li> Run the Windows XP SP2 Removal Wizard to remove Windows XP SP2. To do this: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type cmd, and then click OK.</li> At the command prompt, type the following lines. Press ENTER after each line.

cd %Windir%\$NtServicePackUninstall$\Spuninst

spuninst.exe

</li> Follow the instructions to remove Windows XP SP2.</li></ol> </li></ol>

back to the top

Collect information about the Windows XP SP2 installation and about your computer or Tablet PC
You can gather information about the Windows XP SP2 installation and about your computer that can help troubleshoot the issue. This information includes the Windows XP SP2 log files, details about the configuration of your computer from the System Information tool, and information that is logged in the application event log and in the system event log in Event view. This information can help a Microsoft Product Support Service professional who works with you to diagnose the issue. To collect this information, follow these steps: <ol> Locate the Windows XP SP2 Setup log files. The Setup program logs information about the Windows XP SP2 installation to the following log files: <ul> Setupapi.log</li> Svcpack.log</li> Spuninst.log</li></ul>

The log files are located in the %Windir% folder. For example, if Windows XP is installed to the C:\Windows folder, the log files are located in the C:\Windows folder.</li> Use the System Information tool to gather information about the configuration of your computer. To do this: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type msinfo32, and then click OK.</li> Click File, and then click Save.</li> In the Save As box, click Desktop to save the file to your desktop, specify a name for the file, and then click Save.</li></ol> </li> Collect the information that is logged in the application event log and to the system event log. To do this: <ol style="list-style-type: lower-alpha;"> Click Start, click Run, type control admintools, and then click OK.</li> <li>Double-click Event Viewer.</li> <li>In the left pane, click Application.</li> <li>Click Action, and then click Save Log File As.</li> <li>In the Save &quot;Application&quot; As dialog box, click Desktop to save the file to your desktop, specify a name for the file, and then click Save.</li> <li>In the left pane, click System.</li> <li>Click Action, and then click Save Log File As.</li> <li>In the Save &quot;System&quot; As dialog box, click Desktop to save the file to your desktop, specify a name for the file, and then click Save.</li></ol> </li></ol>

back to the top

<div class="references_section">

Method 1: Remove Windows XP SP2 by using the Add or Remove Programs tool in Control Panel

 * 1) Click Start, click Run, type appwiz.cpl in the Open box, and then click OK.
 * 2) In the list of currently installed programs, click Windows XP SP2, and then click Remove.
 * 3) Click Next, and then follow the instructions that are displayed on the screen to remove Windows XP SP2.

Method 2: Remove Windows XP SP2 by using the Spuninst.exe command-line command
To do this: <ol> <li>Click Start, click Run, type cmd, and then click OK.</li> <li>At the command prompt, type the following lines. Press ENTER after each line.

cd %Windir%\$NtServicePackUninstall$\Spuninst

spuninst.exe

</li> <li>Follow the instructions to remove Windows XP SP2.</li></ol>

For more information about how to use the Recovery Console, click the following article number to view the article in the Microsoft Knowledge Base:

307654 How to install and use the Recovery Console in Windows XP

For more information about how to obtain Windows XP SP2, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

back to the top

Additional query words: windowsxpsp2 winxpsp2 xpsp2

Keywords: kbhowtomaster kbinfo kbtshoot kbperformance kbsettings kbuninstall kbmaintenance KB875355

-

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

© Microsoft Corporation. All rights reserved.