Getting WebDAV connections to last

  • Thread starter Thread starter Mark Barnes (Jao)
  • Start date Start date
M

Mark Barnes (Jao)

Hi

I have a simple batchfile which I use to allow my users access to our WebDav
server. it looks like this.

@echo off
net use h: /delete /y
cls
net use h: \\myserver.mydomain.com\home * /USER:%username%
pause

Clicking on the bat produces a "please insert your password" prompt, which
the user does and voila they are connected to the server by a "h:" drive.

Now under Vista, this connection lasts forever until the machine is
restarted. If the connection is lost for any reason (like the internet dies
for a period), or the PC is restarted just re-clicking on the bat file will
re-establish the connection when network connectivity is restored.

On XP however the connection lasts about 15 minutes. Any attempt to use the
h: drive is simply met with "access is denied" messages. Re-clicking on the
bat file results in "System error 1214 has occurred. The format of the
specified network name is invalid."

Anyone any suggestions or ideas?
 
Hi

Thanks but not really relevant cos

a) There is no powersaving enabled
b) Additional true non-WebDAV'd mapped drives don't time out after 15
mintues. They last forever.
 
Back
Top