Question

  • Creator
    Topic
  • #2226037

    Windows assigning drive letters

    Locked

    by deerek11 ·

    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?

All Answers

  • Author
    Replies
    • #2608196

      Clarifications

      by deerek11 ·

      In reply to Windows assigning drive letters

      Clarifications

    • #2608176

      I havent tried this, but I guess this should work.

      by thekonfuser ·

      In reply to Windows assigning drive letters

      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.

    • #2608151

      No mapped drives

      by ben.rattigan ·

      In reply to Windows assigning drive letters

      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

Viewing 2 reply threads