How to restore the system/boot drive letter in Windows 10


When you try moving Windows by cloning the drive or by restoring a backup image. Due to this the drive will swap the path letters and will assign itself a new letter.

This may prevent you from booting into your device. The information of the Windows is stored in the registry. This will include the data stored along with the drive letter.

When the letter is changed, the drive letter will not be determined by the registry during the bootup and may cause a problem with your PC.

If the registry does not find the original letter of the drive to which the Windows was installed, this may cause a problem with your PC.

To fix it, you will have to restore the system/boot drive letter in Windows 10. In this article, we will be discussing how you can restore the system/boot drive letter in Windows 10.

Restoring The System/Boot Drive Letter In Windows 10

Ensure you only do it if the drive letter has been swapped. If the drive letter of the Windows has not been swapped, then you should not try changing it.

This error most probably occurs when you try to shrink the Windows drive volume or its configuration. This is a rare thing to occur.

However, if you encounter this error, then you can fix it by following the steps given below. Before continuing with the process, ensure you take a backup of your computer.

If anything goes wrong with the process or if the process is interrupted in between, then this may result in data loss. Therefore, you should have a backup of your system.

Do note that letter is the wrong drive letter that has been assigned to the boot drive, whereas the letter is the new letter that is to be assigned to the boot drive.

  • Firstly, sign in to your computer as an administrator.
  • Press the Windows + R key combo, and in the run dialog box that opens up, type Regedt32.exe and click on OK. This will open Registry Editor. 
  • In the Registry Editor, head to the following location-
         HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  • Right-click on the MountedDevices and click on permissions. 
  • Here ensure that the Administrators have full control. 
  • After doing so, quit the Regedt32.exe
  • Now open the run dialog box again by pressing the Windows + R key combo, and type Regedit.exe and click on OK. 
  • In the Registry Editor, head to the following location-
         HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
  • Here search for \DosDevices\:C and right-click on it. Click on rename. 
  • Now you will have to rename the drive to the unused drive letter. Rename it to \DosDevices\:Z 
  • This will free up the drive letter C. 
  • Now search for the drive letter that you want to change. Here look for \DosDevices\D:
  • Right-click on it, and then click on rename. 
  • Now rename the drive to the appropriate drive letter- \DosDevices\C:
  • Now select the \DosDevices\Z: and right-click on it, and then click on rename. 
  • Now rename the \DosDevices\Z:  to \DosDevices\D:
  • Once done, quit the Regedt.exe and then start the Regedt32.exe
  • Start Regedt32.exe only if you have changed permissions for the administrator. You will have to open it to revert the permissions of the administrator. If you didn’t change the permissions, then you need not run it. 
  • Once done, restart your PC, and the system/boot drive letter will be restored in Windows 10. 

Conclusion

If the boot drive letter is swapped then you can follow the above steps to restore it. Following the above steps, you will be able to restore the system/boot drive letter in Windows 10. 

Recent Posts