Solved

Network drives keep disappearing

Posted on 2008-06-16
3
1,246 Views
Last Modified: 2013-12-02
Hi

We have a number of network drives mapped to Shares on a DFSRoot using a batch file which runs each time the user logs on. Intermittently a number of these drives disconnect themselves and disappear from display within 'my computer'.  There seems no pattern to why these drives are disconnecting as it happens to different computers at different times of day. I have already tried editing the registry to turn off autodisconnect of network drives but this doesn't seem to have worked.

We are running Windows XP PCs on a Windows 2003 domain.

Can anybody please help?
0
Comment
Question by:storyconstruction
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:virtuatech
ID: 21793054
You might have to use /persistent:no or /p:no in your command.  Check:
http://www.ss64.com/nt/net_use.html
0
 

Author Comment

by:storyconstruction
ID: 21793127
I already have the /persistent:yes switch enabled on the batch file. I have attached the code in the batch file
net use g: /d
net use i: /d
net use n: /d
net use o: /d
net use p: /d
net use r: /d
net use s: /d
net use t: /d
net use x: /d
net use w: /d
 
 
net use f: \\storyconstruct.local\dfsroot\HCUsers\%username% /persistent:yes
net use g: \\storyconstruct.local\dfsroot\common /persistent:yes
net use i: \\storyconstruct.local\dfsroot\SYS /persistent:yes
net use o: \\storyconstruct.local\dfsroot\Archive /persistent:yes
net use p: \\storyconstruct.local\dfsroot\Causeway /persistent:yes
net use r: \\storyconstruct.local\dfsroot\StoryRail /persistent:yes
net use x: \\storyconstruct.local\dfsroot\StoryHomes /persistent:yes
net use w: \\storyconstruct.local\dfsroot\StoryImages /persistent:yes
 
\\storyconstruct.local\netlogon\bginfo  \\storyconstruct.local\netlogon\config.bgi /timer:0
 
net config server /autodisconnect:-1
 
\\dcserver\ezaudit\ezstart.exe /auto

Open in new window

0
 
LVL 5

Accepted Solution

by:
virtuatech earned 500 total points
ID: 21808033
The use is /persistent:no for login scripts, then you wouldn't have to do the /d to delete the drives.
Check this out:

http://www.itnewsgroups.net/group/microsoft.public.windows.server.general/topic29123.aspx

Also check these scripts out, they are used for situations where drives need to be remapped:

http://www.petri.co.il/forums/showthread.php?t=24125
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question