dfelgueiras
New member
- Local time
- 3:32 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!
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)