3

Possible Duplicate:
How do I make an external hard drive keep the same drive letter permanently?
Unable to make USB drive letter stick
Force a USB device to use a certain drive letter

I have to ensure that a USB HDD mounts to a specific drive letter if pluged in.

This may seem a duplicate of many other questions, but I can't use USBDLM (USB Drive Letter Manager) on the host machine. An autorun batch would be great. Or can you help me writing a c# autorun app for my problem?

1 Answers1

1

In Windows I believe you can set that in the control panel, system administration, computer management, removable storage. (I'm translating here so yours might be slightly different)

You could make a reg dump, configure your own system so it does that, make another reg dump and see what's changed. That registry change you could import using a batch file or something.

I don't usually work with windows anymore, but that's what I remember :)

A windows registry dump can be made with, for example, regedit. (choose export)

Also have a look at this post which may describe what you want.