is there anyway to automatically start a VPN connection at Windows Start up

Posted: 04-19-2004, 05:53 AM
Hey guys,

I have a VPN connection to work and I was wondering if is there a way to
connect at boot up time automatically. So my map drive will automatically
connect when I turn on my computer. I have cable modem so I have always have
connection to the internet so my VPN should connect.

Ankit Shah


Reply With Quote

Responses to "is there anyway to automatically start a VPN connection at Windows Start up"

Sharoon Shetty K [MSFT]
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-20-2004, 06:27 AM
You could create a batch file to use rasdial to dial the CM connection with
the username and password and place it in the startup dir so it would be run
at start up.
--

Thanks
Sharoon
sharoons@online.microsoft.com


This posting is provided "AS IS" with no warranties, and confers no rights.

"Ankit Shah" <AnkitShah15@hotmail.com> wrote in message
news:%23zYY4KdJEHA.2604@tk2msftngp13.phx.gbl...
> Hey guys,
>
> I have a VPN connection to work and I was wondering if is there a way to
> connect at boot up time automatically. So my map drive will automatically
> connect when I turn on my computer. I have cable modem so I have always
have
> connection to the internet so my VPN should connect.
>
> Ankit Shah
>
>

Reply With Quote
Bob
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-20-2004, 09:30 AM
On Tue, 20 Apr 2004 11:57:32 +0530, "Sharoon Shetty K [MSFT]"
<sharoons@online.microsoft.com> wrote:
>You could create a batch file to use rasdial to dial the CM connection with
>the username and password and place it in the startup dir so it would be run
>at start up.
What would such a script look like?


--

Map Of The Vast Right Wing Conspiracy:
http://www.freewebs.com/vrwc/

"You can all go to hell, and I will go to Texas."
--David Crockett

Reply With Quote
vagabond
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-20-2004, 01:34 PM
Something like this:

a) First create a suitable location (say c:\batch).

b) Then create a shortcut to the connection in this location (r-click, drag, choose create shortcut)
create the following batch file

@ECHO OFF

PING localhost -n 20 -w 1000 >NUL

START RASDIAL.EXE <connection_name> <user_name> <password>

:End

c) Then create a shortcut to this batch file in the startup group.

Points to note:

1. I have added a 20 second delay to give time for things to start (esp dsl-modem) but as you're using permanent connection you might want to remove this.

2. It seems to be important to have the shortcut to the dun and the batch file in the same location.

3. Not sure about spaces in the dun shortcut name - if there are any you could try enclosing in double quotes or renaming it.

hth

john





"Bob" <spam@spam.com> wrote in message news:4084ed93.44677693@news-server.houston.rr.com...
> On Tue, 20 Apr 2004 11:57:32 +0530, "Sharoon Shetty K [MSFT]"
> <sharoons@online.microsoft.com> wrote:
>
> >You could create a batch file to use rasdial to dial the CM connection with
> >the username and password and place it in the startup dir so it would be run
> >at start up.
>
> What would such a script look like?
>
>
> --
>
> Map Of The Vast Right Wing Conspiracy:
> http://www.freewebs.com/vrwc/
>
> "You can all go to hell, and I will go to Texas."
> --David Crockett
>
Reply With Quote
Bob
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-20-2004, 02:54 PM
On Tue, 20 Apr 2004 14:34:54 +0100, "vagabond" <adivvy@hotmail.com>
wrote:
>Something like this:
>
>a) First create a suitable location (say c:\batch).
>
>b) Then create a shortcut to the connection in this location (r-click, =
>drag, choose create shortcut)
>create the following batch file
>
>@ECHO OFF=20
>
>PING localhost -n 20 -w 1000 >NUL=20
>
>START RASDIAL.EXE <connection_name> <user_name> <password>
>
>:End=20
>
>c) Then create a shortcut to this batch file in the startup group.
>
>Points to note:
>
>1. I have added a 20 second delay to give time for things to start (esp =
>dsl-modem) but as you're using permanent connection you might want to =
>remove this.
>
>2. It seems to be important to have the shortcut to the dun and the =
>batch file in the same location.
>
>3. Not sure about spaces in the dun shortcut name - if there are any you =
>could try enclosing in double quotes or renaming it.
>
>hth
>
>john
>
Thanks for the heads up. Here's what I found experimenting (using
<localhost> for the VPN Server address so I could test it locally. You
may get two VPN Client icons in the tray, but so what).

1) No need for START. Just run RASDIAL and it will connect.

2) No need to put a shortcut of the connection in a special folder.
RASDIAL knows to look in the Network Connections folder where the VPN
Client Connection is defined.

3) Your newsreader is inserting extraneous characters at the end of
the line.


--

Map Of The Vast Right Wing Conspiracy:
http://www.freewebs.com/vrwc/

"You can all go to hell, and I will go to Texas."
--David Crockett

Reply With Quote
vagabond
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-20-2004, 04:35 PM
Glad it works.

Using OE, my posts are Quoted Printable encoded so as long links don't wrap. You must be using Forte Agent?

cheers

john


"Bob" <spam@spam.com> wrote in message news:4085386f.9169304@news-server.houston.rr.com...
> On Tue, 20 Apr 2004 14:34:54 +0100, "vagabond" <adivvy@hotmail.com>
> wrote:
>
> >Something like this:
> >
> >a) First create a suitable location (say c:\batch).
> >
> >b) Then create a shortcut to the connection in this location (r-click, =
> >drag, choose create shortcut)
> >create the following batch file
> >
> >@ECHO OFF=20
> >
> >PING localhost -n 20 -w 1000 >NUL=20
> >
> >START RASDIAL.EXE <connection_name> <user_name> <password>
> >
> >:End=20
> >
> >c) Then create a shortcut to this batch file in the startup group.
> >
> >Points to note:
> >
> >1. I have added a 20 second delay to give time for things to start (esp =
> >dsl-modem) but as you're using permanent connection you might want to =
> >remove this.
> >
> >2. It seems to be important to have the shortcut to the dun and the =
> >batch file in the same location.
> >
> >3. Not sure about spaces in the dun shortcut name - if there are any you =
> >could try enclosing in double quotes or renaming it.
> >
> >hth
> >
> >john
> >
>
> Thanks for the heads up. Here's what I found experimenting (using
> <localhost> for the VPN Server address so I could test it locally. You
> may get two VPN Client icons in the tray, but so what).
>
> 1) No need for START. Just run RASDIAL and it will connect.
>
> 2) No need to put a shortcut of the connection in a special folder.
> RASDIAL knows to look in the Network Connections folder where the VPN
> Client Connection is defined.
>
> 3) Your newsreader is inserting extraneous characters at the end of
> the line.
>
>
> --
>
> Map Of The Vast Right Wing Conspiracy:
> http://www.freewebs.com/vrwc/
>
> "You can all go to hell, and I will go to Texas."
> --David Crockett
>
Reply With Quote
Bob
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-20-2004, 08:49 PM
On Tue, 20 Apr 2004 17:35:14 +0100, "vagabond" <adivvy@hotmail.com>
wrote:
>Using OE, my posts are Quoted Printable encoded so as long links don't =
>wrap.
I am not one to tell people how to set up their newsreader, but isn't
wrapping considered the normal way to post?
>You must be using Forte Agent?
Yes, I am using Free Agent - as the header will expose.

Is there something I can do to stop this nuisance?

--

Map Of The Vast Right Wing Conspiracy:
http://www.freewebs.com/vrwc/

"You can all go to hell, and I will go to Texas."
--David Crockett

Reply With Quote
Jeffrey Randow (MVP)
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-21-2004, 02:45 AM
Not for links... For text, yes...

Jeffrey Randow (Windows Net. & Smart Display MVP)
jeffreyr-support@remotenetworktechnology.com

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone

On Tue, 20 Apr 2004 20:49:29 GMT, spam@spam.com (Bob) wrote:
>On Tue, 20 Apr 2004 17:35:14 +0100, "vagabond" <adivvy@hotmail.com>
>wrote:
>
>>Using OE, my posts are Quoted Printable encoded so as long links don't =
>>wrap.
>
>I am not one to tell people how to set up their newsreader, but isn't
>wrapping considered the normal way to post?
>
>>You must be using Forte Agent?
>
>Yes, I am using Free Agent - as the header will expose.
>
>Is there something I can do to stop this nuisance?
Reply With Quote
Bob
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-21-2004, 12:56 PM
On Tue, 20 Apr 2004 21:45:34 -0500, "Jeffrey Randow (MVP)"
<jeffreyr-support@remotenetworktechnology.com> wrote:
>>Is there something I can do to stop this nuisance?
>Not for links... For text, yes...
OK, then what is it?

My links do not show up as links, just text.


--

Map Of The Vast Right Wing Conspiracy:
http://www.freewebs.com/vrwc/

"You can all go to hell, and I will go to Texas."
--David Crockett

Reply With Quote
Jeffrey Randow (MVP)
Guest
Posts: n/a
 
Re: is there anyway to automatically start a VPN connection at Windows Start up
Posted: 04-22-2004, 01:43 AM
You are using Agent (or a variant)... You should be seeing the
links.. I am... By default, Agent shouldn't break URL streams..
However, Outlook Express-posted links typically will be broken.. A
security patch for Outlook Express
(http://www.windows-help.net/microsoft/oe6-sp1.html) provided a fix
for this issue, but it appears many haven't used it...

And don't get us started about how the CDO interace butchers links..


Jeffrey Randow (Windows Net. & Smart Display MVP)
jeffreyr-support@remotenetworktechnology.com

Please post all responses to the newsgroups for the benefit
of all USENET users. Messages sent via email may or may not
be answered depending on time availability....

Remote Networking Technology Support Site -
http://www.remotenetworktechnology.com
Windows XP Expert Zone - http://www.microsoft.com/windowsxp/expertzone



On Wed, 21 Apr 2004 12:56:04 GMT, spam@spam.com (Bob) wrote:
>On Tue, 20 Apr 2004 21:45:34 -0500, "Jeffrey Randow (MVP)"
><jeffreyr-support@remotenetworktechnology.com> wrote:
>
>>>Is there something I can do to stop this nuisance?
>
>>Not for links... For text, yes...
>
>OK, then what is it?
>
>My links do not show up as links, just text.
Reply With Quote
 
LinkBack Thread Tools Display Modes
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
windows start button does not bring up start menu sam Windows XP Help & Support 0 11-07-2003 08:48 AM
windows start button no longer brings up start menu sam Windows XP Help & Support 0 10-30-2003 01:32 AM
Programs start automatically Steve Harris Customize Windows XP 1 10-16-2003 01:11 AM
Pc reboot bij koude start als windows start na een nachtje uit te hebben gestaan Gijs Windows XP Device Drivers 0 10-08-2003 05:22 AM
Messenger does not start automatically, does not log in Jonathan Kay [MVP] Windows XP Messenger 1 09-05-2003 06:43 AM