Thread: Running Stuff at Resume - 101
-
6th May 2007 01:12 AM #1MC Journeyman


- Join Date
- Feb 2005
- Location
- Newcastle
- Posts
- 206
- Status
- Offline
- Thanks given
- 1
- Thanks received: 11 in 8 posts
Reputation earned: 55 pointsRunning Stuff at Resume - 101
I found myself wanting to run a script (reconnecting my network) when Vista resumes from Stand-by but couldn't really find anything other than Hibernator that deals with it.
Just thought I'd share this with anyone looking to do the same. This procedure will allow you to execute anything your heart desires on your system at resume. Prob handy for those wanting to update guides etc.
Vista has a vastly more powerful event log and task scheduler than XP. So we basically use this to do it.
- Open Computer Management
- Expand Event Viewer
- Expand Windows Logs
- Select System
- From the Actions section on the right hand side select Filter Current Log
- In the Filter Current Log screen use the Event Sources drop down and check Power-Troubleshooter. You should now see all resumes your system has performed.
- If your system has been running for long time you may have many event entries. Select one that reads The System has resumed from sleep and right click and select Attach a task to this event. <this is the cool bit!>
- You can now give your task a suitable name and description eg Update Guide Click Next
- Click Next again on next screen.
- On the Action screen is where you can specify what you want to do. For me this is Start a program. Select this and click Next
- On the next screen is where you can specify your program to run. For me this was a batch file. But it can be virtually and executable / script.
- That is it!
You can view / edit your newly created task under Task Scheduler and expand / select Event Viewer Tasks.
Hope this has helped someone else!
-
-
6th May 2007 02:37 AM
#2




- Join Date
- Nov 2005
- Location
- Perth
- Posts
- 186
- Status
- Offline
- Thanks given
- 11
- Thanks received: 14 in 11 posts
Reputation earned: 57 points
Re: Running Stuff at Resume - 101
Hi,
Now thats the hidden reasons that people upgrade to new OS'.
Sometimes you think that all the has changed it a few features and lots of graphics however the reality under the skin there is lots of smart features.
Thanks for the heads up on this one. I know it will be helpfull moving forward (and also one of those things that are difficult to track when a mate does it to have a laugh with you)
F
______________________________________
Case: Antec Overture II Motherboard: ASUS A8N-E Processor: AMD 3200+ Video: GV-NX86T512H Memory: 1G DDR2 Hard Drives: 200GB Seagate SATA + 500GB WD SATA Tuners: Fusion DVB-T Plus, Fusion DVB-T Lite, FusionHDTV DVB-T Dual Digital 4 Optical Drive: Poineer DVR 110 DVD Burner Software: Windows MCE 2005, PoweerDVD 6, ICE Guide, Display: JVC 28" Widescreen
7th May 2007 12:50 AM
#3




- Join Date
- Dec 2005
- Posts
- 189
- Status
- Offline
- Thanks given
- 14
- Thanks received: 8 in 8 posts
Reputation earned: 43 points
Re: Running Stuff at Resume - 101
Can this method be used to solve the problem of losing TV tuners when resuming from sleep?
Is there something that can be run to kickstart the tuners?
Cheers
7th May 2007 03:00 AM
#4


- Join Date
- Apr 2005
- Location
- Adelaide hills
- Posts
- 361
- Status
- Offline
- Thanks given
- 23
- Thanks received: 79 in 27 posts
Reputation earned: 256 points
Re: Running Stuff at Resume - 101
Greedo, use Hibernation instead of Standby. Hibernation will wake like standby but Windows will remember what it was doing prior to sleeping.
7th May 2007 10:08 AM
#5




- Join Date
- Aug 2005
- Location
- Melbourne (East)
- Posts
- 5,139
- Status
- Offline
- Thanks given
- 239
- Thanks received: 260 in 186 posts
Reputation earned: 1012 points
Re: Running Stuff at Resume - 101
Awesome work Vfast. That's exactly what I've been looking for with my VFD problem. Using that methodology I would imagine I can reinitialise the supporting software on resume so that the VFD will resume receiving messages from MCE. What I now need to check is if I can stop the program on sleep. That might be the killer but then if not I guess I could just stop and start on resume.
Cheers... reps from me!
Phil
Bite Me!
8th May 2007 12:05 AM
#6


- Join Date
- Feb 2005
- Location
- Newcastle
- Posts
- 206
- Status
- Offline
- Thanks given
- 1
- Thanks received: 11 in 8 posts
Reputation earned: 55 points
Re: Running Stuff at Resume - 101
8th May 2007 09:15 AM
#7




- Join Date
- Aug 2005
- Location
- Melbourne (East)
- Posts
- 5,139
- Status
- Offline
- Thanks given
- 239
- Thanks received: 260 in 186 posts
Reputation earned: 1012 points
Re: Running Stuff at Resume - 101
Interestingly I now have a totally different issue to tackle and that is that the IRTrans device, once enabled in the device manager is now suddenly accepting commands from the remote even without the IRTrans USB software loaded. I'm sure it never did that before. That means that it's probably going to interfere with the ehome receiver so I'm probably stumped anyway. Why is it never easy?![]()
Bite Me!

LinkBack URL
About LinkBacks
Reply With Quote



