The local device name is already in use when accessing mapped drive after computer reboot.

techcoor 1,251 Reputation points
2021-10-22T14:20:50.693+00:00

Mapping the drive in Windows 10 can be done using either drive name or IP address. However, when the computer is rebooted can not access the drive (mapped drive shows with red X)

An Error occurred while reconnecting Z: to \MYCLOUDEX2ULTRA\Public
Microsoft Windows Network: The local device name is already in use.

Tried mapping using command prompt and command is accepted but the mapping does not show in File Explorer. ex How to map network drive using Command Prompt on Windows 10 • Pureinfotech net use Z: \vm-beta\ShareOne password /user:admin /persistent:yes

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,274 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dave Patrick 426.1K Reputation points MVP
    2021-10-24T00:16:35.33+00:00

    Try

    net use e: \\servername\sharename password /user:servername\user1 /persistent:yes
    

    --please don't forget to upvote and Accept as answer if the reply is helpful--


17 additional answers

Sort by: Most helpful
  1. Dave Patrick 426.1K Reputation points MVP
    2021-10-24T23:01:21.703+00:00

    Sounds like some problem with "user1" permissions on share or underlying NTFS folder / files or the password is wrong or the account doesn't exist on "servername"

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. techcoor 1,251 Reputation points
    2021-10-24T23:16:27.48+00:00

    Seems like the password and the account exist as the command would not be accepted and would error out. I always get "The command completed successfully." In addition the command works as long as I do not boot the computer.

    The Permissions on the folder are as follows:

    143155-local-device-name-is-already-in-use.jpg

    0 comments No comments

  3. Dave Patrick 426.1K Reputation points MVP
    2021-10-24T23:36:36.447+00:00

    Does it work at all without reboot? If not might also try the ip addresss in place of servername in both places in case there's no name server or name resolution. Also check file and printer sharing is enabled for the network profile being used. Check the ports are flowing between networks.
    https://www.microsoft.com/en-us/download/details.aspx?id=24009

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  4. MotoX80 32,066 Reputation points
    2021-10-25T00:42:17.703+00:00

    Are you mapping the drive in an elevated (UAC) command prompt? You may need to add the registry key for
    EnableLinkedConnections.

    https://winaero.com/make-network-mapped-drives-available-in-elevated-command-prompt/

    0 comments No comments