Enable or disable Ctrl-Alt-Del

Enable or disable Ctrl-Alt-Del

Post by frank » Sun, 26 Oct 2008 21:57:13


If I misunderstood the previous comments, I aplogize. You can stop a user from doing a Ctrl-Alt-Del. I have done it with a C# GUI which calls a C-style DLL to hook "winlogon.exe". Describing how to do it here would be too lengthly. If there is a desired to know how to do it, you can either email me at XXXX@XXXXX.COM or just use Google to search for how it is done. Briefly, once the C-style DLL is coded, you reference the DLL within you C# app by using something like this:

[DllImport(@"MyDll.dll")]
public static extern IntPtr CtrlAltDelEnableDisable(int i);

The calls would then be as follows:

CtrlAltDelEnableDisable(0); // zero value disables Crtl-Alt-Del

CtrlAltDelEnableDisable(1); // any non-zero value enables Crtl-Alt-Del
 
 
 

Enable or disable Ctrl-Alt-Del

Post by Kerem Gr » Tue, 28 Oct 2008 14:22:44

Hi Franco,

well, this is hard to believe for me that you have managed this from user
mode. It would
be nice if you could post some on a external website or download link, since
i am a .NET
developer and i would like to know how you managed this from a mannaged
application
without having a external dll injected into running processes only by using
a Pinvoked
dll import. There are lots of barriers and security wals to break to do
something like that
or you write a keyboard hooking kernel driver that will manage this for you.
So it would
be very interesting how you did this and how your code looks like...also
interesting would
be to know what operation systems it works on,...

Regards

Kerem

"frank gennaro" schrieb im Newsbeitrag

 
 
 

Enable or disable Ctrl-Alt-Del

Post by Alex » Wed, 29 Oct 2008 06:40:06


It's a Win32 f.a.q. Just use a service
 
 
 

Enable or disable Ctrl-Alt-Del

Post by Volodymyr » Wed, 29 Oct 2008 18:53:12

Maybe this method is used? :)
http://www.yqcomputer.com/

--
Volodymyr, blog: http://www.yqcomputer.com/
(This posting is provided "AS IS" with no warranties, and confers no
rights)