Within Visual Basic, how do I send "CTRL-ALT-DEL"? All I want to do is bring up the Windows Security box, but SendKeys doesn't permit the combination...
actually.. that said, a program called VNC that is used to operate a computer remotely, over a network, has a menu option "Send CTRLALTDEL" which causes the remote machine to display the options box. i think they may have used a low level keyboard hook of some kind though..
did a bit of research and it seems that ctrl+alt+delete is actually a special combination that, though some specific wiring in the keyboard, causes an interrupt to be generated on the cpu with a specific code. windows handles this interrupt and shows the security screen. how you would emulate this interrupt yourself, i do not know. might be good if you told us WHY you want to do this
Terminal Services doesn't allow me to do a CTRL-ALT-DEL 'across the wire'. The key combination activates the local terminal's security box.
I've tried fiddling with the settings of terminal services client but (thus far) to no avail. Of course, I might be missing something horribly basic - let me know if I am!
If there was an icon on the remote server's desktop that I run which "sends" CTRL-ALT-DEL that would be very useful!
Although, come to think of it, any program doesn't have to "send" CTRL-ALT-DEL, it merely has to invoke the "Windows Security" box. If it is known how to invoke that box, who cares about CTRL-ALT-DEL!
Although it doesn't work for me it seems that there is a way to trigger the "Windows Security" box. Have a look at http://www.codeproject.com/system/al...rol_delete.asp. (it's in VC++)
If you just want to call the Task Manager than it's simple 'cause you can use Shell to execute taskmgr.exe from windows\system32.
You liked it? Please show your gratitude and rate it!
Bookmarks