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

Similar help and support threads
Thread Forum
Need help creating a task scheduler task to move files over a network.
Hello everyone, I need to have a task run that will move the contents of a folder from one computer to another over my home LAN. Files get downloaded during the night on one computer and then need to be transfered to another. Usually I am doing this by hand, but then though maybe I could get...
General Discussion
Task Scheduler - Create Task to Display a Message Reminder
How to Display a Message Reminder in Windows with Task Scheduler This will show you how to create yourself, or another user or group, a message reminder scheduled to display for when and how often you like in Windows 7 or Vista using Task Scheduler. All users on the computer will be able to...
Task scheduler unable to load task status/active tasks at startup.
My task manager is unable to load task status/active tasks at startup. I get the message: "The selected task "{0}" no longer exists. To see the current tasks, click Refresh." When I refresh I get the same message. I checked and found that under Microsoft the problem was in the defrag...
Performance & Maintenance
How do I disable a task in the windows 7 Task Scheduler?
Firstly, I'd like to thank you for taking your time and reading this. Now, let's talk about the issue that's driving me loco. I scheduled a task for my computer to shut itself down at 1 AM, I was tired, I can't remember if I ticked "do this daily" or not, but it does this every day and for...
General Discussion
Windows Task Scheduler
I'm trying to run a task every 12 hours, but doesn't seem to work, keeps saying an instance of the task is already running but nothing happens, how do I run it every 12 hours?
General Discussion
Task Scheduler failing to start task with merged network locations
I have two routers I usually connect to (work and home) and each have wireless access. That means there are essentially 4 network locations I have listed. I have merged each respective network location (wired and wireless) into their own singular network location - "Work" and "Home". I also...
General Discussion

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 12:41.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App