Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Map Network Drive shows "Disconnected" 1

Status
Not open for further replies.
Joined
Sep 21, 2004
Messages
108
Location
US
I created a startup script which will map a network drive in the Group Policy. My server runs on Windows 2003 and my clients are XP Pro.
The logon scipt is working and I see the network drive is mapped. However, it shows "Disconnected" in front of the network drive.
In Windows Explorer, it shows like

Disconnected Network Drive X:

Why does that happen?
 
I suggest you to alter the startup script to do a non-persistent mapping of network drives(/persistent:no). Also, consider turning off AUTODISCONNECT option on the server or increase the AUTODISCONNECT time (by default, every idle connection will be dropped in 15 mins).

Regards

Keshav
 
I have changed the logon scripts to

net use x: \\test-server\share /persistent:no

but I still see disconnected network drive X in the workstation's My computer window. I can access the network drive without any problem.
Any ideas?
 
One important note!
I only see the "Disconnected Network Drive" if I add the logon script in the startup/shutdown scripts of the computer settings' of my GPO.
If I add the logon script to the user settings, I see the network drive mapped normally.
 
This is normal when we take it logically. Computer settings GPOs are computer specific. when we map a network drive using a script through computer settings, this will be a logical connection to the network drive. In other words, the drive will be mapped but won't be connected. The connection will be established only when the user attempts to access the mapped drive. Network drives mapped through user settings will be otherwise: network drives will be mapped and connected immediately.
 
Maybe you are right. Although it shows "Disconnected," I can always access the network drive without problem. Does this mean if I should use user settings rather than computer settings to map network drive in group policy?
Showing "Disconnected" really looks bad.
 
oops sorry the command is
net config server /autodisconnect:-1

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top