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: Task Scheduler - Shut down IE9

23 Feb 2012   #1

Windows 7 Pro 64 bit
Task Scheduler - Shut down IE9

I have a scheduled task that runs, using IE9.

In Windows 7 Pro, the scheduled task Action is - Start a Program -
"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
and the argument is "What Is My IP Address - Shows Your IP Address".
It runs at the same time every night.

It starts a new session of IE9, runs to the URL, accomplishes that task, and stays on until morning, when I have to manually close it. Since it executes properly, the stop task commands under the Scheduler Settings tab have no effect.

How can I shut down just this scheduled task session of IE9 after it executes? I am guessing I am missing one more command line parameter. (Other Internet suggestions include Taskkill, but that shuts down all IE sessions. Since I might have been working on issues when I go to sleep, shutting them down also doesn't work out for me.)


My System SpecsSystem Spec
23 Feb 2012   #2

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

Your task is using IE9 32 bit in "C:\Program Files (x86)\Internet Explorer\iexplore.exe"
You should also have IE9 64 bit in "C:\Program Files\Internet Explorer\iexplore.exe"

Try changing your task to use IE9 64 bit.
See if the task works with 64 bit, and killing that task leaves all your other 32 Bit sessions running.

Not a great solution, but this may an easy work-around.

edit - I'm assuming you do not currently use IE 64 bit...
My System SpecsSystem Spec
24 Feb 2012   #3

Windows 7 Pro 64 bit


That was a great idea, thanks. It worked great with my test site ( but when I went to my company site, which is set up to close the window automatically in 30 seconds, my browser pops up a window asking for permission to close the window. Waiting for user input stops everything in its place.

Your suggestion, though, gave me the idea to use a browser other than IE, to see if that would resolve my dilemma, and it did! I reach the website, through the Task Scheduler, with Firefox, and close Firefox with Taskkill 5 minutes later. It works great!

Thanks, again, for your suggestion. That helped me solve my issue.

My System SpecsSystem Spec

24 Feb 2012   #4

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

Great. Glad you got it working.
My System SpecsSystem Spec

 Task Scheduler - Shut down IE9

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 Shut Down PC Automatically Task
How to Create a Task that will Shut Down the PC Automatically This will show a very easy way to create a task in the Task Scheduler that will shut down the PC whenever you like. This will work for Windows 7 and Windows Vista. Let's get started! 1) In the Windows start menu search box type...
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
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
What can I shut down or delete in Task Scheduler ?
Hello all I remember that I had noting running in Task Scheduler in XP but in Win7 there seems to be a whole bunch of stuff that is there by default. Seems like a lot of it is not needed but I wouldn't really be the best to determine so can anyone point me to a tutorial or page that discusses...
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 11:59.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App