GINA on Windows 2000 - WlxWkstaLockedSAS ignored

From: Peter Hesse (PeterHesse_at_discussions.microsoft.com)
Date: 08/16/04


Date: Mon, 16 Aug 2004 11:45:02 -0700

I've written a custom GINA for a client. The idea behind this GINA is they
do not want to require Administrative access for one user to logoff another
user. So, the GINA overrides WlxWkstaLockedSAS() and displays a dialog
giving the user the option to unlock their screen, logout the current user,
or cancel.

When the screen is locked, and the user hits CTRL-ALT-DEL, they are
presented with my dialog, which is a standard CDialog-derived class run with
DoModal(). On Windows 2000 (this doesn't happen on XP) if you hit
CTRL-ALT-DEL while my dialog is up, they are presented with the standard
Windows Security window, containing six buttons. If they choose Cancel from
this, the screen unlocks and the user is logged in as the user whose screen
was locked.

Is this a known problem, and/or is there a workaround? I tried to implement
a low level keyboard hook to grab CTRL-ALT-DEL on my dialog, but that didn't
seem to work. (I couldn't catch CTRL-ALT-DEL, nor could I stop the Windows
Security window from coming up.

Thanks,

--Peter Hesse



Relevant Pages

  • Re: Smart card logon & remote desktop
    ... universal adoption of Windows Vista and Windows ... I am with Slav in suggesting that writing your own GINA is ... I can successfully login using my smart card, ... station does not become locked whatever the state of the "smart card ...
    (microsoft.public.security)
  • Re: Hide Username when pc awakes
    ... system will begin to boot Windows XP Pro. ... There's an important element of security ... User IDs are never designed to be secret, ... Platform Software Development Kit that has GINA samples in it. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: GINA logon w/ Logon Message Error
    ... I can do a search for any GINA ... nass Wrote: ... I have two windows that pop up.... ... DLL file and its not mentioning GINA now. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: GINA logon w/ Logon Message Error
    ... I can do a search for any GINA ... When I reboot my computer, I have two windows that pop up.... ... Error Message: Unable to Log You on Because of an Account ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Privilege-escalation attacks on NT-based Windows are unfixable
    ... >the Password applet. ... I wonder if Ctrl-Alt-Del is trappable by a spoofing ... Every Windows 2000 and XP system I've seen has required me to press ... Fax/Voice +1258-9858 | read details of WFTPD Pro for XP/2000/NT. ...
    (comp.security.misc)