Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows Task Scheduler

22 Jun 2011   #1

Windows 7 Professional
Windows Task Scheduler


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?


My System SpecsSystem Spec

13 Jul 2011   #2

Windows 7 Professional

Woow.. This is a wonderful Windows 7 forum..

Many thanks for the feedback..
My System SpecsSystem Spec
13 Jul 2011   #3

Windows 7 Ultimate SP1 64-Bit

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 System SpecsSystem Spec

13 Jul 2011   #4

Windows 7 Professional

lol Now i got my answer... But just because i've post that sarcasm, or better, irony answer.

My System SpecsSystem Spec

 Windows Task Scheduler

Thread Tools

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 11:08 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33