Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Microsoft Support > Windows 2000 Pro / NT Workstation Support
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Windows 2000 Pro / NT Workstation Support Find support for Windows 2000 Pro / NT Workstation here

Reply
 
LinkBack Thread Tools
Old 05-22-2006, 07:02 PM   #1 (permalink)
Registered User
 
Join Date: May 2006
Posts: 2
OS: Windows 2000 and OS X 10.3


Help me solve a bizarre scheduled tasks conundrum... Please!

O.K., here's the deal:

I'm running Windows 2000. I schedule a task to open a command window, and in the advanced properties set Windows to wake the computer in order to run the task. Let's call this task "Wake Up".

If I put the computer into hibernation manually by going to Start->Shutdown->Hibernate->O.K., the scheduled task "Wake Up" will successfully awaken the computer.

It is possible to schedule Windows 2000 to enter hibernation by executing the command "C:\WINNT\system32\rundll32.exe PowrProf.dll, SetSuspendState". However, if I do that, the machine hibernates at the correct time, but "Wake Up" will not wake up the computer at the designated time!! (it is possible to manually awaken the computer by pressing the power button, Windows restores just fine)

What's going on?

The only thing I can think of, is that in Scheduled tasks, you can choose which user the tasks should be run as. If I am logged in as "Mr. H", for argument's sake, is it actually the "Mr. H" user that runs the hibernate command if I go to Start->Shutdown->Hibernate->O.K.?

Any other ideas?
Mr. H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 05-22-2006, 10:38 PM   #2 (permalink)
Retired
 
Chevy's Avatar
 
Join Date: Jul 2003
Location: Notlob
Posts: 5,452
OS: Vista Ultimate

My System

Hibernation is not the same as Sleep Mode or Standby.

Hibernation takes a snapshot of RAM, dumps it to a file, and then shuts the computer down. When you power up, it checks the status of that file, and uses it to bring the PC back to the state it was in.

Standby/Sleep are low-power modes where the system is still running - and therefore can be awakened by a system event.
Chevy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 05-23-2006, 06:11 AM   #3 (permalink)
Registered User
 
Join Date: May 2006
Posts: 2
OS: Windows 2000 and OS X 10.3


Thanks for the reply, but, er... I know that suspend and hibernate are different. Trust me, a sheduled task can turn on a hibernated computer, I've done it many, many times whilst trying to solve this issue. But only if the hibernation is initiated manually. That's the weird part.

When a computer is hibernated, the mains is still connected and power is still connected to the motherboard. That's why some PCs can be turned on with the Keyboard or Mouse, or via the LAN, etc.

The command that I quoted ("C:\WINNT\system32\rundll32.exe PowrProf.dll, SetSuspendState") Hibernates the computer.

And so, funnily enough, does going to Start->Shutdown->Hibernate->O.K.

If I use the latter command, a scheduled task does wake up the computer. If I use the former command, a scheduled task does not wake up the computer.

Both ways of initiating hibernation look exactly the same. Windows brings up a dialogue that says "preparing to hibernate" and then the progress bar appears whilst RAM is copied to the HD. Then, the computer shuts off.

This problem, interestingly enough, also occurs if I use suspend instead of hibernate (i.e., scheduled task can wake up from manual suspend, but not from scheduled suspend (which I scheduled using a third-party app))

Last edited by Mr. H; 05-23-2006 at 06:19 AM.
Mr. H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 12-10-2007, 11:21 AM   #4 (permalink)
Registered User
 
Join Date: Dec 2007
Posts: 1
OS: XP Home


Re: Help me solve a bizarre scheduled tasks conundrum... Please!

Hello,

I came across this thread while searching for an answer to the exact same problem. I've messed with this issue for days and have the EXACT same problem. Did you ever get an answer as to why a scheduled task will NOT wake up the computer when set to hibernate with the rundll32 powrprof.dll, SetSuspendState?

I can get it to hibernate manually or using a 3rd party solution, or using the shutdown -h command...and then a scheduled batch file WILL wake the computer. However, when running the rundll32 hibernate command (above), the same batch file won't open it. One may be asking, well, why worry? Just go ahead and use one of the other hibernate methods. The reason why I can't is those hibernate methods keep allowing my computer to power on throughout the day.....

Please help...or let me know if you ever figured this out...thanks
vr
Muleclem
muleclem11 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 08:23 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85