CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6

Thread: alt+ctl+delete

  1. #1
    Join Date
    Jun 2000
    Posts
    104

    alt+ctl+delete

    can someone tell me how to disable Alt+Ctl+Delete? i m using "Windows NT ".
    Thanks in advance for any reply.


  2. #2
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: alt+ctl+delete

    You could try installing a low level keyboard hook (WH_KEYBOARD_LL).
    The EventVB project at http://www.merrioncomputing.com/Download/index.htm has a wrapper for this hook which you could use and there is also a code sample you could use there.

    HTH,
    Duncan

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

  3. #3
    Join Date
    Apr 2000
    Location
    Southampton, UK
    Posts
    329

    Re: alt+ctl+delete

    You cannot block alt+ctrl+delete on Windows NT. Even using a low-level keyboard hook doesn't work. NT traps this key combination before the event handler gets it and automatically handles it. The only way that you could do anything about it would be to write your own GINA dll which receives this event from the O/S however this is an extremely complex task as the GINA controls a hell of a lot of stuff as well as handling Ctrl+Alt+delete.

    TimCottee
    I know a little about a lot of things and a lot about very little.

    Brainbench MVP For Visual Basic
    http://www.brainbench.com

    MCP, MCSD, MCDBA, CPIM

  4. #4
    Join Date
    Apr 2000
    Posts
    737

    Re: alt+ctl+delete

    I am not sure whether you solve the problem or not, but if you not, refer http://vblib.virtualave.net. I post a solution in there.


  5. #5
    Join Date
    Feb 2001
    Location
    Stamford CT USA
    Posts
    2,167

    Re: alt+ctl+delete

    Just wondering if this really works with CTRL+ALT+DEL keys combination. If NT allows this, then I think it is pretty big loop-hole as I can write a desktop simulation and get the UserName/Password of other users by simulating the Logon Screen. Don't you think?

    Just wondering,
    -Cool Bizs

    Good Luck,
    -Cool Bizs

  6. #6
    Join Date
    Dec 1999
    Location
    Dublin, Ireland
    Posts
    1,173

    Re: alt+ctl+delete

    I have found that NT does NOT allow you to trap CTRL+ALT+DEL in this (or any other VB way).

    Which is a good thing...

    -------------------------------------------------
    Ex. Datis: Duncan Jones
    Merrion Computing Ltd
    http://www.merrioncomputing.com/EventVB/Overview.htm - Flatten the API learning curve
    '--8<-----------------------------------------
    NEW -The printer usage monitoring application
    '--8<------------------------------------------

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured