Enable Hibernate and wakeup from keyboard settings for Windows 2003 and Windows 2000 OS
I need to set the configurations for the following on the different OS i.e. Windows 2000 and Windows 2003
a. Enable Computer wakeup from Keyboard and Mouse
b. Enable Computer to go into Hibernate
Approach: One approach using the command line tool to modify the power management settings i.e. PowerCfg.exe Using this tool we can set the hibernate and wake devices settings.
There are some issues on Windows 2000 and Windows 2003.
1. Win2k3: Hibernation settings can be achieved but the tool does not provide option for enabling device wake settings.
2. Win2K: does not have the "Powercfg.exe" command line tool. If we use Win2K3’s "Powercfg.exe" utility to change the settings then the behavior is same as Win2K3.
Query: Are there any direct APIs or any other workaround available for the these power management settings?
Alle Antworten
Hi,
Thanks for the post.
From your description, I understand that you have the following two issues on power management on Windows 2000 and Windows 2003.
1. Win2k3: Hibernation settings can be achieved but the tool does not provide option for enabling device wake settings.
2. Win2K: does not have the "Powercfg.exe" command line tool. If we use Win2K3’s "Powercfg.exe" utility to change the settings then the behavior is same as Win2K3.
For the first issue, we can enable a universal serial bus (USB) keyboard and a USB mouse to wake a computer by using the following registry entry after the computer goes in hibernation:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usb
"USBBIOSx"=DWORD:00000000You may take a look at the following article on it:
Description of how to enable the S3 system power state for standby when USB devices are armed for wake
http://support.microsoft.com/kb/841858
As for the second issue, please understand that the "Powercfg.exe" command line tool appears to have some specific DLL dependencies which further complicate its use in Windows 2000
The Powercfg.exe tool is not supported in Windows 2000
http://support.microsoft.com/kb/888742
In this case, I find some Power Policy Classes for power management
http://msdn.microsoft.com/en-us/library/dd904518(VS.85).aspx
If you need any assistance on develop issue, please post a new thread to our MSDN Forum:
http://social.msdn.microsoft.com/Forums/en-US/categories
Hope this helps.
Hi,
Thanks for the reply.
As per the discussion...
1. The wake enable device settings can be activated for the USB keyboard / mouse.
We have come across some other workaround ...We can modify a value (WaitWakeEnabled) in the registry key [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\ACPI\*PNPDeviceID*\Device Parameters ] to achieve the stuff. It has one drawback, it requires the system restart.
Do we have some method applicable to all kind of devices? (PS2, USB ...)
(Kindly share your thoughts on this)
2. The power policy classes mentioned in the document supports minimum Windows 7 version.
Does Windows 2000 and Windows 2003 have some other mechanism / methodes to achieve the settings?

