• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 696
  • Last Modified:

Can't change system drive letter back to C:

In order to replace the main hard disk in our server, I transferred the content of my C: drive on our server to a mirrored partition on another drive and then broke the mirror.  Windows automatically assigned the mirrored partition the drive letter D:.  I removed the original C: drive and jumpered the replacement drive as the master and rebooted.  Since then, I've had nothing but trouble.  I finally got it to let me log in by using little registry tweaks across the network.  I've tried going into the "mounted devices" section of the registry and renamed the key from \DosDevices\D: to \DosDevices\C: several times, but the change doesn't survive a reboot.  I close regedit and re-open it and the change is still there.  I reboot the computer and it has changed it back to D:.  I'm running out of possibilities short of reinstallation, which I'm trying to avoid.  HELP!
0
hawthornedirect
Asked:
hawthornedirect
  • 2
  • 2
2 Solutions
 
Rant32Commented:
The MountedDevices registry key is the right place to change it according to this article, but it also mentions permissions:

http://support.microsoft.com/kb/223188/en-us

Note that the drive you use to break the mirror, changes drive letter. So if you right-click Disk0 (mirrored with Disk1) and break the mirror, then Disk1 keeps the drive letter assignments, and Disk0's letters are changed. If you right-click Disk1 and break the mirror then Disk0 keeps the drive letters.

Or use Remove Mirror if uncertain; removing Disk0 removes all partitions while keeping Disk1 intact.
0
 
hawthornedirectAuthor Commented:
I wish it were that easy.  I've tried this before and, maddeningly, every time the system is rebooted it changes the mounted device \DosDevices\C: back to \DosDevices\D: again.
0
 
Rant32Commented:
What happens if you try this in Safe mode?

I've already succeeded in demolishing a VMware setup using the DosDevice method. It remembers the drive letters all right.
0
 
mcsweenSr. Network AdministratorCommented:
Do what you already did with changing the DosDevices key

Then open regedt32 navigate to the MountedDevices folder and RC, select permissions.  Check all the users that are listed and make the security read only (Specifically Administrators and SYSTEM).  This should prevent Windows from changing it back on a restart.
0
 
hawthornedirectAuthor Commented:
I have been setting the permissions back to read-only for all the listed users (administrators and creator owner) after renaming the DosDevice to C:.  I tried making the change in safe mode.  It still changes the key back to \DosDevices\D: after a restart.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now