Force mapped drive not to connect at startup on Windows XP

R

ryanmhuc

I have a mapped drive on my laptop which can only be used when i am
connected to a VPN. On logging in it attempts to logon or connect to
the mapped drive and the login hangs for upto 60 additional seconds.
Is it possible to force the mapped drive not to logon until i actually
attempt to use the mapped drive? This way i can have a fast login?
 
L

Lanwench [MVP - Exchange]

I have a mapped drive on my laptop which can only be used when i am
connected to a VPN. On logging in it attempts to logon or connect to
the mapped drive and the login hangs for upto 60 additional seconds.
Is it possible to force the mapped drive not to logon until i actually
attempt to use the mapped drive? This way i can have a fast login?

I'd get rid of the persistent mapped drive in Windows, and create a batch
file login script to launch when you want to use the VPN connection.

net use x: \\server\share /persistent:no

....should be simple enough. You could also begin with

net use * /del /yes
 
V

V Green

"Lanwench [MVP - Exchange]"
I'd get rid of the persistent mapped drive in Windows, and create a batch
file login script to launch when you want to use the VPN connection.

net use x: \\server\share /persistent:no

...should be simple enough. You could also begin with

net use * /del /yes

And be aware that if you've mapped a network LPTx port that
will get deleted too...
 
L

Lanwench [MVP - Exchange]

V Green said:
"Lanwench [MVP - Exchange]"
I'd get rid of the persistent mapped drive in Windows, and create a
batch file login script to launch when you want to use the VPN
connection.

net use x: \\server\share /persistent:no

...should be simple enough. You could also begin with

net use * /del /yes

And be aware that if you've mapped a network LPTx port that
will get deleted too...

Yes, this is true. It's also a pretty rare situation to encounter nowadays,
but thanks for mentioning it.

Login scripts should do all mapping, in my opinion.
 
V

V Green

"Lanwench [MVP - Exchange]"
V Green said:
"Lanwench [MVP - Exchange]"
(e-mail address removed) wrote:
I have a mapped drive on my laptop which can only be used when i am
connected to a VPN. On logging in it attempts to logon or connect to
the mapped drive and the login hangs for upto 60 additional seconds.
Is it possible to force the mapped drive not to logon until i
actually attempt to use the mapped drive? This way i can have a
fast login?

I'd get rid of the persistent mapped drive in Windows, and create a
batch file login script to launch when you want to use the VPN
connection.

net use x: \\server\share /persistent:no

...should be simple enough. You could also begin with

net use * /del /yes

And be aware that if you've mapped a network LPTx port that
will get deleted too...

Yes, this is true. It's also a pretty rare situation to encounter nowadays,
but thanks for mentioning it.

Login scripts should do all mapping, in my opinion.

Yeah, there didn't used to be much of it, but there's been a
resurgence lately as a solution to Vista's problems printing
over networks...

(this is an XP group, but anyway...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top