Does anyone know of a way to assign a specific drive letter automatically to
multiple USB drives at the time it is attached?
I have a situation where two USB drives are swapped in sequence (for daily
backups) and I need them to be assigned the same drive letter each time.
Both drives will never be attached to the same system at the same time.
Scenario:
1-USB_Drive1 is attached and assigned W:
2-USB_Drive1 is removed
3-USB_Drive2 is attached and assigned W:
4-USB_Drive2 is removed
5-repeat 1-4
I thought I could assign both drives a letter via disk manager one at a
time, but when I attach the previous drive Windows assigns it drive letter
F: instead of W:. I think Windows only allows one drive letter assignment
per drive regardless of whether the letter is available or not (no
multi-drive reservations) [maybe there is a way to do it in the registry?].
Normally I'd be OK with using two drive letters but in this case it won't
work as I have no direct control over which of the 2 drives is actually
attached on which day.
I saw something (a script I think) a while back for detecting when a USB
device is attached and notifying a specific user, but I can't find it now
("of course"). I was hoping I could just modify 'it' to check for a
signature file (ie: "DriveSig.txt"), or something on any newly inserted USB
drives and re-assign the letter accordingly, but I'm at a loss.
Is there a reliable way to accomplish this goal?


Reply With Quote

Bookmarks