Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • October 01, 2016, 02:00:48 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [SOLVED] Ctrl+Alt+Del  (Read 4157 times)

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 582
    • View Profile
    • VDSFreak
    • Donate to Member
[SOLVED] Ctrl+Alt+Del
« on: June 10, 2014, 01:50:16 PM »
I develop kiosk software that goes onto systems at hotels, my client wants to disable Ctrl+Alt+Del and Ctrl+Esc. I have tried using AutoHotkey but it is not working for me. Anyone have some AHK code that does work or know of an app that can do this?

Thanks!
http://VDSFreak.com
Follow me on Tumblr.com to stay up to date on updates and new software!

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,751
    • View Profile
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #1 on: June 10, 2014, 02:32:29 PM »
The Ctrl-Alt-Del key combination is caught at a very low level of Windows, and can't be caught without installing a specialized keyboard handler/driver, AFAIK.
Ctrl-Esc is a feature of Explorer.exe (AFAIR), and is also quite hard to intercept. Dunno about any AHK code for that, but I'm no AHK coder :-[

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 582
    • View Profile
    • VDSFreak
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #2 on: June 10, 2014, 02:45:07 PM »
I really don't need to disable it, poor choice of words. Just remap the Ctrl Alt Del and Esc keys.... which is what I have tried without any luck.
http://VDSFreak.com
Follow me on Tumblr.com to stay up to date on updates and new software!

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,172
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #3 on: June 10, 2014, 02:48:54 PM »
To get rid of Control Esc this should work

^Escape::
  ;msgbox,Control Esc Pressed
return

uncomment the msgbox line to test.  For control alt del I'd try the AHK Forums.

Also if not done already you should disable TaskManager so the user can't kill the ahk process.  You can use the #NoTrayIcon directive at the top of the script so they can't right click on the tray icon and kill it.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,172
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #4 on: June 10, 2014, 02:53:27 PM »
You can remap a key to nothing just by
Escape::


wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,277
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #5 on: June 10, 2014, 02:57:07 PM »
A couple of articles on this:

https://stackoverflo...laltdel-on-windows-7

https://stackoverflo...d-shutdown-for-kiosk

Don't know if any of those approaches work.. .it appears this isn't something to be approached lightly.

c.gingerich

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 582
    • View Profile
    • VDSFreak
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #6 on: June 10, 2014, 03:37:49 PM »
Yep - Scancode map worked - I used the info I found from http://www.northcode...s-For-Use-As-A-Kiosk

Thanks all

This can be marked resolved.
http://VDSFreak.com
Follow me on Tumblr.com to stay up to date on updates and new software!

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,276
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #7 on: June 10, 2014, 04:14:28 PM »
Nice.  :up:

(I was just about to suggest this article on codeproject.com).

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,548
    • View Profile
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #8 on: June 10, 2014, 07:16:02 PM »
Heh sorry for always being the humanities kid in the coding room, but here goes:

What does Control-Escape even do? C-A-D I know, it's legendary. But I guess I'm a wee bit perturbed I've hung out on this forum for a couple of years and Slashdot for a *decade* and browsed my share of misc articles and I've never even *heard* of that combo!
:o

I get the gist easily, you wanna disable the "tricks" so that script-kiddie-level twerps don't go fiddling with embedded kiosk software, but I've just never run across that combo. (And have I missed a useful trick all these years?!)


hamradio

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 675
  • Amateur Radio Guy
    • View Profile
    • HamRadioUSA.net
    • Read more about this member.
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #9 on: June 10, 2014, 09:11:42 PM »
For me Ctrl + Esc does the same as the window key on windows 7 anyway. :)
Carroll - HamRadioUSA.net

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 7,651
    • View Profile
    • The Blog of Deozaan
    • Read more about this member.
    • Donate to Member
Re: [SOLVED] Ctrl+Alt+Del
« Reply #10 on: June 11, 2014, 05:09:46 AM »
You sure you didn't mean Ctrl-Shift-Esc? That brings up the Task Manager, which is what most people want to do when they press Ctrl-Alt-Del.