Discussion Locked

XP Mapped Network Drive Disconnect

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have WinXP Pro connected to a workgroup. Everyone is setup to backup their data to a mapped network drive. My network drive stays connected OK until I run NTBACKUP. After about 30 minutes into the backup process it fails with the following error:

Windows - Delayed Write Failed. Windows was unable to save all of the data... The data has been lost.

The network drives are all disconnected. I can double-click on them and they reconnect. A small backup file exists. I can write to the drive and I can delete it. I have full control admin privileges.

I have done some research and have found many people have a problem with XP autodisconnect. I tried the following:

quoted from http://www25.brinkster.com/ChicagoTech
Why some mapped network drives show a red x

"SYMPTOMS: You find that the network drive mapping may be disconnected after 15 minutes of inactivity and Windows Explorer may display a red "X" on the icon of the mapped drive. However, if you double-click it reconnects quickly.

RESOLUTION: by default, idle connections will be dropped after 15 minutes. To modify idle time, at a command prompt using net config server /autodisconnect: minutes. For example, to set the Autodisconnect value to 30 minutes, you would run the following command line: net config server /autodisconnect:30. If you would like to turn autodisconnect off, do net config server /autodisconnect:-1."

OK So I went to my command prompt and successfully ran
net config server /autodisconnect:-1
but it did not help. NTBACKUP will not complete manually or scheduled.
All mapped network drives disconnect.

Any help on this is greatly appreciated.

6 replies

by jguasch

Try [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters]

"KeepAliveTime"=dword:00300000
"KeepAliveInterval"=dword:00001000

Or Copy that to a note pad and rename it keepalive.reg then double click on it and it will do the registry change for you.

What this does is that it sends keep alive packets every 5 minutes to the server you are mapped to making the connection live and not idle.

Also, does your XP workstation have a DNS entry? Sometime when the server can not resolve your IP via DNS (or wins) it will disconnect.

But try the registry change first.

by allen risler

The registry changes appears to have fixed this problem.
The backup has finished successflly to the mapped network drive for the first time with no other changes. This will come in handy for solving similar network disconnect problems. Problem solved! Thank you!

by mrjay67

Might also try turning off power management for your network card. Goto properties of your network connection and you should see a config button next to the card you have. Once in there in the advanced tab(i think) there may be an option for power saver or something like that. turn that off to see if it helps. Might also try turning off power saver features for hibernation and sleep. Check in the screensaver tab area for these.

hth,

Jason

by allen risler

This is a good point. The network card also has a power saving feture which I will disable. This was done after the regedit solved the problem already. I try things one at a time so that I know which measures actually fixed the problem.

by allen risler

NTBACKUP is in the process of writing backup.bkf when it disconnects. I can set NTBACKUP to create the same backup file to my D: drive hard disk partition, successfully, and I can copy and paste this 400MB file to my mapped network drive. It takes about an hour and does not disconnect. Power management is set to NEVER, Hibernation is disabled. Will try the REGEDIT and repost.

This discussion is closed to new replies.