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?

Re: Force mapped drive not to connect at startup on Windows XP by Lanwench

Lanwench
Sat May 17 06:33:55 PDT 2008

ryanmhuc@yahoo.com 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




Re: Force mapped drive not to connect at startup on Windows XP by V

V
Sat May 17 08:39:54 PDT 2008


"Lanwench [MVP - Exchange]"
<lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
news:OfKEZMCuIHA.4952@TK2MSFTNGP05.phx.gbl...
> ryanmhuc@yahoo.com 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...

>
>
>



Re: Force mapped drive not to connect at startup on Windows XP by Lanwench

Lanwench
Sat May 17 09:52:42 PDT 2008

V Green <vanceg@nowhere.net> wrote:
> "Lanwench [MVP - Exchange]"
> <lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in
> message news:OfKEZMCuIHA.4952@TK2MSFTNGP05.phx.gbl...
>> ryanmhuc@yahoo.com 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.



Re: Force mapped drive not to connect at startup on Windows XP by V

V
Sat May 17 11:01:44 PDT 2008


"Lanwench [MVP - Exchange]"
<lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
news:%23Qzjy9DuIHA.5500@TK2MSFTNGP04.phx.gbl...
> V Green <vanceg@nowhere.net> wrote:
> > "Lanwench [MVP - Exchange]"
> > <lanwench@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in
> > message news:OfKEZMCuIHA.4952@TK2MSFTNGP05.phx.gbl...
> >> ryanmhuc@yahoo.com 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...)

>
>