How to Fix: The Local Device Name is Already in Use on Windows

Configurare noua (How To)

Situatie

The error “The local device name is already in use” on Windows, usually occurs when the drive letter assigned to a network shared folder is already being used by another disk or drive on the system. Beyond that, the “local device name is already in use” problem can also appear if the “File and Printer Sharing” feature is not allowed in the Firewall, or if the computer’s connection to the domain is incorrect or unsuccessful (for domain-joined computers).

Solutie

Pasi de urmat
Ensure that the Driver Letter is not Used to another Disk/Drive
  1. Press the Windows R keys to open run command box.
  2. In run command box, type: diskmgmt.msc and hit Enter or click OK to open Windows Disk Management console.
  3. In Disk Management, check the drive letters already assigned to your local disks/drives/removable drives/CDROMs, etc., and make sure that no one of them is the same as the drive letter you have assigned to the network mapped drive.
  4. To change the drive letter of the local drive, right-click on it and select Change Drive Letter and Paths…
  5. Then click Change.
  6. Use the drop-down menu to choose a different drive letter and click OK and then Yes to confirm the change.
  7. Restart the PC and check if the problem is solved.
Remap the Network Drive using Command Prompt
  1. Type command prompt in the search box. Then select the Command Prompt app and click Run as administrator.
  2. In the command prompt type the following command and hit Enter to remove all the network mapped drives and click when prompted.
    • net use * /delete
  3. When the operation is complete, type the following command to re-map the network drive/shared folder and press Enter:
    • net use Drive_Letter: \\Server\Share /user:username password
  4. Now open explorer and see if the error “The local device name is already in use” has been resolved.
Enable File and Printer Sharing in Windows Defender Firewall
  1. Type control panel in the search box and click on Control Panel app shown under Best match results.
  2. Set the View by: to “Large icons” or to “Small icons“, then click on the Windows Defender Firewall.
  3. Then click Allow an app or feature through Windows Firewall, from the left side list of options.
  4. Click the Change settings button in the upper right corner of the window.
  5. Locate and check the box next to the File and Printer Sharing option and also check the boxes Private and Public. When done, click OK to apply the change.
  6. Finally, restart your computer to see if the error persists.

Tip solutie

Permanent

Voteaza

(3 din 5 persoane apreciaza acest articol)

Despre Autor

Leave A Comment?