Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Disabling monitor power save at logon screen

39 views
Skip to first unread message

KM

unread,
Sep 13, 2004, 5:58:30 PM9/13/04
to
harrier,

First set the Power Management Settings in your HAL (xxx PC) component settings in TD to Presentation or Always On.

Then you can play with ACPolicy/DCPolicy values at run time:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&c2coff=1&selm=%23gBQXqd5DHA.1504%40TK2MSFTNGP12.phx.gbl

--
Regards,
KM, BSquare Corp.


> Anyone know how to disable the power save at the logon screen. It seems to
> power the monitor off after 15 minutes.


harrier

unread,
Sep 13, 2004, 7:45:02 PM9/13/04
to
Thanks KM. I already had a custom component to set the power policy and a
couple other settings for the ACPI Uniprocessor PC component.

ControlSet001 at offset 0xC0 was already set to 0x00000000. However, the
same registry key at ControlSet002 was not. I set the 4 bytes starting at
offset 0xC0 to 0x00000000 which seems to keep the monitor on.

harrier

harrier

unread,
Sep 13, 2004, 8:33:02 PM9/13/04
to
I take that back. The monitor still turns off, now it only takes longer than
20 minutes.

KM

unread,
Sep 13, 2004, 8:46:10 PM9/13/04
to
harrier,

First of all, play with CurrentControlSet (not 001 or 002 or etc). this way you make sure to change the current settings.
Also, try to set up the following key (you can set it up on XP Pro and then copy to your XPe runtime):
[HKEY_USERS\.DEFAULT\Control Panel\PowerCfg\CurrentPowerPolicy]
[HKEY_CURRENT_USER\Control Panel\PowerCfg\CurrentPowerPolicy]

If changing the reg.setting directly does not work for you, I'd suggest you to make an API call.
Use WritePwrScheme/SetActivePwrScheme APIs.
Or try to call CallNtPowerInformation( AdministratorPowerPolicy, ..) to set up ADMINISTRATOR_POWER_POLICY structure fields.
Particularly try setting MinVideoTimeout and MaxVideoTimeout parameters to some big value. I tested that on XP Pro and XPe/Minlogon
and worked great for me there.

Check MSDN for more details on the functions.

0 new messages