Click here to Skip to main content
11,934,783 members (39,159 online)
Click here to Skip to main content
Add your own
alternative version


20 bookmarked

Disable Ctrl+Alt+Del Windows XP

, 12 Sep 2008 CPOL
Rate this:
Please Sign up or sign in to vote.
A very simple way of doing it.


This is a very simple way of disabling the Ctrl+Alt+Del combination in Windows XP or running the program of your choice thourgh the all-migthy Registry.


I spent the last night programming a lot of things and reading many articles and I found tons of people asking for a way of locking the Windows desktop. A lot of articles talk about locking the mouse and keyboard but they all leave something behind: the Task Manager. Only a few articles addressed the subject. This article shows a list of ways of achieving this and thoroughly discusses one and presents the source. The two most known ways are subclassing the SAS (Secure Attention Sequence) window and writing a Gina dll. These are indeed really hard and time consuming tasks (the latter one being almost impossible).

Using the code  

Using the Registry editor of your choice (for example regedit.exe) navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\taskmgr.exe

Now create a new alphanumerical value called Debugger and change its data to the path of the program you want to run with Ctrl+Alt+Del  (try calc.exe or notepad.exe for instance).

If you want no action just change its data to something invalid (a space, the string "·$·%", "dontruntaskmanager"... you get the point).

And thats it! No SAS window sublcassing no Gina dll... It just can't get simpler. 


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Uruguay Uruguay
No Biography provided

You may also be interested in...

Comments and Discussions

GeneralMy vote of 1 Pin
C.V.Vikram3-Sep-09 1:17
memberC.V.Vikram3-Sep-09 1:17 
General[tut] C# Disable CTRL-ALT-DEL, ALT-TAB, ALT-F4, Start Menu and so on… Pin
jammmie99919-Jul-09 4:04
memberjammmie99919-Jul-09 4:04 
GeneralNot on Vista with UAC Enabled as Non-Admin user. Pin
Blake Miller12-Sep-08 12:45
memberBlake Miller12-Sep-08 12:45 
GeneralRe: Not on Vista with UAC Enabled as Non-Admin user. Pin
gabrielmaldi15-Sep-08 11:15
membergabrielmaldi15-Sep-08 11:15 
GeneralRe: Not on Vista with UAC Enabled as Non-Admin user. Pin
Blake Miller15-Sep-08 14:34
memberBlake Miller15-Sep-08 14:34 
Generalmore easiest way Pin
only_jack12-Sep-08 11:33
memberonly_jack12-Sep-08 11:33 
GeneralRe: more easiest way Pin
Blake Miller12-Sep-08 12:44
memberBlake Miller12-Sep-08 12:44 
GeneralRe: more easiest way [modified] Pin
only_jack13-Sep-08 5:09
memberonly_jack13-Sep-08 5:09 
GeneralRe: more easiest way Pin
gabrielmaldi15-Sep-08 18:07
membergabrielmaldi15-Sep-08 18:07 
GeneralSample Pin
Luiz Salamon12-Sep-08 10:16
memberLuiz Salamon12-Sep-08 10:16 
GeneralRe: Sample Pin
gabrielmaldi15-Sep-08 11:09
membergabrielmaldi15-Sep-08 11:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.151126.1 | Last Updated 12 Sep 2008
Article Copyright 2008 by gabrielmaldi
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid