Task Scheduler - run program on wake

foreversilent004

New member
Local time
3:57 AM
Messages
111
I simply want to run a program when the computer returns from standby, but I see no options in the scheduler.

Help?
 

My Computer

Computer Manufacturer/Model Number
IBM ThinkPad T61p
OS
Win7 x64 7232
CPU
Intel Core 2 Duo T7500 2.2GHz
Memory
4GB
Graphics Card(s)
NVIDIA Quadro NVS 140M
Hard Drives
WD 320GB

My Computer

Computer Manufacturer/Model Number
* BFK Customs *
OS
W 7 64-bit Ultimate
CPU
Intel Q9550 Yorkfield
Motherboard
ASUS P5Q Pro
Memory
8GB Dominator 8500C5D
Graphics Card(s)
ATI : XFX 5870
Sound Card
Realtek HD Audio 7-1
Monitor(s) Displays
1x 47" LCD HDMI & 3x 26" LCD HDMI
Screen Resolution
1920x1080P & 1920x1200
Hard Drives
1x 80GB Intel X25-M G2 SSD : 1x 500GB & 1x 640GB WD Caviar Black(s)
PSU
Corsair 620HX
Case
Cooler Master RC-690
Cooling
Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
Keyboard
Microsoft 500
Mouse
Razer Diamondback 3G
Internet Speed
14 Mb/s
Other Info
1x Koutech 3Gb/s SATA HDD Hot Swap Rack
Use Task Scheduler.
Create a new task.
Give it a name
For Trigger, make a new one.
Begin the task: and select task for wake up
Then selection actions and conditions.
 

My Computer

Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
Use Task Scheduler.
Create a new task.
Give it a name
For Trigger, make a new one.
Begin the task: and select task for wake up
Then selection actions and conditions.

There is no selection for 'on wake' in the pulldown menu
 

My Computer

Computer Manufacturer/Model Number
IBM ThinkPad T61p
OS
Win7 x64 7232
CPU
Intel Core 2 Duo T7500 2.2GHz
Memory
4GB
Graphics Card(s)
NVIDIA Quadro NVS 140M
Hard Drives
WD 320GB

My Computer

Computer Manufacturer/Model Number
IBM ThinkPad T61p
OS
Win7 x64 7232
CPU
Intel Core 2 Duo T7500 2.2GHz
Memory
4GB
Graphics Card(s)
NVIDIA Quadro NVS 140M
Hard Drives
WD 320GB
Weird. I thought it existed for Vista but, like you said, it's not there for 7.
 

My Computer

Computer Manufacturer/Model Number
Dell and Custom
OS
Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
CPU
System 1: i7 [email protected], System 2: AMD FX-4100 Zambezi 3.6G
Motherboard
System 1:Dell 06NWYK System 2: ASUS M5A97 AM3+
Memory
System 1: 8GB System 2: 8GB
Graphics Card(s)
System 1: ATI FirePro V4800 System 2: Radeon HD 6850
Sound Card
System 1: onboard System 2: onboard
Monitor(s) Displays
System1: Viewsonic HDMI 24"
Screen Resolution
System 1: 1920x1080 System 2: 1920x1080
Hard Drives
System 1: Mirrored .5B drives System 2: Seagate Barracuda ST1000DM003 1TB 7200 RPM 64MB Cache SATA 6.0Gb/s
Case
System 1: Dell System 2: Cooler Master
Internet Speed
10 MBPS
So, any other options you can think of?
 

My Computer

Computer Manufacturer/Model Number
IBM ThinkPad T61p
OS
Win7 x64 7232
CPU
Intel Core 2 Duo T7500 2.2GHz
Memory
4GB
Graphics Card(s)
NVIDIA Quadro NVS 140M
Hard Drives
WD 320GB
I truly hate when the results on Google come up with this forum. 90% of the time the answers are stupid, wrong or just something someone would answer without really reading the OP's question.

****in' hell...
 

My Computer

OS
Windows 98 SE
FWIW, I think Task Scheduler is the most valuable thing around in Windows.

Pull up Event Viewer (Control Panel -> Administrative Tools -> Event Viewer) and select (LH side) caret by SYSTEM LOGS. Then select SYSTEM.

Scroll and find the time when your PC just woke up from sleep. The event ID will be 1 and source column will be Power-Troubleshooter.

Highlight that and then right-click and select Attach task to this event. Then do your thing by setting up all the applet panels.

Here's mine (using the COPY tile from the lower pane):

Log Name: System
Source: Microsoft-Windows-Power-Troubleshooter
Date: 12/28/2011 8:31:26 PM
Event ID: 1
Task Category: None
Level: Information
Keywords:
User: LOCAL SERVICE
Computer: Jim-GLH
Description:
The system has resumed from sleep.
Sleep Time: ‎2011‎-‎12‎-‎28T23:36:50.608543500Z
Wake Time: ‎2011‎-‎12‎-‎29T01:31:18.170801200Z
Wake Source: Unknown


Test by simply issuing a MESSAGE when that event occurs (will present a popup window for you of text).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS
Test by simply issuing a MESSAGE when that event occurs (will present a popup window for you of text).

I could never get the pop-up message to work. :(

I could make it run a program (IrfanView) which played a noise/tune though.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
The message should be the easy part. You can click on the HISTORY tab of your opened (via properties) Task and see when it ran, what errors, etc.

So, you are home-free at this point.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS
The message should be the easy part. You can click on the HISTORY tab of your opened (via properties) Task and see when it ran, what errors, etc.

So, you are home-free at this point.

I meant getting Task Scheduler to display a message on the Desktop.
I thought that "show a message" meant display a Windows Dialog box on the Desktop. :o

I created a task, which was supposed to display a message at a certain time.
It never displayed a message.
I added a sound alert (IrfanView) to that task.
The sound played, but the message didn't appear.

I guess I could have made it display a txt file (Notepad) or a picture (IrfanView).
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
I thought you could only do ONE of the following:

Create message
Send an email
Start a program

The messsage, if it works, will be a regular windows popup window with the only button to click OK with the message text above it.

I've done the message before as I have a popup that shows up any time I connect a removable drive to my desktop.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS
That's what I was expecting ...

I thought you could only do ONE of the following:

Create message
Send an email
Start a program

The messsage, if it works, will be a regular windows popup window with the only button to click OK with the message text above it.

I've done the message before as I have a popup that shows up any time I connect a removable drive to my desktop.

That's what I was expecting, but I couldn't make it work. :confused:

I was only trying to do it, to troubleshoot a problem I was having.
I was unaware that Windows automatically turned itself off after 2 minutes (if activated by an unattended task).

I wanted my machine to wake up and perform an AV scan (4:00 am).
I set:

  • The task time (3:45 am)
  • The Program Update time to 5 minutes later (3:50 am)
  • The Virus Database update time to 5 minutes after that (3:55 am).
  • The AV scan time to 5 minutes after that (4:00 am).
Of course none of the AV steps started.

I thought that if I got it to display a message, I would see the Dialog box on my Desktop (which would confirm that the task had started).
That never worked.

I then tried setting a task to display a message (in a few minutes, whilst I watched).
No message ever appeared.

I then included a sound (IrfanView).
The sound worked!

Brink sorted it out my original problem for me. :D
So I never bothered to try to figure out what was happening.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
I was expecting you to set NO time on any of these tasks as they would simply be triggered from the EVENT ID 1 event.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Windows 7
CPU
AMD Phenom II X2 (dual-core)
Motherboard
GA-MA785GM-US2H
Memory
4G
Graphics Card(s)
integrated ATI HD 4200
Sound Card
integrated
Monitor(s) Displays
Samsung 24"
Screen Resolution
1920x1080
Hard Drives
1 SSD - Samsung 840 - 500 GB - OS and DATA partitions
1 SSD - Intel 320 - 120 GB (used for backups) - Misc/BACKUP
1 SATA HD - WD, 500 GB - BACKUP
PSU
Ultra X4 500W
Case
Ultra X-blaster
Keyboard
Microsoft Digital Media Pro
Mouse
Logitech WIRED!
Internet Speed
15 Mbps FIOS
My bad.

I was expecting you to set NO time on any of these tasks as they would simply be triggered from the EVENT ID 1 event.

My bad.
Ancient history (that happened last year).

Since Brink solved my original dilemma, I didn't bothered to look into the message mystery.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
FWIW, I think Task Scheduler is the most valuable thing around in Windows.

Pull up Event Viewer (Control Panel -> Administrative Tools -> Event Viewer) and select (LH side) caret by SYSTEM LOGS. Then select SYSTEM.

Scroll and find the time when your PC just woke up from sleep. The event ID will be 1 and source column will be Power-Troubleshooter.

Highlight that and then right-click and select Attach task to this event. Then do your thing by setting up all the applet panels.

Here's mine (using the COPY tile from the lower pane):

Log Name: System
Source: Microsoft-Windows-Power-Troubleshooter
Date: 12/28/2011 8:31:26 PM
Event ID: 1
Task Category: None
Level: Information
Keywords:
User: LOCAL SERVICE
Computer: Jim-GLH
Description:
The system has resumed from sleep.
Sleep Time: ‎2011‎-‎12‎-‎28T23:36:50.608543500Z
Wake Time: ‎2011‎-‎12‎-‎29T01:31:18.170801200Z
Wake Source: Unknown


Test by simply issuing a MESSAGE when that event occurs (will present a popup window for you of text).
What could you add to the message pop-up to close it, say, in 2 seconds if the point is just to wake the computer?
 

My Computer

Computer Manufacturer/Model Number
HP Pavilion p6745f
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz
Motherboard
PEGATRON CORPORATION 2AB6
Memory
6 GB
Graphics Card(s)
Radeon 6750 1gb
Sound Card
(1) IDT High Definition Audio CODEC (2) Intel(R) Display A
Monitor(s) Displays
Acer x193w
Hard Drives
(1) WDC WD15EARS-60MVWB0 (2) Generic- Compact Flash USB Device (3) Generic- MS/MS-Pro USB Device (4) Generic- SD/MMC USB Device (5) Generic- SM/xD-Picture USB Device (6) WD My Book 1110 USB Device
PSU
Internal 500W (100V-240V)
Case
Mid-size ATX
Cooling
unknown
Keyboard
HP usb multimedia keyboard
Mouse
HP usb compliant mouse
Internet Speed
256 kbps
Other Info
Ver: CHI_713.bin vCHI7.13
Back
Top