Discussion:
How To Disable ctrl+alt+del ?
(too old to reply)
lzq
2008-03-13 15:27:35 UTC
Permalink
Hi.I want to disable ctrl+ alt+del when my project running ?
I don't want to rewrite a gina.dll ?
if you can help me ?
thanks!
Alex Blekhman
2008-03-13 17:03:09 UTC
Permalink
Post by lzq
Hi.I want to disable ctrl+ alt+del when my project running ?
I don't want to rewrite a gina.dll ?
if you can help me ?
You cannot do that. Ctrl+Alt+Del is registered by Winlogon
process, so no other process in the system is able to hook the
sequence.

Alex
Jochen Kalmbach [MVP]
2008-03-13 17:17:19 UTC
Permalink
Hi lzq!
Post by lzq
Hi.I want to disable ctrl+ alt+del when my project running ?
You can do this by changing the group-policy:
http://techrepublic.com.com/5208-6230-0.html?forumID=47&threadID=174195&messageID=1772420
--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/
Alex Blekhman
2008-03-13 22:33:58 UTC
Permalink
Post by Jochen Kalmbach [MVP]
Hi lzq!
Post by lzq
Hi.I want to disable ctrl+ alt+del when my project running ?
http://techrepublic.com.com/5208-6230-0.html?forumID=47&threadID=174195&messageID=1772420
This article describes how to disable Task Manager, not how to
disable Ctrl+Alt+Delete sequence. You can disable login screen
altogether though, so upon system start user won't see it.
However, no application can disable Ctrl+Alt+Delete.

Alex
lzq
2008-03-14 15:36:25 UTC
Permalink
Post by Alex Blekhman
Post by Jochen Kalmbach [MVP]
Hi lzq!
Post by lzq
Hi.I want to disable ctrl+ alt+del when my project running ?
http://techrepublic.com.com/5208-6230-0.html?forumID=47&threadID=174195&messageID=1772420
This article describes how to disable Task Manager, not how to
disable Ctrl+Alt+Delete sequence. You can disable login screen
altogether though, so upon system start user won't see it.
However, no application can disable Ctrl+Alt+Delete.
Alex
There seems to be a way to Create a Remote Thread to inject a Library to
Winlogon process and add a Hook to change the Proc .But I don't know how
to do that . who can give me a simple example that create a Remote Thread?
thanks!
Sheng Jiang[MVP]
2008-03-14 17:02:41 UTC
Permalink
No, if you are talking about subclassing the SAS window
(www.codeproject.com/KB/system/preventclose.aspx), the way is dead.
Apparently Microsoft see the approach as a security hole and removed the SAS
window in Windows Vista. Symantec Antivirus does not like it too.
--
Sheng Jiang
Microsoft MVP in VC++
Post by lzq
Post by Alex Blekhman
Post by Jochen Kalmbach [MVP]
Hi lzq!
Post by lzq
Hi.I want to disable ctrl+ alt+del when my project running ?
http://techrepublic.com.com/5208-6230-0.html?forumID=47&threadID=174195&messageID=1772420
Post by lzq
Post by Alex Blekhman
This article describes how to disable Task Manager, not how to
disable Ctrl+Alt+Delete sequence. You can disable login screen
altogether though, so upon system start user won't see it.
However, no application can disable Ctrl+Alt+Delete.
Alex
There seems to be a way to Create a Remote Thread to inject a Library to
Winlogon process and add a Hook to change the Proc .But I don't know how
to do that . who can give me a simple example that create a Remote Thread?
thanks!
lzq
2008-03-16 12:40:37 UTC
Permalink
Post by Sheng Jiang[MVP]
No, if you are talking about subclassing the SAS window
(www.codeproject.com/KB/system/preventclose.aspx), the way is dead.
Apparently Microsoft see the approach as a security hole and removed the SAS
window in Windows Vista. Symantec Antivirus does not like it too.
Thanks,I just need the source code .I don't work under Windows Vista .
I'm a student of China .I know you are Chinese too .
Ben Voigt [C++ MVP]
2008-03-24 16:19:58 UTC
Permalink
Post by Alex Blekhman
Post by Jochen Kalmbach [MVP]
Hi lzq!
Post by lzq
Hi.I want to disable ctrl+ alt+del when my project running ?
http://techrepublic.com.com/5208-6230-0.html?forumID=47&threadID=174195&messageID=1772420
This article describes how to disable Task Manager, not how to
disable Ctrl+Alt+Delete sequence. You can disable login screen
altogether though, so upon system start user won't see it.
However, no application can disable Ctrl+Alt+Delete.
I think there's a way to configure the system to use a different key
combination as the Secure Attention Sequence, but I don't know where that
would be.

Whatever the SAS is, Windows traps it long before any user application has
the chance to intercept it.
Post by Alex Blekhman
Alex
Loading...