A windows 7 Task that I created runs when I don't want it to.

Park100

New member
Local time
2:08 AM
Messages
3
I created a task in windows 7 to shutdown my PC a 1:00am every night. My kids leave the PC running all the time and never turn it off. I have a task set-up with a daily trigger at 1:00 am to run shutdown.exe. I have it set to run even if everyone is logged off. The task works flawlessly except when the PC has been turned off before 1 AM. Every once in a while my kids will shutdown the PC. If this is the case, the next time the PC is turned on might be at 3:30 pm when they get home from school. My kids state that when they get home from school and log into the PC, the PC shuts itself off. When I look a the task scheduler history the event data shows that the task to shutdown the PC successfully ran. My question is this: What is the best way to set-up the task so that the task will not run except for 1:00 am. It would be nice if task scheduler had a well defined black-out period so that a given task can't run except for a very narrow period of time. Thanks!
 

My Computer My Computer

At a glance

Win7 64BitI512 GbNvidia Ge Force 770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Win7 64Bit
CPU
I5
Memory
12 Gb
Graphics Card(s)
Nvidia Ge Force 770
On the Task / Settings tab is Run task as soon as possible after a scheduled start is missed checked ?
If it is, uncheck it and see if that helps.
 

My Computer My Computer

At a glance

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x6...AMD Athlon II x4 6206GB GSkill DDR2 800AMD 4670 GPU + AMD 4200 IGP
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.
Thanks for the suggest, but it did not work... There is something lacking in windows or I am missing something. It would be nice if there was a blackout time period where a task is blocked from running in a specified time period. If the PC is turned off manually it misses the 1am task to run shutdown.exe. The next afternoon when my boys turn the PC on, it runs the missed task then. It would be so nice if task scheduler had a setting where you could set: DISABLE TASK FROM RUNNING START TIME: 1:30AM - STOP TIME: 11:59 PM
 

My Computer My Computer

At a glance

Win7 64BitI512 GbNvidia Ge Force 770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Win7 64Bit
CPU
I5
Memory
12 Gb
Graphics Card(s)
Nvidia Ge Force 770

My Computer My Computer

At a glance

W7 home premium 32bit/W7HP 64bit/w10 tp insid...E5300 dual core3gbNvidia Geforce 7100 Nforce 630i
Computer type
PC/Desktop
Computer Manufacturer/Model Number
medionl/Aspire 6930G/acer x55a
OS
W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
CPU
E5300 dual core
Motherboard
medion MS7366
Memory
3gb
Graphics Card(s)
Nvidia Geforce 7100 Nforce 630i
Monitor(s) Displays
avixc
Internet Speed
n (isp resticted to 72)
Antivirus
mse/pands
Browser
palemoon
Other Info
Belkin Fd7050 n USB using Railink RT2870 drivers, more upto date
Thanks for the reply. One of my issues is that when my kids leave the computer they switch user and leave programs, videos, and website content running. In power options I have the PC set to sleep, but, many times the PC is still on in the morning because it never is idle. So I made the scheduled task to perform a forced shutdown at 1 am every night. The issue is when the PC is off at 1am and misses the schedule, it performs the shutdown after the next time the PC is booted back up. Again, I wish windows had a defined window of time where a task is blocked from running.
 

My Computer My Computer

At a glance

Win7 64BitI512 GbNvidia Ge Force 770
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell
OS
Win7 64Bit
CPU
I5
Memory
12 Gb
Graphics Card(s)
Nvidia Ge Force 770
You could do a search for windows task scheduler alternative to see if you can find a program that works better for you.
I've never used any of the programs available, so i don't know if any have the options you want.
 

My Computer My Computer

At a glance

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x6...AMD Athlon II x4 6206GB GSkill DDR2 800AMD 4670 GPU + AMD 4200 IGP
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