Article ID: 971760 - Last Review: June 17, 2009 - Revision: 2.6 How to restore a Windows 7-based computer to a previous Windows installation by using the Windows.old folderOn This PageINTRODUCTIONThis article describes how to manually restore a previous Windows installation on the computer to replace the current Windows 7 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. MORE INFORMATIONSteps to restore a computer to a previous Windows installation after you install a version of Windows 7You 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
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
Step 3: Move the Windows 7 folders to a new Win7 folderNote When you type one or more of the commands at the command prompt in the following steps and press ENTER, you may receive the following message:The system cannot find the file specified.
Type the following commands and press ENTER after each command: C:
Md Win7 Move Windows Win7\Windows Move "Program Files" "Win7\Program Files" Move Users Win7\Users Attrib –h –s –r ProgramData Move ProgramData Win7\ProgramData Rd "Documents and Settings" Step 4: Copy the contents or move the contents of the Windows.old folderNote When you type one or more of the commands at the command prompt in the following steps and press ENTER, you may receive the following message:The system cannot find the file specified.
Type the following commands and press ENTER after each command: move /y c:\Windows.old\Windows c:\
move /y "c:\Windows.old\Program Files" c:\ move /y c:\Windows.old\ProgramData c:\ move /y c:\Windows.old\Users c:\ move /y "c:\Windows.old\Documents and Settings" c:\ Step 5: Restore the boot sector for the previous Windows installationType one of the following commands at the command prompt, as appropriate for your situation.Note In the following commands, D: represents the DVD drive. If the DVD drive on the computer is represented by a different letter, such as E:, use that letter in the command.
Step 6: Restore the Boot.ini file for the previous Windows installation of Windows XP or of Windows 2000Note Follow these steps only when the previous installation is Windows XP or Windows 2000.Type the following commands and press ENTER after each command: Attrib –h –s –r boot.ini.saved
Copy boot.ini.saved boot.ini Step 7: Close the Command Prompt window, and then click Restart
| Article Translations
|
Back to the top

