Microsoft KB Archive/933168

= How to restore a computer to a previous Windows installation after you install Windows Vista =

Article ID: 933168

Article Last Modified on 9/12/2007

-

APPLIES TO


 * Windows Vista Ultimate
 * Windows Vista Enterprise
 * Windows Vista Business
 * Windows Vista Home Premium
 * Windows Vista Home Basic
 * Windows Vista Business 64-bit Edition
 * Windows Vista Enterprise 64-bit Edition
 * Windows Vista Home Premium 64-bit Edition
 * Windows Vista Home Basic 64-bit Edition
 * Windows Vista Ultimate 64-bit Edition

-



SUMMARY
This article describes how to manually restore a previous Windows installation on the computer to replace the current Windows Vista installation.

To do this, you must use the command prompt, and you must type specific commands at the command prompt to rename and to move folders between the different versions of Windows.

This article is intended for a beginning to intermediate computer user.

You may find it easier to follow the steps if you print this article first.



Step 1: Determine whether there is a Windows.OLD folder and whether there is sufficient free space on the Windows hard disk

 * 1) Click Startvistastartbutton.jpg], and then click Computer.
 * 2) On the View menu, click Details.
 * 3) In the Free Space column, note how much space is available for Local Disk (C:) under the Hard Disk Drives area.
 * 4) In the Hard Disk Drives area, double-click Local Disk (C:), and then determine whether the Windows.OLD folder exists.

Important If the Windows.OLD folder does not exist, you cannot follow the steps in this article to restore the previous Windows installation to this computer.
 * 1) Right-click the Windows.OLD folder.
 * 2) Windows Vista will determine the size of the folder after several seconds.

Determine whether the Windows.OLD folder is smaller than the free space that is available for Local Disk (C:) in step 2.

Note If the Windows.OLD folder is two times as large as the free space that is available for the Local Disk (C:) entry, you may be unable to restore the previous Windows installation.

Step 2: Start the Windows Recovery Environment

 * 1) Put the Windows Vista installation disc in the DVD drive, and then restart the computer.
 * 2) Press a key when you are prompted to restart from the disc.
 * 3) In the Install Windows window, select a language, a time, a currency, a keyboard input method or other input method, and then click Next.
 * 4) In the Install Windows window, click Repair your computer.
 * 5) In the System Recovery Options window, click the version of the Windows Vista operating system that you want to repair, and then click Next.
 * 6) In the System Recovery Options window, click Command Prompt.

The Command Prompt window opens, and it displays the command prompt. The command prompt is where you will type the commands that are described in the following steps.

Step 3: Rename the Windows Vista folders
Note When you type one or more of the commands at the command prompt in the following steps in this section, and you then press ENTER, you may receive the following message:

The system cannot find the file specified.

If you receive this message, go to the next step in this section, and then type the command in that next step.

Type the following commands at the command prompt:  Type the following command, and then press ENTER:

c:

 Type the following command, and then press ENTER:

ren Windows Windows.Vista

 Type the following command, and then press ENTER:

ren &quot;Program Files&quot; &quot;Program Files.Vista&quot;

 Type the following command, and then press ENTER:

ren &quot;Users&quot; &quot;Users.Vista&quot;

 Type the following command, and then press ENTER:

ren &quot;Documents and Settings&quot; &quot;Documents and Settings.Vista&quot;



Step 4: Copy the contents or move the contents of the Windows.OLD folder
Type the following commands at the command prompt:  Type the following command, and then press ENTER:

move /y c:\windows.old\windows c:\

</li> Type the following command, and then press ENTER:

move /y &quot;c:\windows.old\program files&quot; c:\

</li></ol>

Type one of the following commands at the command prompt, as appropriate for your situation.

When the previous Windows installation was Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft Windows 2000 <ul> Type the following command, and then press ENTER:

move /y &quot;c:\windows.old\documents and settings&quot; c:\

</li></ul>

When the previous Windows installation was a different version of Windows Vista <ul> Type the following command, and then press ENTER:

move /y c:\windows.old\users c:\

</li></ul>

Step 5: Restore the boot sector for the previous Windows installation
Type one of the following commands at the command prompt, as appropriate for your situation.

Note represents the DVD drive in the following commands. If the DVD drive on the computer is represented by a different letter, such as, use that letter in the command. <ul> When the previous Windows installation was Microsoft Windows Server 2003, Microsoft Windows XP, or Microsoft Windows 2000

Type the following command, and then press ENTER:

\boot\bootsect /nt52 c:

</li> When the previous Windows installation was a different version of Windows Vista

Type the following command, and then press ENTER:

\boot\bootsect /nt60 c:

</li></ul>

Step 6: Restore the Boot.ini file for the previous Windows installation of Windows XP or of Windows 2000
Note Only follow these steps when the previous installation is Windows XP or Windows 2000.

Type the following commands at the command prompt:  Type the following command, and then press ENTER:

c:

</li> Type the following command, and then press ENTER:

attrib boot.ini.saved -s -h -r

</li> Type the following command, and then press ENTER:

ren&quot;boot.ini.saved&quot;&quot;boot.ini&quot;

</li> Type the following command, and then press ENTER:

attrib boot.ini +s +h +r

</li></ol>

Step 7: Close the Command Prompt window, and then click Restart
 Type the following command at the command prompt, and then press ENTER:

exit

</li> Click Restart.</li></ol>

The previous Windows installation will start.

Keywords: kbhowto kbinfo kbexpertiseinter kbceip KB933168

-

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

© Microsoft Corporation. All rights reserved.