views:

79

answers:

0

When trying to call SetActivePwrScheme for an alternate user (loaded using LogonUser and impersonated) from a system service running as .\administrator, it is successful. However if the system service is running as LocalSystem, the SetActivePwrScheme function fails.

Windows 2000 Fails, however windows xp Succeeds