Mapped Network Drive Showing as Disconnected

Configuration is Windows Server 2008 domain controller with Windows XP clients.

I've created a startup command file to map a network drive and then install an application on all the clients in the domain.  Commands are:

net use Z: \\server\share
Z:\setup.exe -s -f1Z:\setup.iss

Both commands execute successfully and application gets installed.  However, the mapped drive shows as "Disconnected Network Drive (Z:)"  although it's functioning as a connected drive.

I've tried using

net config server /autodisconnect:-1

but this didn't help.

While I'm accomplishing what's intended from the startup command file, I would like to solve the odd display of the mapped drive.
Who is Participating?
767WuLiMasterConnect With a Mentor Author Commented:
Uninstalled AVG 8.5 but still same results.

If I map a network drive in My Computer on the client, I get a message that a network drive couldn't be connected, but mapped drive displays correctly.

I can live with the problem, but troubling that mapping drives via a server startup command file doesn't behave properly. A Microsoft feature I guess.
jjkrauseConnect With a Mentor Commented:
Does it immediately show up as disconnected, or only after a period of time?

Are you using Symantec Antvirus on your XP clients?  If so, check (it says Server 2003 in the document though).

You can also try manually disconnecting the drive from the registry...
Delete the "##server##share entry", then in My Computer, Right Click the z: drive and disconnect.  Restart and let it reconnect the drive.
767WuLiMasterAuthor Commented:
It shows up immediately as disconnected.  The installed application needs the drive to be connected and for all practical purposes, it is.

I'm using AVG 8.5, (not the free version) on the clients. Perhaps a similar situation to Symantec.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.