Disable computer lock on "wake-up"
WinXPTalk.com Forum Index WinXPTalk.com
Forums for Windows XP users.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winxptalk.com
Disable computer lock on "wake-up"

 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System
Author Message
VijayS
Guest





Posted: Wed Jan 05, 2005 5:09 am    Post subject: Disable computer lock on "wake-up" Reply with 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
KM
Guest





Posted: Wed Jan 05, 2005 5:36 am    Post subject: Re: Disable computer lock on "wake-up" Reply with quote

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" Reply with quote

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
 
Post new topic   Reply to topic    WinXPTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Office Forums Access Forums Windows Server Exchange Server Help
New Topics Powered by phpBB