Re: GINA Doubts

From: Gary Chanson (gchanson_at_NOSPAM.TheWorld.com)
Date: 09/26/03


Date: Fri, 26 Sep 2003 11:33:14 -0400


"Nitin Kapoor" <nitinkapooro@hotmail.com> wrote in message
news:178201c383fd$63ba8ac0$a101280a@phx.gbl...
> Dear All,
>
> My Program Resumes the Computer Running Windows XP From
> Standby or Suspension and performs certian work.i am
> using SetWaitable Timer and WaitForSingleObject for
> these .This is working fine.
>
> My Application needs to carry on doing the work it was
> doing after the computer has resumed from standby and
> this has to displayed to the user(say playing a Windows
> Media File).Now,The Problem i am encountering is that if
> the user has checked the button of "Ask for Password
> after resume from standby" in the Power Management
> Settings ,the machine will ask for a windows login
> again , now i want to remove this setting of asking for a
> password programatically,so i need to know a way of doing
> this.
>
> I was Told by Fellow NewsGroups Memebers that i will Have
> To Write A " Custom GINA" for it ,i have two doubts.
>
> 1.Am i moving in the right direction, is this the only
> way to do it .
> 2.if it is the only way,Where can i find pointers to
> Sample Code For GINA.i could not find any usefull one
> online.
>
> Any Suggestions or Pointers would be of great Help.

    My suggestion is don't do it. Be aware that you are attempting to
circumvent a security feature for what appears to be trivial reasons. If
the user has configured his machine to require a password when it returns
from suspend mode, there's probably a good reason for it.

-- 
-GJC
-Software Consultant (Embedded systems and Real Time Controls)
-gchanson@mvps.org
-Abolish public schools