Windows Task Scheduler

dfelgueiras

New member
Local time
2:47 PM
Messages
3
Hi,

I recently configured a task on windows task scheduler, to run a batch file on windows logon and when any network connection is done.

This batch file is a simple comand to connetc a VPN:
rasdial ConnectionName %username% %password%

But when i'm inside of CompanyInternalDomain (VPN Destination) the connection fails and DOS Windows never close.

Now i need to limitate that task to just run outside of CompanyInternalDomain.

Can anyone show me how to do it?

Tanks!
 

My Computer

Computer Manufacturer/Model Number
TOSHIBA / TECRA S10-14P | P/N:PTSBE-0KMYEP
OS
Windows 7 Professional
CPU
Intel Mobile Core 2 Duo T9600 @ 2.80GHz
Motherboard
TOSHIBA Portable PC v.A0 ChSet:Intel PM45 v.7
Memory
(2x)2GB DDR2 4096MB 399.0MHz
Graphics Card(s)
NVIDIA Quadro NVS 150M 256MB
Sound Card
TOSHIBA 24-bit Built-In Stereo Speaker
Monitor(s) Displays
TOSHIBA Generic PnP Monitor
Hard Drives
Hitachi 298,09GB [] (HTS72323L9A360)
PSU
Lithium-ion up to 3h10min (Mobile Mark™ 2007)
Woow.. This is a wonderful Windows 7 forum..

Many thanks for the feedback..
 

My Computer

Computer Manufacturer/Model Number
TOSHIBA / TECRA S10-14P | P/N:PTSBE-0KMYEP
OS
Windows 7 Professional
CPU
Intel Mobile Core 2 Duo T9600 @ 2.80GHz
Motherboard
TOSHIBA Portable PC v.A0 ChSet:Intel PM45 v.7
Memory
(2x)2GB DDR2 4096MB 399.0MHz
Graphics Card(s)
NVIDIA Quadro NVS 150M 256MB
Sound Card
TOSHIBA 24-bit Built-In Stereo Speaker
Monitor(s) Displays
TOSHIBA Generic PnP Monitor
Hard Drives
Hitachi 298,09GB [] (HTS72323L9A360)
PSU
Lithium-ion up to 3h10min (Mobile Mark™ 2007)
Obviously, no-one was able to answer your query, which if that simple you probably would have been able to find the answer yourself.

That said, sarcasm is really not the way to get help so I hope you enjoy what is left of your day.
 

My Computer

Computer Manufacturer/Model Number
HP Pavilion Elite 495UK
OS
Windows 7 Ultimate SP1 64-Bit
CPU
Intel Core i7 870 @ 2.93GHz
Motherboard
MSI 2A9C (CPU1)
Memory
8Gb Dual-Channel DDR3 @ 664MHz
Graphics Card(s)
nVidia GeForce GTX 460 1024MB dedicated RAM
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP2310i
Screen Resolution
1920 x 1080
Hard Drives
1x1954GB Hitachi HDS22020ALA 330 (RAID), 1x1954GB Hitachi External for backup and storage
PSU
460W
Case
HP Elite
Cooling
Air cooled
Keyboard
Logitech K750 solar-powered keyboard
Mouse
Logitech Wireless M180 mouse
Internet Speed
2Mb
Other Info
Pure Avanti Flow Internet Radio with iPod Dock, 64Gb iPod, HP USB Speakers, Sony MDR-V500 Headphones, Sony Vaio F-Series Laptop
lol Now i got my answer... But just because i've post that sarcasm, or better, irony answer.

Regards
 

My Computer

Computer Manufacturer/Model Number
TOSHIBA / TECRA S10-14P | P/N:PTSBE-0KMYEP
OS
Windows 7 Professional
CPU
Intel Mobile Core 2 Duo T9600 @ 2.80GHz
Motherboard
TOSHIBA Portable PC v.A0 ChSet:Intel PM45 v.7
Memory
(2x)2GB DDR2 4096MB 399.0MHz
Graphics Card(s)
NVIDIA Quadro NVS 150M 256MB
Sound Card
TOSHIBA 24-bit Built-In Stereo Speaker
Monitor(s) Displays
TOSHIBA Generic PnP Monitor
Hard Drives
Hitachi 298,09GB [] (HTS72323L9A360)
PSU
Lithium-ion up to 3h10min (Mobile Mark™ 2007)
Back
Top