Article ID: 315242 - View products that this article applies to.
This article was previously published under Q315242
This article describes how to specify the original folder name for reinstallation of Windows XP during setup if, for example, you need to recover from a failed system drive.
When you install Windows XP by booting from the Windows installation CD-ROM, Setup does not prompt you for the name of the destination installation folder or allow you to change the name of the destination installation folder.
The default installation folder is the \Windows folder. You cannot change the installation folder during Windows Setup except under the following circumstances:
NOTE: The Windows Backup utility (Ntbackup.exe) does allow you to restore to an alternate location, but the utility does not restore the system state in a form that returns the system to working condition. This is because of the way the system state is collected and then processed later during the restore operation. If your original drive_letter:\%SystemRoot% folder was not the \Windows folder because you upgraded from a Microsoft Windows NT or Microsoft Windows 2000 installation that was located in a different folder, there is no way to perform a full recovery without first getting Windows XP reinstalled in a folder that has the original folder name.
Reinstalling Windows XP in a Folder That Has the Original Folder NameUse one of the following methods to help you reinstall Windows XP in a folder that has the same name as the original DriveLetter:\%SystemRoot% folder.
Method 1: Use an Answer File in an Unattended InstallationPerform an unattended installation that uses an answer file. An unattended installation allows you to define the installation folder by using the TargetPath=WinDir parameter. You can even accomplish this while you are booting from the Windows XP installation CD-ROM. Follow these steps:
(http://support.microsoft.com/kb/314459/EN-US/ )How to Perform Unattended Windows Installation from CD-ROM
Method 2: Create a New Windows Folder on a New PartitionUse the Windows Recovery Console to create and format the new system/boot partition, and then create a \Windows folder. Follow these steps:
Method 3: Create a New Windows Folder by Using a Startup Disk from Another Operating SystemUsing a startup disk from MS-DOS, Microsoft Windows 98, or Microsoft Windows Millennium Edition (Me), create a FAT or FAT32 partition by running the fdisk command on the new system/boot drive, and then create a \Windows folder. Boot the computer by using the Windows XP installation CD-ROM or floppy disks, and then start your new installation.
When Windows XP Setup encounters the existing \Windows folder, Setup prompts you to overwrite the \Windows folder or press ESC to use a different folder. Press ESC and change the folder name to match your original DriveLetter:\%SystemRoot% folder name, and then continue with the installation.
NOTE: If you require a partition that uses the NTFS file system, you can use the convert.exe drive_letter: /fs:ntfs command after the installation is complete but before you perform a restore operation from your last good backup. This procedure retains the NTFS file and folder permissions that were assigned before the drive failure.
Installation floppy disks are available only by download from Microsoft. For additional information about obtaining and using installation floppy disks, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/310994/EN-US/ )Obtaining Windows XP Setup Boot Disks
Method 4: Create a New Windows Folder on Another ComputerInstall or move the drive to another computer, one that runs Windows NT or Windows XP. Create and format a partition, and then create a \Windows folder. Move the drive back to the original computer, and then start Setup from the Windows XP installation CD-ROM or floppy disks.
When Windows Setup encounters the existing \Windows folder, Setup prompts you to overwrite the folder or press ESC to use a different folder. Press ESC, change the folder name to match the original DriveLetter:\%SystemRoot% folder name, and then continue with the installation.
Running a Full System RestorationAfter you successfully install Windows XP in a folder that has the original DriveLetter:\%SystemRoot% folder name, run the Windows Backup utility (Ntbackup.exe) to perform a full system restoration (including the system state). Use the most recent backup tape. Specify restoration to the original location to return Windows XP to a working state.
Contact us for more help
Connect with Answer Desk for expert help.