Reader to Reader: Win2K Installation Folder

During a migration project, a reader discovers a Win2K Server installation quirk.

Readers

June 23, 2002

3 Min Read
ITPro Today logo in a gray background | ITPro Today

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.

  1. On a clean server, use the Win2K Server CD-ROM to boot the machine.

  2. 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.

  3. When prompted, press R for Repair.

  4. When prompted, press C for Console.

  5. In the Win2K Recovery Console, enter

    diskpart

    to load the disk-partition tool.

  6. Create the C partition.

  7. Press Esc to exit the Diskpart disk-partition tool.

  8. Enter

    format c: /q /FS:NTFS

    to format the C partition with NTFS.

  9. Press Y to confirm the format command.

  10. 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.)

  11. 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.)

  12. To switch to the C drive, enter

    c:
  13. Enter

    dir

    to list the C drive's contents. (Verify that the file winnt exists on the C drive.)

  14. Enter

    exit

    to exit the Recovery Console and reboot the server. Leave the Win2K Server CD-ROM in the CD-ROM drive.

  15. 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.

  16. Press Enter to continue with the Win2K Server installation.

  17. Press F8 to accept the Win2K licensing agreement.

  18. Select the C partition in the disk-partition tool.

  19. Select Leave the current file system intact (no changes). In other words, don't format the C drive.

  20. Press Esc to select Different Folder.

  21. Enter

    ts

    for the Win2K Server installation folder.

  22. 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]

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like