Article ID: 154129 - Last Review: November 1, 2006 - Revision: 2.1 Changing the Root Directory for Windows NTThis article was previously published under Q154129 SUMMARY
This is an informational article on how to change the directory name of
Microsoft Windows NT after it is installed. This could be desirable when,
for example, users who have upgraded from Windows NT 3.1 to Windows NT 3.5
wish to change the directory name to reflect the current Microsoft Windows
NT version.
NOTE: Microsoft does not support the method described in this article. The supported method is to reinstall Microsoft Windows NT into the appropriate directory. Also note that third-party applications that do not use the Microsoft Windows NT System_Root Flag may also have to be reinstalled. MORE INFORMATION
There are two methods, one for systems in which the Windows NT system root
is on a hard disk drive partitioned with Windows NT File System (NTFS) and
one for those where the system root is on a FAT partition.
Here is the method for systems with NTFS:
[boot loader] default=multi(0)disk(0)rdisk(0)partition(2)\winnt_temp (*Ensure disk and partition information is correct*) [operating systems] multi(0)disk(0)rdisk(0)partition(2)\winnt_temp="Windows NT Server Version 3.51" multi(0)disk(0)rdisk(0)partition(2)\winnt_temp="Windows NT Server Version 3.51" /basevideo /sos multi(0)disk(0)rdisk(0)partition(2)\WINNT_351="Windows NT Server Version 3.51" multi(0)disk(0)rdisk(0)partition(2)\WINNT_351="Windows NT Server Version 3.51" /basevideo /sos In this example, WINNT_TEMP is the directory into which the parallel copy of Windows NT was installed. WINNT_351 is the renamed directory. You can delete the lines that point to the temporary directory of Windows NT you just installed, except in the Default line. The directory at the end of this line must reflect the new Windows NT directory name. To conclude the process, open the Options menu, click File, then click Save. Now click Yes to replace the file Boot.ini. Restart your computer. Here is the method to use for systems with FAT: NOTE: You will not need to install a second copy of Windows NT to make this directory change.
In addition to the preceeding steps all references to the Windows NT directory in the setup.log file in the repair directory and on the emergency repair disk must also be modified in order for repair to work. For example: [Paths] TargetDirectory = "\WINNT35" [Files.WinNt] \WINNT35\System32\EEPRO.HLP = "EEPRO.HLP","c56a","\epro","Intel EtherExpress PRO Driver Disk","(null)" NOTE: After performing the procedure outlined in the article, some programs or services may not function properly because their registry entries are hard-coded to the Windows NT directory name that was in place during the installation of the components. To resolve this with Windows NT 3.51, run Regedt32.exe and on the Registry menu click Save Subtree As and save it as a .txt file. Then run Notepad to search for the old directory path (such as c:\winnt). Take note of the registry entries that need to be modified and change them with Regedt32.exe. To resolve this issue with Windows NT 4.0, you can run Regedit.exe and search for the old Windows NT directory name and replace it with the new directory path. | Article Translations
|
Back to the top
