Question Locked

Windows assigning drive letters

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have mapped a network drive and used the letter F but now every time I connect a usb device it assigns the usb device the letter F so I can't access it unless I go in to disk management and change the drive letter of the usb device, is there a way to force windows to assign the next device that is hooked to it the letter of my choice? Or is there a better fix?

3 replies

by thekonfuser

Disconnect the network drive. Plugin the USB device. Using Disk management, assign a new drive letter to the USB device (other than F:). Plugout and plug it back to see if it mounts to the new drive. Reboot the machine and check again if it still mounts to the new drive. If it does, you can now map the network drive to F.

by ben.rattigan

I have stopped using mapped network drives. Add the network share you normally map to drive F and add it to your My Network Places instead.

Using My Network Places is better because it uses the proper UNC path.

You can go to My Networks Places and manually add the new network place or use the following script if you want it to add them at login.

Dim objNet
dim strUserName
Dim net
Dim WSHShell
Dim removedrives

Set WSHShell = CreateObject("WScript.Shell")

Const NETHOOD = &H13&

Set objWSHShell = CreateObject("Wscript.Shell")
Set objShell = CreateObject("Shell.Application")

Set objFolder = objShell.Namespace(NETHOOD)
Set objFolderItem = objFolder.Self
strNetHood = objFolderItem.Path

strShortcutName = "Custom folder name"
strShortcutPath = "\\server\folderpath"

WSCript.Quit

This discussion is closed to new replies.