Mapped network drive does not connect
Symptom
- A user cannot open a mapped network drive, for example the L: drive or the V: drive.
- The drive letter is not in File Explorer, or the drive shows an error when the user opens it.
- At sign-in, a command window can show a message about a drive-mapping problem.
- The problem usually affects one user on one computer.
Cause
The sources show these causes:
- The computer is not on the office network, and the secure-access client (VPN or zero-trust client) is not connected.
- The secure-access client is not installed on the computer.
- The password of the user account expired, or Windows has an incorrect password for the file server.
- The drive mapping is missing from the user profile.
- The secure-access service has an outage. In this case, many users can have the problem at the same time.
Note: A drive mapping is set for each user, not for each computer. A mapping made in the system context does not show for the user.
Fix steps
- Connect to the computer of the user with the remote support tool.
- Ask the user for the drive letter and the exact error message.
- Look at the drive in File Explorer.
- If the drive shows a red X but opens when the user clicks it, the drive is correct. Windows shows a red X on a drive that was not used for some time. Stop here.
- Find out if the user works in the office or at a remote location.
- If the user works at a remote location, make sure that the secure-access client is installed.
- If the secure-access client is not installed, install it with the device management tool. Then restart the computer.
- Connect the secure-access client. Wait a short time for the connection to complete. Then open the drive again.
- Test the connection to the file server on port 445. In PowerShell, use this command:
Test-NetConnection <file server name> -Port 445. - If the test fails, stop and go to step 16.
- If the drive is still not available, disconnect the drive.
- Map the drive again. Use the drive letter and the
\\server\sharepath from the file-sharing record of the client in the documentation system. - If Windows shows a password error, look at the user account. If the password expired, reset it with the user. Then have the user sign out and sign in again.
- If the mapping does not stay after a restart, run the drive-mapping script from the device management tool. Set the script to run in the user context, not the system context.
- Have the user restart and sign in. Then go to "How to check the fix".
- If the test on port 445 fails for many users at the same time, look at the status page of the secure-access service provider. If the provider shows an outage, tell your team lead. Tell the users that the provider has an outage.
How to check the fix
- Have the user open the drive in File Explorer.
- Have the user open one file on the drive.
- Have the user restart the computer and sign in again.
- Make sure that the drive is still available after the restart.
- If the user works at a remote location, do the check again with the secure-access client connected.
