PDA

View Full Version : Power Management (W2K)



raju_deka
11-27-2002, 07:54 PM
I am writing a setup program that will modify the "Power Management" feature in WIN 2000/XP. I want that it will set the "Power Options Properties" like this :-
1. Hybernate Tab- Chak Enable Hybernate Support
2. Advanced Tab- "When I Press the Power Button
on my computer" - Hybernate

I hope that all these are written in the registry as a key value when I configure these by start- settings-Control Panel - Power Management.
Please tell me the registry key for this. I have a Setup program to modify/create any registry key.

Anyone please help me..

mysterywolf
11-28-2002, 02:32 AM
not saying its the most elegant way but I'd do this...

take all settings off and reboot, run regedit and export the lot.
put all settings on and reboot
run regedit and export the lot.

run windiff and compare the two exports, for details of whats changed.

Andy-S
11-28-2002, 08:25 AM
Use regshot to take a snapshot of the registry before the change is made and then after. It's a great little utility and is simple to use. You can download it from here:

<a target="_blank" href=http://www.pcworld.com/downloads/file_description/0,fid,19540,00.asp>http://www.pcworld.com/downloads/file_description/0,fid,19540,00.asp</a>

Cheers
Andy

raju_deka
11-29-2002, 09:24 PM
Thankyou Mr. Andy for this valuable website URL. I have downloaded and used Regshot. It works fine with WIN 98 but doesn't with WIN 2000(Prof). I can take 1st and 2nd shot, but while comparing it gives error as "Error creating File".
Regshot does not have different versions for 98/NT/2000. So I could download the general one.
Please look into it and advise accordingly.

Andy-S
11-30-2002, 11:02 AM
The utility works fine with Windows 2000. It has to be something with your particular setup. Boot into safe mode and see if it runs and creates the output file.

Cheers
Andy