Microsoft KB Archive/216976

= How to Change the Drive Letter Used for ROOTDRIVE =

Article ID: 216976

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows NT Server 4.0, Terminal Server Edition

-



This article was previously published under Q216976



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
To change the drive letter you are currently using for ROOTDRIVE in Windows NT Server 4.0, Terminal Server edition, perform the following steps:  Open Windows Explorer and go to the %SYSTEMROOT%\Application Compatibility Scripts folder. Right-click Rootdrv2.cmd, and then click Edit.  The last line of the file should read

     SET ROOTDRIVE=X:

where X: is the drive letter.  Replace the existing drive letter with the new drive letter you want to use. On the File menu, click Save. On the File menu, click Exit.</li></ol>

The drive letter change will take place the next time a user logs on. However, any application compatibility scripts that you had previously installed will need to be reinstalled.

IMPORTANT NOTE: The updated registry entries from the application compatibility scripts will only be propagated to new users as they log on. Users that have an existing profile will NOT be updated. For users that have an existing profile, you will need to do one of the following:

<ul>  WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

For each user, remove the LastUserIniSyncTime value from the following key:

<pre class="fixed_text">     HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion \Terminal Server </li> Delete each existing profile using the User Profile Tool from System Properties.</li></ul>

Keywords: kbinfo KB216976

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.