Fixes

Easily Fix The Local Device Name is Already in Use Error [Complete Guide]

If you are getting The Local Device Name is Already in Use error while trying to create a new partition, we recommend that you go through this article in which we have written the most important steps that you can undertake to fix it completely on your computer.

The Local Device Name is Already in Use
The Local Device Name is Already in Use

Before you Start:

  • Firstly, you need to ensure that there is enough space available on the Network that you are trying to access. Low disk space can very well disrupt the functionality of the normal operations of Windows and cause errors to occur. You should free up about 10GB of space before trying again. Make sure that the server you are trying to access has not turned off, does not exist, or is disabled. If this did not work for you then follow through with the other fixes.
  • If you have changed your internet connection then most probably it is causing issues. Try using your old connection and see if that works.

Fix 1: Remapping the Drive

  1. Press “Window + R”, type in “cmd” and press “Ctrl + Shift + Enter” on your keyboard.
    Typing in cmd
    Typing in cmd
  2. Type in “net use * /delete” and press Enter, then type in “net use Z: \\server\share /user:username password” (instead of the username and password, type in your own).
  3. If that did not work then try typing in: “psexec \\localhost -s cmd” and press Enter, then type in: “net use * /delete” and press Enter.
  4. Press Enter and see if the issue is resolved now.
Follow the step to Remap the Drive manually:
  1. Press “Window + E” to access the explorer, right-click “Network” from the navigation pane on the left and select “Map network drive…”.
    Selecting the "Map Network Drive" option to fix The Local Device Name is Already in Use
    Selecting the “Map Network Drive” option
  2. Fill in all the details accordingly and then press “Finish” and check to see if the “The Local Device Name is Already in Use issue” is resolved now.

Fix 2: Rebooting/Reinitializing the Computer Browser

The “Computer Browser” might sometimes interfere with the Windows functionality, causing different issues such as “The Local Device Name is Already in Use”. Follow the steps below to reboot/reinitialize the computer browser:

  1. Press “Window + R”, type in “cmd” and press “Ctrl + Shift + Enter” to run the cmd as administrator.
    Typing in cmd
    Typing in cmd
  2. Type in the following command and press “Enter”.
    net stop "Computer Browser"
  3. After that, type in the following command and press “Enter”.
    net start "Computer Browser"
  4. Restart your PC and check to see if the “The Local Device Name is Already in Use issue” is solved.

Fix 3: Enabling File and Printer Sharing

  1. Press “Window + S”, type in “Windows Defender Firewall” and press Enter on your keyboard.
  2. From the options on the left, select “Allow an app or feature through Windows Defender Firewall”.
    Allow app or feature through Windows Defender Firewall
    Allow an app or feature through Windows Defender Firewall
  3. Click “Change settings” and locate “File and Printer Sharing” and tick all its checkboxes.
  4. Press OK, restart your PC and check to see if the issue is now resolved.

Fix 4: Checking for any Missing Drive Letters

Sometimes, the drive letter just might not work for you and you will need to change the driver letter for it to appear on the Disk Management and to be properly remapped. Also, remove any duplications by changing the driver letters to something else. If the mapping was done from a different user account, then it will only be available to that specific account. You can either log back into the same account or try running an account with Administrator privileges.

Follow the steps below to assign the letter properly:

  1. Press “Window + X” and select “Disk Management”.
    Disk Management
    Disk Management
  2. Once the window opens, look for drives with no letters assigned or the one you want to change letters for.
  3. Right-click it and select “Change Drive Letter and Paths…”. After that, press “Add” and select “Change”. (It is advised, not to choose “A” and “B” as they are reserved for the floppy.
    Change Drive letter and paths to fix The Local Device Name is Already in Use
    Change Drive letter and paths
  4. Choose from the list of available letters and click “OK”.
  5. Restart your PC and see if the issue is resolved now.

Fix 5: Modifying the Registry

There is an entry in the Registry which can be the possible cause of this issue. You will need to delete this entry to gain access to the Network again. However, be very careful not to change/delete anything extra in the registry. Follow the steps below to delete “MountPoints2”:

  1. Press “Windows + R”, type in “regedit” and press Enter on your keyboard.
    Typing "regedit"
    Typing “regedit”
  2. Once the Registry Editor opens, navigate to the following location.
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer
  3. Right-click “MountPoints2” from the options on the left and select “Delete”.
    Selecting "Delete"
    Selecting “Delete”
  4. Restart your PC and see if the issue is resolved.

In addition to deleting “MountPoints2”, you can also try changing the “ProtectionMode” value in the registry. Follow the steps below to do so:

  1. Once in the Registry Editor, navigate to the following path.
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SessionManager\
  2. Look for “Protection Mode”, double click it and change its value from 0 to 1.
  3. In addition, navigate to the following path.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mup\
  4. Look for “EnableDeviceNameCreateRetry”, right-click it and click “Modify” or simply double click it and change the value to 1.
  5. Restart your PC and see if the issue is resolved now

Fix 6: Restarting Services

Log in from an account with Administrator privileges and follow the steps below:

  1. Press “Window + R”, type in “services.msc” and press Enter on your keyboard.
    Typing in "services.msc"
    Typing in “services.msc”
  2. Once the “Services” window opens, look for “Remote Desktop Services”.
  3. Right-click on it and select “Restart”.
  4. After doing so, make sure to close out of there and check to see if the “The Local Device Name is Already in Use” issue is fixed.

Fix 7: Logging in from a Local Account

  1. Press “Window + S”, type in “Manage your account” and press Enter on your keyboard.
    Selecting "Manage your Account"
    Selecting “Manage your Account”
  2. Select “Sign in with a local account instead” and after that, make sure to create the local account using the instructions that have been presented on your screen.
  3. Check if the issue is resolved.

Fix 8: Changing Network status to Private/Work

By the looks of it, you might think that this fix will not fix anything, but it fixed the issue for numerous people. Follow the steps below to change the Network status Private/Work:

  1. Press “Window + S”, type in “Network Status” and press Enter on your keyboard.
  2. Select “Properties” under the name of your Wifi Connection and in the “Network Profile”, choose the option “Private”.
    Selecting the "Private" option under Network Profile
    Selecting the “Private” option under Network Profile
  3. Check if the “The Local Device Name is Already in Use” issue is resolved now.

If you are using a VPN to access the network then there is a strong possibility that the VPN is interfering with the connection. Try switching it off or restarting it and see if that resolves the issue.

Another solution would be to try changing the network metrics.

Fix 9: Replacing Hostname with IP address

  1. Press “Window + R”, type in “cmd” and press “Ctrl + Shift + Enter” on your keyboard.
    Typing in cmd
    Typing in cmd
  2. Type in “ping hostname” (Type in your hostname instead of hostname) and the IP address will be returned to you.
  3. Now, navigate to the following location.
     C:\Windows\System32\drivers\etc
  4. Open the file “hosts” using notepad and add in the IP address instead of the hostname mentioned in it
  5. Restart your PC and check if the Local Device Name is Already in Use issue is resolved now

If the issue is still not resolved, contact us for further information.

Alan Adams

Alan is a hardcore tech enthusiast that lives and breathes tech. When he is not indulged in playing the latest video games, he helps users with technical problems that they might run into. Alan is a Computer Science Graduate with a Masters in Data Science.
Back to top button