This is not a duplicate of Is there any way to force Windows to map inserted USB drives using the first available drive letter?. I am not asking about assignment of USB drives to drive letters, but rather device mapping (e.g. \Device\Harrdisk1\Partition1
).
I use two separate USB drives each day. For security reasons, they are removed and securely stored separately from the PC at the end of each day, and each morning I retrieve them and plug them in. Each of them contains a separate Veracrypt volume which is mounted when they're plugged in. Different files are written on each volume, which in some cases is automatic, so each must be mounted to a specific drive letter.
The (perhaps admittedly minor) issue that I encounter is that the device mapping of each USB drive randomly changes. Let's call the two physical drives Alpha and Beta. Some days, Alpha shows up in Veracrypt as \Device\Harrdisk1\Partition1
, while other days it shows up as \Device\Harrdisk2\Partition1
. The same of course applies to Beta. I don't know of any way to discern one from the other prior to mounting in Veracrypt, so sometimes Alpha ends up being mounted to Y: when it should be mounted to X:.
I can of course examine the contents of a given drive once mounted to see if I've mounted the correct drive to the correct drive letter, but it's a bit of a pain to do this each day, every day. And on occasion I do forget to check and it causes more problems.
What I'd like to know is if there is any way to "fix" the device mapping of each of USB drives so that it remains persistent over time, such that each time Alpha is plugged in, it will always be mapped to \Device\Harrdisk1\Partition1
(and of course the same with Beta).
Any suggestions would be most appreciated.
\Device\Harrdisk1\Partition1
would ever be visible to the user (except may be in the disk management MMC). Therefore the paths is not persistent. BTW: When the USB device changes to\Device\Harrdisk2\Partition1
how many disks do you see in disks management MMC?