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?
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?