Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hard drive is E: drive rather than C:

Status
Not open for further replies.

thelochnessmoron

IS-IT--Management
Feb 12, 2002
7
US
Is there a way to change this so it reads C:? (Other than reinstalling XP) When I go to Disk Management it says that I cannot change it.

Thank you
 
Update: I found some information on doing this, but it says it's not recommended except to change the drive back to it's original installation drive letter. I may back up my files if I'm feeling bold over the weekend and try it anyway...

Changing the System/Boot Drive letter is a little more complex. For the most part, this is not recommended, especially if the drive letter is the same as when Windows was installed. The only time that you may want to do this is when the drive letters get changed without any user intervention. This may happen when you break a mirror volume or there is a drive configuration change. This should be a rare occurrence and you should change the drive letters back to match the initial installation.

NOTE : In these steps, drive D refers to the (wrong) drive letter assigned to a volume, and drive C refers to the (new) drive letter you want to change to, or to assign to the volume.

This procedure swaps drive letters for drives C and D. If you do not need to swap drive letters, simply name the \DosDevice\letter: value to any new drive letter not in use.

For your safety, it is best to make a full system backup of the computer and system state.

Log on as an Administrator.

Start Regedt32.exe.

Go to the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Click MountedDevices.

On the Security menu, click Permissions.

Check to make sure Administrators have full control. Change this back when you are finished with these steps.

Quit Regedt32.exe, and then start Regedit.exe.

Go to the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
Find the drive letter you want to change to (new). Look for "\DosDevices\C:".

Right-click \DosDevices\C:, and then click Rename.

NOTE : You must use Regedit instead of Regedt32 to rename this registry key.

Rename it to an unused drive letter "\DosDevices\Z:". (This will free up drive letter C: to be used later.)

Find the drive letter you want changed. Look for "\DosDevices\D:".

Right-click \DosDevices\D:, and then click Rename.

Rename it to the appropriate (new) drive letter "\DosDevices\C:".

Click the value for \DosDevices\Z:, click Rename , and then name it back to "\DosDevices\D:".

Quit Regedit, and then start Regedt32.

Change the permissions back to the previous setting for Administrators (this should probably be Read Only).

Restart the computer.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top