PC Review
Forums
Newsgroups
Windows XP
Windows XP Embedded
Automatic Logon after resuming from Hibernation
Forums
Newsgroups
Windows XP
Windows XP Embedded
Automatic Logon after resuming from Hibernation
![]() |
Automatic Logon after resuming from Hibernation |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have created a XP embedded image with a custom shell. I am using the
Automatic Logon component to logon automatically. This works fine if it is a fresh boot but if I see the logon box after I hibernate and resume my system. Is there any specific registry key that can make this logon box go away? I am aware of the manual way to achieve this from the "Power Options properties" but I need a automated solution to this. I am using WinLogon. |
|
|
|
#2 |
|
Guest
Posts: n/a
|
emkay,
Try disabling option and record registry value affected: Power Options Properties->Prompt for password when computer resumes from standby. Regards, Slobodan "emkay" <mkay80@gmail.com> wrote in message news:1113294293.322516.95180@f14g2000cwb.googlegroups.com... >I have created a XP embedded image with a custom shell. I am using the > Automatic Logon component to logon automatically. This works fine if it > is a fresh boot but if I see the logon box after I hibernate and resume > my system. Is there any specific registry key that can make this logon > box go away? I am aware of the manual way to achieve this from the > "Power Options properties" but I need a automated solution to this. I > am using WinLogon. > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
I tried using regmon but could not make much sense out of it.
Best Regards, MK Vlead |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Use filter option in regmon to filter out only successful writes.
Open power dialog uncheck box. Clear all garbage from regmon. Press apply on power dialog. And stop regmon from accumulating more changes. You will find some nasty binary entries with Policy/Policies in their name but you will have to figure out how and what to change. Some API function would be better for this but you will need to find it. Also try gpedit.msc there might be simpler alternative there. Regards, Slobodan "emkay" <mkay80@gmail.com> wrote in message news:1113306689.752442.73980@z14g2000cwz.googlegroups.com... >I tried using regmon but could not make much sense out of it. > > Best Regards, > MK > Vlead > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
emkay,
Some solutions were suggested in this thread: http://groups-beta.google.com/group...ae7bb9e6596e77a KM >I have created a XP embedded image with a custom shell. I am using the > Automatic Logon component to logon automatically. This works fine if it > is a fresh boot but if I see the logon box after I hibernate and resume > my system. Is there any specific registry key that can make this logon > box go away? I am aware of the manual way to achieve this from the > "Power Options properties" but I need a automated solution to this. I > am using WinLogon. > |
|
|
|
#6 |
|
Guest
Posts: n/a
|
This is the registry key that's needed to prevent the login box from
coming up after resuming from standby/hibernation: [HKCU\Control Panel\PowerCfg\GlobalPowerPolicy] MK Vlead |
|
|
|
#7 |
|
Guest
Posts: n/a
|
emkay,
You can also use powercfg.exe tool ("Power Configuration Tool" component). Something like the following would do the job: "powercfg.exe /GLOBALPOWERFLAG on /OPTION RESUMEPASSWORD" -- Regards, KM, BSquare Corp. > This is the registry key that's needed to prevent the login box from > coming up after resuming from standby/hibernation: > > [HKCU\Control Panel\PowerCfg\GlobalPowerPolicy] > > MK > Vlead > |
|
|
|
#8 |
|
Guest
Posts: n/a
|
I meant "powercfg.exe /GLOBALPOWERFLAG off /OPTION RESUMEPASSWORD" :-)
^^^ Btw, you can always do the same through API. Just make sure to disable EnablePasswordLogon global flag in GLOBAL_USER_POWER_POLICY structure with WriteGlobalPwrPolicy call. http://msdn.microsoft.com/library/d...s_constants.asp -- Regards, KM, BSquare Corp. > emkay, > > You can also use powercfg.exe tool ("Power Configuration Tool" component). > Something like the following would do the job: "powercfg.exe /GLOBALPOWERFLAG on /OPTION RESUMEPASSWORD" > > -- > Regards, > KM, BSquare Corp. > > > > This is the registry key that's needed to prevent the login box from > > coming up after resuming from standby/hibernation: > > > > [HKCU\Control Panel\PowerCfg\GlobalPowerPolicy] > > > > MK > > Vlead > > > > |
|
|
|
#9 |
|
Guest
Posts: n/a
|
The following registry key solved my problem:
[HKCU\ControlPanel\PowerCfg\GlobalPowerPolicy] MK Vlead |
|
|
|
#10 |
|
Guest
Posts: n/a
|
emkay,
I know. I was just saying that it is the reg.key that gets modified by the command line utility or by the API I mentioned above :-) -- Regards, KM, BSquare Corp. > The following registry key solved my problem: > > [HKCU\ControlPanel\PowerCfg\GlobalPowerPolicy] > > MK > Vlead |
|
![]() |
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

