PC Review Forums Newsgroups Windows XP Windows XP Work Remotely Schedule VPN Connection

Reply

Schedule VPN Connection

 
Thread Tools Rate Thread
Old 01-07-2003, 03:08 PM   #1
gary pharr
Guest
 
Posts: n/a
Default Schedule VPN Connection


I have a VPN connection setup to my office from home. I
want to schedule the connection so it connects at a
certain time each day. Apparently the System Agent[Task
Scheduler] in XP can not do this? I tried putting a
shortcut on the desktop but the Scheduler will not run
it. Is there a way to write a script to handle this task?
I guess I could buy a third party scheduler but that
seems silly when one is built-in to the OS. Any
suggestions are appreciated.

Gary
  Reply With Quote
Old 01-07-2003, 06:54 PM   #2
Sam Salhi [MSFT]
Guest
 
Posts: n/a
Default Re: Schedule VPN Connection

Use this command in your task scheduler
Rasdial.EXE <entryname> [username [password]] [/Domain:domain]
to disconnect:
Rasdial.exe entryname /disconnect

That should solve your problem


--
===========================================================
This posting is provided "AS IS" with no warranties and confers no rights
===========================================================


"gary pharr" <garyp@bcpcpa.com> wrote in message
news:04cd01c33fd1$e76c3910$a001280a@phx.gbl...
> I have a VPN connection setup to my office from home. I
> want to schedule the connection so it connects at a
> certain time each day. Apparently the System Agent[Task
> Scheduler] in XP can not do this? I tried putting a
> shortcut on the desktop but the Scheduler will not run
> it. Is there a way to write a script to handle this task?
> I guess I could buy a third party scheduler but that
> seems silly when one is built-in to the OS. Any
> suggestions are appreciated.
>
> Gary



  Reply With Quote
Old 06-09-2007, 09:15 AM   #3
hkohila
Junior Member
 
Join Date: Sep 2007
Posts: 1
Trader Rating: (0)
Default

Hello there,
i am facing the same issue. I tried what you said but I think I am doing something wrong.
what is the entryname?

can you give me the exact syntax that I need to put after Rasdial.EXE?
thanks in advanced
Hisham
hkohila is offline   Reply With Quote
Old 29-07-2008, 10:53 AM   #4
shahid9999
Junior Member
 
Join Date: Jul 2008
Posts: 2
Trader Rating: (0)
Unhappy hello, i have the same problem,

i need to know where i have to write this command (Rasdial.EXE)?
i mean where in task schdule?????




Quote:
Originally Posted by hkohila
Hello there,
i am facing the same issue. I tried what you said but I think I am doing something wrong.
what is the entryname?

can you give me the exact syntax that I need to put after Rasdial.EXE?
thanks in advanced
Hisham
shahid9999 is offline   Reply With Quote
Old 29-07-2008, 10:54 AM   #5
shahid9999
Junior Member
 
Join Date: Jul 2008
Posts: 2
Trader Rating: (0)
Unhappy hello Sam, please help me in this way.

i need to know where i have to write this command (Rasdial.EXE)?
i mean where in task schdule?????






Quote:
Originally Posted by Sam Salhi [MSFT]
Use this command in your task scheduler
Rasdial.EXE [username [password]] [/Domain:domain]
to disconnect:
Rasdial.exe entryname /disconnect

That should solve your problem


--
===========================================================
This posting is provided "AS IS" with no warranties and confers no rights
===========================================================


"gary pharr" wrote in message
news:04cd01c33fd1$e76c3910$a001280a@phx.gbl...
> I have a VPN connection setup to my office from home. I
> want to schedule the connection so it connects at a
> certain time each day. Apparently the System Agent[Task
> Scheduler] in XP can not do this? I tried putting a
> shortcut on the desktop but the Scheduler will not run
> it. Is there a way to write a script to handle this task?
> I guess I could buy a third party scheduler but that
> seems silly when one is built-in to the OS. Any
> suggestions are appreciated.
>
> Gary
shahid9999 is offline   Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off