Reader to Reader: Win2K Installation Folder
During a migration project, a reader discovers a Win2K Server installation quirk.
June 23, 2002
My company recently migrated to Windows 2000 Server, and we needed to test whether our Windows NT 4.0 disaster-recovery procedures would work for Win2K. We had a procedure for using a backup tape to perform a full restore of an NT 4.0 server. As part of the procedure, we set up a temporary NT installation in C:ts, installed Computer Associates' (CA's) ARCserve Client Agent for Windows NT, then performed a full restore—which restores the original NT installation in C:winnt. When we tested Win2K Server, we discovered that you can't install the OS in a nonstandard installation folder (e.g., C:ts) on a clean machine with no previous Win2K installation. (The Microsoft articles "Windows Setup Does Not Prompt for Installation Folder" at http://support.microsoft.com/default.aspx?scid=kb;en-us;q222939 and "No Setup Option to Select Installation Folder" at http://support.microsoft.com/default.aspx?scid=kb;en-us;q197057 provide more information about this limitation.)
One workaround is to modify the txtsetup.sif file to include the alternative installation folder path, then create new boot disks or burn a new copy of the Win2K Server CD-ROM to include this customization. After some experimentation, we discovered a more convenient workaround that doesn't require you to modify your Win2K boot disks or CD-ROMs. Our procedure lets you use an original Win2K Server CD-ROM and forces Win2K Server's setup program to let you select a different installation folder.
On a clean server, use the Win2K Server CD-ROM to boot the machine.
If your server hardware requires additional third-party or updated disk drivers to boot, press F6 when the Win2K Server setup program instructs you to do so, to supply the additional drivers from a 3.5" disk.
When prompted, press R for Repair.
When prompted, press C for Console.
In the Win2K Recovery Console, enter
diskpart
to load the disk-partition tool.
Create the C partition.
Press Esc to exit the Diskpart disk-partition tool.
Enter
format c: /q /FS:NTFS
to format the C partition with NTFS.
Press Y to confirm the format command.
Enter
d:
to switch to the CD-ROM drive. (To determine which drive is your CD-ROM drive, enter
map
at the Win2K Recovery Console command prompt.)
Enter
copy autorun.inf c:winnt
to create a winnt file on the C drive. (This winnt file fools the Win2K Server setup program into thinking a previous Win2K Server installation exists. Thus, you can select an installation folder other than winnt.)
To switch to the C drive, enter
c:
Enter
dir
to list the C drive's contents. (Verify that the file winnt exists on the C drive.)
Enter
exit
to exit the Recovery Console and reboot the server. Leave the Win2K Server CD-ROM in the CD-ROM drive.
If your server hardware requires additional third-party or updated disk drivers to boot, press F6 when the Win2K Server setup program instructs you to do so, to supply the additional drivers from a 3.5" disk.
Press Enter to continue with the Win2K Server installation.
Press F8 to accept the Win2K licensing agreement.
Select the C partition in the disk-partition tool.
Select Leave the current file system intact (no changes). In other words, don't format the C drive.
Press Esc to select Different Folder.
Enter
ts
for the Win2K Server installation folder.
Complete the Win2K Server installation. Then, delete the C:winnt file. Win2K Server is now installed in the C:ts directory.
For full server restores, install your backup server software's backup agent on the temporary Win2K Server installation. Then, restore the original Win2K Server installation from the backup tape. The backup software will restore the original Win2K Server installation in the C:winnt directory. Reboot into the restored Win2K installation, verify the drive-letter assignments, and perform a dynamic-disk fix if necessary. (For information about this type of fix, see the Microsoft article "'Internal Error - Disk Group Exists and Is Imported' Error Message While Importing Foreign Disk" at http://support.microsoft.com/default.aspx?scid=kb;enus;q260113.) Finally, delete the C:tsdirectory.
—Al Amato
[email protected]
About the Author
You May Also Like