Link to home
Start Free TrialLog in
Avatar of Van Johnson
Van JohnsonFlag for United States of America

asked on

Network Drive disconnects on restart

I have a Windows(ver. 1903) 10 Dell 9020 desktop.  
1. This computer is part of a domain
2. I have mapped several UNC (to the servers) drives from M to P
3. All of the drives function properly with the exception of the M drive
4. After mapping the M drive ( have tried both with an IP Address and a Computer Name) the drive functions properly.  I can view the contents of the drive.
5. HOWEVER, each time the computer is restarted the M drive is disconnected (I cannot see the drive in Windows explorer).  
6. All the other drives continue to function properly.
7. After the computer has restarted I can map the M drive again and it functions properly until restart.

Notes: a. I click to reconnect on restart
b. The M drive is mapped to a folder that goes to an Accounting program (in other words if the M drive is disconnected the Accounting program does not open.
c. Other computers on the network are able to use the M drive successfully.  It is only one computer.
d. I have used the netuse command "net use x: /delete" followed by "net use x: \\server\share" however the drive does not show in Windows Explorer.
e. I have browsed but the local group policy and the startup folder for anything related to override or disconnect the M drive

Please Advice
Thanks in Advance
Avatar of Hello There
Hello There

Try to use:
net use M: \\server\share /persistent:yes

Open in new window

Avatar of Van Johnson

ASKER

I am sorry to say this net use command did not work.   I even tried the following command
 net use M: \\<path>\folder /user:<user> <password> /persistent:yes
 which did not work either.   When I run the command the mapped drive does appear.  However, when I do a restart the drive disappears.
ASKER CERTIFIED SOLUTION
Avatar of Hello There
Hello There

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes, I have tested a different drive letter N:  
This drive letter functions properly(as do all the other drive letters I have mapped). The only problem with using a different drive letter is the software does not open (license issue).  I am looking at the possibility the drive letter M is referenced in the preferences for this software.

I will check on the regedit entry.
Nothing is referenced in:

 -> HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices ->
I tested this issue across 2 other user profiles on the same computer.  The issue is not user-specific.  On each profile after creating the mapped drive with the drive letter M after restart the mapped drive disappears.
Can you confirm that there is no GPO policy or logon script that deletes M: drive?

Run in CMD: mountvol /r -> then map the M: drive -> reboot.
Any change? If not...

HKEY_CURRENT_USER\Network -> Create a new registry key named "M" -> create all required DWORDs and strings (copy values from the other Key)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 -> delete M if you find it
Then reboot. Any change?
You can create a logon script or apply a GPO policy that will map just the M drive at logon.
Sorry for the delay.  I ended up using a different drive letter.  I then had to change all the references from the old drive letter to the new drive letter in the Finance software.  
I am good to go now.
Thanks for the help and suggestions.
I am glad you found a workaround.