- The Winnt or Windows folder already exists.
- You perform an unattended installation and specify the "TargetPath=" parameter in the answer file.
- You run Winnt32.exe from a working copy of Microsoft Windows NT, Windows 2000, or Windows Server 2003 and change the location in the Advanced Options settings.
Note Windows Backup (Ntbackup.exe) does allow you to restore to an alternate location, but it does not restore the "system state" in a form that will return the system to a working condition. This is because of the way the system state is collected and then processed later during the restore operation.
- Perform an unattended installation using an answer file. Unattended installations allow you to define the installation folder using the "TargetPath=WINDIR" parameter. This can even be accomplished while booting from the Windows installation CD-ROM as follows:
Using Notepad or another text editor, create a file called Winnt.sif containing the following parameters, and then save the file to a floppy disk. Make sure the file name is Winnt.sif, and does not end with a .txt extension.[Unattended]Boot from the Windows installation CD-ROM while the disk containing the Winnt.sif file is in drive A. Windows Setup then reads the Winnt.sif file and uses the folder name specified in the "TargetPath" parameter instead of the default Winnt folder.
TargetPath=OLDWINDIR <-Match the original folder name.
For additional information, please click the article number below to view the article in the Microsoft Knowledge Base:216258 How to Perform Unattended Windows 2000 Installation from CD-ROM
- Use the Windows Recovery Console to create and format the new system/boot partition, and then create a Winnt or Windows folder. When Windows Setup encounters the Winnt or Windows folder during Text-mode Setup, it prompts you to overwrite it or press ESC to use a different folder. Press ESC, and change the folder name to match your original %SystemRoot% folder name, and then continue with the installation.
810562 How to start Setup from MS-DOS in Windows Server 2003
- Boot from the Windows installation CD-ROM or the four Setup floppy disks, press R to repair, and then press C to start the Recovery Console.
- Use the DISKPART command to partition a new drive.
- Use the FORMAT command to format the partition. For example: format drive: /q /fs:file-system (FAT, FAT32, NTFS)
- Use the MAP command to display the arc path for the new partition and use it in the next step for the "TargetDevice=" entry.
- Using Notepad or another text editor, create a file called Setup.log containing the following parameters, and then save the file to a floppy disk. Make sure the file name is Setup.log, and does not end with a .txt extension.
Note Make sure to modify the "TargetDevice=" line below to match your hardware configuration, specifying on which disk\partition you want the Winnt folder to be created. Display this information using the Recovery Console's MAP command in the step above.[Paths]
TargetFolder = "\WINNT"
TargetDevice = "\Device\Harddisk0\Partition1" <- Set to your hardware configuration.
SystemPartitionFolder = "\"
SystemPartition = "\Device\Harddisk0\Partition1"
Version = "WinNt5.0"
NTDETECT.COM = "NTDETECT.COM","1805e"
ntldr = "ntldr","35567"
- Boot from the Windows installation CD-ROM or floppy disks again, press R to repair, press R to repair using the "Emergency Repair process," and then press M for manual repair. In the next screen, clear all the choices except Verify Windows System files, and then select Continue. When you are prompted for the Emergency Repair disk, insert the disk you created in step 5 and press ENTER to continue. This creates a Winnt folder and then quits.
- Boot using the Windows installation CD-ROM or floppy disks and perform your new installation. Remember to press ESC to select your new installation folder name when the time comes.
- Using an MS-DOS or Windows 95 or Windows 98 Startup disk, create a FAT or FAT32 partition on the new system/boot drive, and then create a Winnt folder. Boot using the Windows 2000 installation CD-ROM or floppy disks or the Windows Server 2003 installation CD-ROM, and start your new installation. When Windows 2000 or Windows Server 2003 Setup encounters the existing Winnt or Windows folder, it prompts you to overwrite it or to press ESC to use a different folder. Press ESC and change the folder name to match your original %SystemRoot% folder name, and then continue with the installation.
Note If you require a partition using 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 from your last good backup. This retains your NTFS file and folder permissions that were assigned before the drive failure.
- Install the drive on or move it to another computer running Windows NT, Windows 2000, or Windows Server 2003, create a partition, format it, and then create a Winnt folder. Move the drive back to the original computer and start Setup from the Windows 2000 installation CD-ROM or floppy disks or from the Windows Server 2003 installation CD-ROM. When Windows Setup encounters the existing Winnt folder, it prompts you to overwrite it or press ESC to use a different folder. Press ESC and change the folder name to match your original %SystemRoot% folder name, and then continue with the installation.
ID do Artigo: 235478 - Última Revisão: 07/01/2008 - Revisão: 1