| Author |
Message |
VijayS
Guest
|
Posted:
Wed Jan 05, 2005 5:09 am Post subject:
Disable computer lock on "wake-up" |
|
|
Upon waking up from Hibernation and standby my XPe computer asks for
the administrator password to unlock the computer. The system by
default logs into the administrator account. If I logged in with a user
account, would the computer not lock?
As users will not have a keyboard to enter the password, I want to stop
the computer being locked altogether. How can I do this?
I've looked through security policies for the machine, but cannot find
the right parameter.
Thanks,
-V |
|
| Back to top |
|
 |
KM
Guest
|
Posted:
Wed Jan 05, 2005 5:36 am Post subject:
Re: Disable computer lock on "wake-up" |
|
|
VijayS,
I assumed you've got ACPI HAL (otherwise you wouldn't play with Hibernation on the target).
If you go to Power Options Control Panel applet and switch to "Advanced" tab there you will see "Prompt for password when computer
resumes from standby" option. You have to uncheck the flag.
You can set this option:
- manually at run time
- through registry value ([HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power\DcPolicy],
[HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power\AcPolicy]). You would probably better off clear up the option on XP Pro
and grab the registry values to put them in your XPe image.
- through API to change the global user policy (SetActivePwrScheme,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/setactivepwrscheme.asp, the EnablePasswordLogon contant
of the GLOBAL_USER_POWER_POLICY.GlobalFlags flag ,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/power/base/global_flags_constants.asp)
--
Regards,
KM, BSquare Corp.
| Quote: | Upon waking up from Hibernation and standby my XPe computer asks for
the administrator password to unlock the computer. The system by
default logs into the administrator account. If I logged in with a user
account, would the computer not lock?
As users will not have a keyboard to enter the password, I want to stop
the computer being locked altogether. How can I do this?
I've looked through security policies for the machine, but cannot find
the right parameter.
Thanks,
-V |
|
|
| Back to top |
|
 |
VijayS
Guest
|
Posted:
Wed Jan 05, 2005 8:41 am Post subject:
Re: Disable computer lock on "wake-up" |
|
|
Thanks KM,
I did the first option and installed the Power Meter Control Panel
component.
I'll try the run-time solution next version because I'll want to change
what the power button does while the XPe system is running. |
|
| Back to top |
|
 |
|
|
|
|