PC Review


Reply
Thread Tools Rate Thread

Schedule VPN Connection

 
 
gary pharr
Guest
Posts: n/a
 
      1st Jul 2003
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
 
 
 
 
Sam Salhi [MSFT]
Guest
Posts: n/a
 
      1st Jul 2003
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" <(E-Mail Removed)> wrote in message
news:04cd01c33fd1$e76c3910$(E-Mail Removed)...
> 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
 
New Member
Join Date: Sep 2007
Posts: 1
 
      6th Sep 2007
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
 
Reply With Quote
 
New Member
Join Date: Jul 2008
Posts: 2
 
      29th Jul 2008
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
 
Reply With Quote
 
New Member
Join Date: Jul 2008
Posts: 2
 
      29th Jul 2008
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$(E-Mail Removed)...
> 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
 
New Member
Join Date: Mar 2006
Posts: 1
 
      24th Dec 2009
Open task scheduler
add scheduled task
choose browse
go to windows\system32
choose rasdial
go back to your new task that you just scheduled
Under Run: type in rasdial.exe vpn-name username password /domain:domain-name

be sure to include spaces. best way to test connection is to play with it in the command prompt

Hope this helps http://www.bridgehousepc.info
 
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want to schedule disconnect a specific DUN connection.on winxp-how? ashjas Windows XP Help 2 8th Jul 2006 09:54 PM
Schedule connection to different network at different timings? =?Utf-8?B?d3J5dGF0?= Windows XP Networking 1 26th Jul 2005 06:26 AM
schedule network connection Stuart Hawkins Microsoft Windows 2000 0 10th Mar 2004 11:15 AM
schedule network connection Stuart Hawkins Microsoft Windows 2000 Networking 0 10th Mar 2004 11:15 AM
Can't get TV Guide+ Schedule through network firewall proxy connection wdsnews ATI Video Cards 0 28th Aug 2003 05:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:19 AM.