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/de..._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
> >
>
>