In Windows XP/2003/Vista/2008, when a removable drive (USB flash drive, flash card reader, portable hard drive, etc.) is attached for the first time, Windows mounts it to the first available local drive letter.
So far so good. But if there is a network share on this letter, Windows will use it anyway for the new USB drive, because network shares are specific to the current user and not visible in the context of the system where the letter is assigned.
In this example I have a USB disk that had been previously assigned the first available drive letter (F: in my case). I removed it, and then mapped a network share to the same drive letter:
I now re-inserted the USB disk, but it did not get the F: drive letter assigned to it as it had before, because the network share now holds the F: drive letter. The USB disk appears to be invisible, and opening Windows Explorer does not show you the inserted disk.
You can change the letter assignments in the Windows Disk Management Console with a lot of mouse clicks but you have to do it again for every new device.
To change the assigned drive letter open Computer Management from the Administrative Tools folder, or by right-clicking My Computer > Manage.
Expand Storage > Disk Management. There you’ll see the USB disk with its original drive letter (or no drive letter at all, depending on your OS).
Right-click the partition on the removable disk and select Change Drive Letter and Paths.
In the Change Drive Letter and Paths For window, click Change.
In the Change Drive Letter and Paths window, click the drive letter drop down list and select the right drive letter.
You will be prompted about the fact that some programs or shortcuts might stop working if you change the disk’s drive letter. Click Yes.
You can now access the USB drive.
Enter the USBDLM utility
The USBDLM is a freeware for personal use Windows service that gives control over Window’s drive letter assignment for USB drives. Running as service makes it independent of the logged on user’s privileges, so there is no need to give the users the privilege to change drive letters.It automatically solves conflicts between USB drives and network drives of the currently logged on user. Furthermore you can define new default letters for USB drives and much more.
USB drive letter manager – USBDLM http://www.uwe-sieber.de/usbdlm_e.html
Download USBDLMhttp://www.uwe-sieber.de/files/usbdlm.zip (about 180KB)
What can USBDLM do for newly attached USB drives?
- Check if the letter is used by a network share of the currently logged on user and assign the next letter that is really available
- Reserve letters, so they are not used for local drives
- Assign a letter from a list of new default letters, also dependent on many different criteria as the active user, drive type, connection (USB, FireWire), USB port, volume label, size and others
- Assign letters for a specific USB drive by putting an INI file on the drive
- Remove the drive letters of card readers until a card is inserted
- Show a balloon tip with the assigned drive letter(s)
- Define autorun events depending on many different criteria
- Many other things, see help file, available online as HTML version too
All functions are applied to USB drives at the moment they are being attached, when the USBDLM service starts up and when a user logs on.
Instructions can be found on the author’s site, so you’d better read them from there.
Running without a configuration USBDLM only prevents that an USB drive gets the letter of a network share drive of the currently logged on user. It remounts then to the next letter that is really available.
However it is worth noting that USBDLM is configured thru a text file, the USBDLM.INI. The USBDLM.INI is read from the folder of the USBDLM.EXE.
New default letters for new USB drives (flash or hard drive)
USBDLM can have up to 9 ‘LetterX’ entries in each section. They don’t have to be continuous.
For Card readers, the typical 20-in-1 card reader eats one drive letter for each of its slots – if we have a card for or not. USBDLM can remove the reader’s drive letter until a media is inserted.
USBDLM assings then a drive letter as configured. If you need different drive letters for a multislot cardreader, then use the criterion ‘DeviceType’ in a DriveLetters section (MSCR is short for MultiSlotCardReaders which can be used too):
You can prevent Windows mounting to certain letters by putting them into section ExcludedLetters. This is especially useful for letters of network shares which Windows may assign to USB drives while booting.
USBDLM can show a balloon tip with information about the drive letter(s) or mount points used for a just attached drive:
I hope you found this article useful, and that it saves you time on the job!
Got a question? Post it on our Windows Server 2008 forums!
This is a guide on how to change the drive letter in Windows for an external USB device like a hard drive or USB stick. Here’s a common problem that I have seen: You plug in a USB flash drive into your computer and it says ready to use, but for some reason nothing shows up in the list of drives. Take it out, plug it back in and still nothing shows up! What’s the problem? Well, it could be several things, but the most common issue is that the drive letter Windows is trying to assign to your device is already taken by another device or is mapped to a network drive.
Sadly, Windows does not always figure this out by itself (which is should) and your drive is basically lost in computer neverland. In order to fix it, we need to go to Computer Management and assign the drive letter manually. There are two ways to get to the Computer Management dialog in Windows, one through Control Panel and the second by right-clicking Computer and choosing Manage.
Right-click My Computer
Computer Management in Administrative Tools
Click on Disk Management under the Storage section and the right side will show you all of the current drives and partitions on your drive. If you don’t know what that means, don’t worry, just find the drive you are looking for in the graphs at the bottom. They are usually named Disk 0, Disk 1, CD-ROM, CD-ROM1, etc. If you’re looking for a USB flash drive, you’ll see the word “Removable” underneath Disk X. In my case, it’s the I: drive that is removable. However, if you have a large USB hard drive connected, then it may show up as an additional hard disk like mine shown below (H:).
By default, Windows gave my portable USB drive the letter H. If your drive has no letter or you want to change it, then right-click in the white space to the right of the drive letter and choose Change Drive Letter and Paths.
Click the Change button in the dialog box and then pick a new letter from the drop-down list. Just for your info, the Mount in the following NTFS folder option is used if you had right clicked on an external hard drive and instead of giving it a drive letter, you wanted to just have it show up as a folder on your current hard drive. That means you could create a folder in My Documents called pictures that actually points to another hard drive instead of one where all of your My Documents are currently stored.
Click Ok twice and your drive should now have the new letter assigned. Usually, if the USB stick was not showing up before, once you change the letter, it will automatically pop up and ask you what you want to do. That’s about it! You can also use Disk Management to format disks, determine the type of File System and see the amount of free space available.