2

Assume the following - this assumes a Windows system with only a C drive listed within Computer/This PC:

  1. I have two USB drives - both different models. For the purpose of this example, let's refer to them as "Drive A" and "Drive B"

  2. I insert Drive A into the system, which is automatically assigned a mapping of "D" by Windows

  3. Whilst Drive A is still connected to the system, I then insert Drive B which is assigned a drive letter of "E"

  4. I then disconnect both USB drives, and reboot the system

  5. Finally, I then insert Drive B back into the system

At this point, Drive B is automatically assigned a drive letter of "E" - rather than "D", which would be the first logical choice for Windows to use; it's the first drive letter that isn't currently assigned to anything. Where does Windows store information relating to previously-inserted drives and their mappings, and is there any way to override this behaviour and simply tell Windows to always mount drives using the first letter available?

user965995
  • 1,335

1 Answers1

3

Windows remembers mount points in the registry at the key of HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices:

enter image description here

I can suggest the hack of renaming all the entries so they they all terminate by D:. Deleting them is probably just as good (do not delete the other entries).

I suggest exporting the above key to a file as a precaution, or creating a System Restore point before starting (just in case).

For more information see How to Change and Assign Drive Letter in Windows 10.

harrymc
  • 498,455