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-23T22:38:20.397+00:00

    Then you can do

    net use e: \\servername\sharename /persistent:yes
    

    and of course use any drive letter you wanted.

    the user name and the password are asked for

    domain of workgroup? If a domain then set the user permissions on the share.

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


  2. Dave Patrick 426.1K Reputation points MVP
    2021-10-23T23:39:28.533+00:00

    Is this a domain environment? I'd check the share permissions are correct. You might also try disjoin / rejoin the domain.

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

    0 comments No comments

  3. techcoor 1,251 Reputation points
    2021-10-23T23:53:30.023+00:00

    Computer is not on a domain.

    0 comments No comments

  4. techcoor 1,251 Reputation points
    2021-10-24T22:58:29.893+00:00

    net use e: \servername\sharename password /user:servername\user1 /persistent:yes.
    Did not use net use * /delete so got want to overwrite the remembered connection? (Y/N) [Y] and entered Y
    On reboot get red X and window asking for password.
    Checked Remember my credentials.
    On reboot get red X and window asking for password