Solved Task Scheduler - Shut down IE9

fr8549

New member
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.)

Thanks.
fr8549
 

My Computer

Computer Manufacturer/Model Number
Dell Inspiron 620
OS
Windows 7 Pro 64 bit
CPU
Intel i3
Motherboard
unknown
Memory
6 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Conexant HD Audio
Monitor(s) Displays
Dell IN2020M
Hard Drives
WDC WD10EALX-759BA1
PSU
Dell 300w
Case
Mid-Tower
Cooling
Std
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...
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
DavidW7ncus,

That was a great idea, thanks. It worked great with my test site (whatsmyip.com) 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.

fr8549
 

My Computer

Computer Manufacturer/Model Number
Dell Inspiron 620
OS
Windows 7 Pro 64 bit
CPU
Intel i3
Motherboard
unknown
Memory
6 GB
Graphics Card(s)
Intel HD Graphics Family
Sound Card
Conexant HD Audio
Monitor(s) Displays
Dell IN2020M
Hard Drives
WDC WD10EALX-759BA1
PSU
Dell 300w
Case
Mid-Tower
Cooling
Std
Great. Glad you got it working.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
home built
OS
Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
CPU
AMD Athlon II x4 620
Motherboard
Gigabyte GA-MA785G-UD3H
Memory
6GB GSkill DDR2 800
Graphics Card(s)
AMD 4670 GPU + AMD 4200 IGP
Sound Card
on board Realtek ALC889A
Monitor(s) Displays
RCA 40" LCD TV, Insignia 32" LCD TV, HP 15" LCD monitor
Screen Resolution
1680 x 1050
Hard Drives
OCZ Vertex 3 120GB,
Samsung F3 1TB (3),
Several others - WD, Seagate, Hitachi, ...
PSU
Corsair 500 W
Case
Rosewill mid tower
Cooling
CM 90mm rifle
Keyboard
Gyration wireless, Logitech wireless, Dell USB wired
Mouse
Gyration wireless, Logitech wireless, V7 USB wired
Internet Speed
Spectrum - 100Mbps D / 10Mbps U
Antivirus
Avast, MBAM3, EMET, WinPatrol
Browser
Pale Moon, Firefox, IE
Other Info
2 multi-boot PC's
Mainly HTPC/Office/Gen purpose (no gaming).
Trendnet USB KVM.
LG DVD burner/Blue Ray Player.
Tray system for removable SATA backup drives.

Not currently OCd, under-volted.
I use Hybrid sleep, rarely re-boot or shutdown.

Hauppauge HD-PVR, Avermedia PCIe TV Tuner, Hauppauge PCI TV Tuner.
Back
Top