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. techcoor 1,251 Reputation points
    2021-10-25T16:57:36.38+00:00

    Works perfectly fine if I do not reboot. If I reboot, I have to enter the password and no problem unless I reboot. I may just live with the inconvenience of having to enter the password each time the computer is reboot or not turning off the computer at night.
    Have tried ip address instead of servername.
    File and printer sharing are enabled.
    Would not know how to check ports are flowing between networks.

    No, I did not map the drive using command prompt in at administrator level this last time. I had started that way but when it did not seem to make any difference I just open a command prompt. If it does need to be done using command prompt run as administrator then I would expect the command to give me run at administrator level message.

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

    Followed Instructions to create EnableLinkedConnections and gave hex value of 1. (I would not expect any different results using Decimal 1. )
    Reboot computer.

    Ran Command Prompt as administrator
    net use * /delete
    net use z: \servername\sharename password /user:servername\user1 /persistent:yes
    The command completed successfully
    Verify mapped drive shows in File Explorer
    Reboot computer.
    Get the same results using Command Prompt run as administrator as without.
    Mapped drive shows with red x. Clicking the mapped drive opens an windows with correct user and have to enter a password.

    Just to cover ran net use z: \ipaddress\sharename password /user:ipaddress\user1 /persistent:yes using command prompt run as administrator.
    want to overwrite the remembered connection? (Y/N) [Y]: Selected Y
    System error 53 has occurred.
    The network path was not found.

    0 comments No comments

  2. Dave Patrick 426.1K Reputation points MVP
    2021-10-25T17:30:33.137+00:00

    Might take a look at what gets saved in Control Panel\User Accounts\Credential Manager

    --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-25T18:00:34.487+00:00

    If I go to Control Panel\User Accounts. I do not see a Credential Manager. I see Manage your credentials. Under Manage your credentials I see Web Credentials and Windows Credentials. Not sure what you are looking for.

    Probably the problem is Western Digital drive is not setup to work with Windows 10 file server. The log in for Western Digital is not the same for logging into Windows 10. Western Digital has their own software for using the Western Digital drive as a backup. I was trying map the drive for other applications ex Quickbooks. As indicated, I will have to enter the password each time the computer is rebooted.

    0 comments No comments

  4. Dave Patrick 426.1K Reputation points MVP
    2021-10-25T18:20:37.73+00:00

    log in for Western Digital is not the same

    Sounds good, may want to contact the vendor for support.

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

    0 comments No comments