Control-Alt-Delete

From HandWiki
Short description: Computer keyboard shortcut that triggers a reboot or system security function
A QWERTY keyboard layout with the position of Control, Alt and Delete keys highlighted

Control-Alt-Delete (often abbreviated to Ctrl+Alt+Del and sometimes called the "three-finger salute" or "Security Keys")[1][2] is a computer keyboard command on IBM PC compatible computers, invoked by pressing the Delete key while holding the Control and Alt keys: . The function of the key combination differs depending on the context but it generally interrupts or facilitates interrupting a function. For instance, in pre-boot environment (before an operating system starts)[3][4][5] or in MS-DOS, Windows 3.0 and earlier versions of Windows or OS/2, the key combination reboots the computer. Starting with Windows 95, the key combination invokes a task manager or security related component that facilitates ending a Windows session or killing a frozen application.

History

Original IBM PC 5150 keyboard: It is impossible to press Ctrl+Alt+Del with one hand only

The soft reboot function via keyboard was originally designed by David Bradley.[6][7] Bradley, as the chief engineer of the IBM PC project and developer of the machine's ROM-BIOS, had originally used ,[8] but found it was too easy to bump the left side of the keyboard and reboot the computer accidentally. According to his own account, Mel Hallerman, who was the chief programmer of the project, therefore suggested switching the key combination to as a safety measure, a combination impossible to press with just one hand on the original IBM PC keyboard.[9][10][11]

The feature was originally conceived only as a development feature for internal use and not intended to be used by end users, as it triggered the reboot without warning or further confirmation—it was meant to be used by people writing programs or documentation so that they could reboot their computers without powering them down. Bill Gates (former Microsoft CEO) remembered it as "just something we were using in development and it wouldn't be available elsewhere".[12] The feature, however, was detailed in IBM's technical reference documentation[3] to the original PC and thereby revealed to the general public.[9]

Bradley viewed this work as just one small task out of many: "It was five minutes, 10 minutes of activity, and then I moved on to the next of the 100 things that needed to get done."[7] In a March 2018 email, one of Bradley's co-workers confirmed the command was invented in 1981 in Boca Raton, Florida.[13]

Bradley is also known for his good-natured jab at Gates at the celebration of the 20th anniversary of the IBM PC on August 8, 2001 at The Tech Museum: "I have to share the credit. I may have invented it, but I think Bill made it famous."; he quickly added it was a reference to Windows NT logon procedures ("Press Ctrl + Alt + Delete to log on").[14][10]

During a question and answer presentation on 21 September 2013, Gates said "it was a mistake", referring to the decision to use Ctrl+Alt+Del as the keyboard combination to log into Windows. Gates stated he would have preferred a single button to trigger the same actions, but could not get IBM to add the extra button into the keyboard layout.[8]

BIOS

By default, when the operating system is running in real mode (or in a pre-boot environment, when no operating system is started yet), this keystroke combination is intercepted by the BIOS.[3][4][5][15][16] The BIOS reacts by performing a soft reboot (also known as a warm reboot).[3][4][5][16] Examples of such operating systems include DOS, Windows 3.0 in Standard Mode as well as earlier versions of Windows.[8]

Windows

DOS-based Windows

Close Program dialog box, seen in Windows 9x

In Windows 9x and Windows 3.0 running in 386 Enhanced mode,[8] the keystroke combination is recognized by the Windows keyboard device driver. According to the value of the LocalReboot option in the [386Enh] section of system.ini, Windows performs one of several actions in response. If LocalReboot=On (default):

  • Windows 3.1x displays a blue screen that allows the user to press Enter to end a task that has stopped responding to the system (if such a task exists) or press Control+Alt+Delete again to perform a soft reboot.[17] The text of this rudimentary task manager was written by Steve Ballmer.[18]
  • Windows 9x temporarily halts the entire system and displays the Close Program dialog box, a window which lists currently running processes and allows the user to end them (by force, if necessary). The user can press Control+Alt+Delete again to perform a soft reboot.[19][20]

If LocalReboot=Off, Windows performs a soft reboot.[17][20]

Windows NT family

The Windows Security screen in Windows 11 provides various security-related options.
Windows 11 secure attention screen
The UAC for Windows 11, where the user is required to press Ctrl-Alt-Delete first to enter credentials, as a part of avoiding login spoofing.

The Windows NT family of operating system, whose members do not have "NT" in their names since Windows 2000, reserve Ctrl+Alt+Delete for the operating system itself. Winlogon, a core component of the operating system,[21] responds to the key combination in the following scenarios:

Invoking Windows Security
When a user is logged onto a Windows computer, pressing Ctrl+Alt+Delete invokes Windows Security. It is a graphical user interface that allows user to lock the system,[lower-alpha 1] switch user, log off, change the password, invoke Windows Task Manager, or end the Windows session by shutting down, rebooting or putting the computer into sleep or hibernation; clicking "Cancel" or pressing the Escape key returns the user to where they were.
The key combination always invokes Windows Security in all versions and editions of Windows NT family except Windows XP. (See below.) Prior to Windows Vista, Windows Security was a dialog box, did not allow user switching and showed the logon date and time, name of user account into which the user has logged on and the computer name. Starting with Windows Vista, Windows Security became full-screen.
Secure attention
Login spoofing is a social engineering trick in which a malicious computer program with the appearance of a Windows login dialog box prompts for user's account name and password to steal them. To thwart this attack, Windows NT implements an optional security measure in which Ctrl+Alt+Delete acts as a secure attention key combination. Once the protection is activated, Windows requires the user to press Ctrl+Alt+Delete each time before logging on or unlocking the computer. Since the key combination is intercepted by Windows itself and malicious software cannot mimic this behavior,[lower-alpha 2] the trick is thwarted.[22] Unless the Windows computer is part of a Windows domain network, the secure attention protection is disabled by default and must be enabled by the user.[23][24]
Windows XP behavior
Windows XP introduces Welcome Screen, a redesigned logon interface. The Welcome Screen of Windows XP, however, does not support the secure attention scenario.[24] It may be disabled in favor of the classic plain logon screen, either explicitly by the user or as a consequence of the Windows XP computer becoming part of a Windows domain network.[25] With that in mind, Windows XP uses the Ctrl+Alt+Delete in the following unique scenarios:
  1. At a logon prompt, the key combination dismisses Welcome Screen and invokes classic logon user interface.[25]
  2. When a user is logged on to a Windows XP computer and Welcome Screen is enabled, pressing the key combination invokes Windows Task Manager instead of Windows Security.[26]
Windows Vista and the next versions of Windows NT did not inherit any of the above.

OS/2

In OS/2, this keystroke combination is recognized by the OS/2 keyboard device driver, which notifies the session manager process.[27] The normal session manager process in OS/2 versions 2.0 and later is the parent Workplace Shell process, which displays the "system is rebooting" window and triggers a soft reboot.[28] If it is pressed twice in succession OS/2 triggers an immediate soft reboot, without waiting for the session manager process.

In both cases, the system flushes the page cache, cleanly unmounts all disc volumes, but does not cleanly shut down any running programs (and thus does not save any unsaved documents, or the current arrangements of the objects on the Workplace Shell desktop or in any of its open folders).[28][29]

Mac

Ctrl+Alt+Delete is not a keyboard shortcut on macOS. Instead, brings up the Force Quit panel. restarts the computer.[30]

The original Mac OS X Server had an Easter egg in which pressing (as the Option key is the equivalent of Alt key on a Mac keyboard) would show an alert saying "This is not DOS!".[31]

Linux

The result of pressing the key combination in Ubuntu v22.10

On some Linux-based operating systems including Ubuntu and Debian, is a shortcut for logging out.[32]

On Ubuntu Server, it is used to reboot a computer without logging in.[33]

Equivalents on various platforms

Desktop operating systems
Platform Key combination Function
Amiga Perform a hardware reboot by sending a reset signal to system via keyboard MCU (+ possible extra keycode + max 10s delay if "reset warning" is supported and in use).[34]
BIOS Perform a soft reboot without memory initialization by jumping to IPL reset vector,[3][4][5][16] after broadcasting a pending shutdown event (on AT compatible machines).[4][5][35][16]
DOS + KEYB Perform a soft reboot without memory initialization by jumping to IPL reset vector, after broadcasting a pending shutdown event (on AT compatible machines)[4][5][35] and flushing disk caches (since DOS 6, or with FreeKEYB[16][36][37] loaded). Some 386 memory managers (e.g. QEMM) can intercept and turn this into a quick reboot.[16] If more than one task is running under multitaskers like DR-DOS EMM386 /MULTI + TASKMGR, this will only kill the currently running foreground task.[16]
DOS + K3PLUS or FreeKEYB Perform a soft reboot with memory initialization (aka "cold reboot") by jumping to IPL reset vector, after broadcasting a pending shutdown event (on AT compatible machines) and flushing disk caches.[16][36][37][38]
Perform a hard reboot by triggering the chipset's reset logic, after broadcasting a pending shutdown event and flushing disk caches.[16][36][37][38]
Windows 3.x Close unresponsive applications. Performs a soft reboot if pressed twice.[17][19][20]
Windows 9x Bring up "Close Program" dialog box (a simplistic task manager). Performs a soft reboot if pressed twice.[19][20]
Windows NT family Bring up the Windows Task Manager[39]
  • Before logon: Brings up the login screen (secure attention sequence)
  • After logon: Brings up Windows Security; in Windows XP, brings up Windows Task Manager if the welcome screen is enabled, otherwise brings up Windows Security[40]
Used in Terminal Services to send the command to the remote session / application:
(twice) Causes a user-initiated crash (disabled by default; must be enabled with registry editing)[42] (An equivalent function is (with held down and pressing twice))[43]
OS/2 Bring up the Window List (unblocking the synchronous input queue)[44]
Perform a soft reboot
, (twice) Halt the system and begin a system dump to floppy disk
TOS (1.4 and higher), MiNT Perform soft reboot without memory initialization (warm boot)[45]
Perform soft reboot with memory initialization (cold boot)[45]
Linux Signal the init process (usually configured to soft reboot)[46]
Magic SysRq key: Depending on the function key, performs a certain low-level function. Examples: sync (flush caches), reboot (forced soft reboot), unmount (remount filesystems readonly), etc.
macOS Force quit applications[30]
Quit all applications and restart[30]
Quit all applications and shut down[30]
Show restart, sleep or shutdown dialog[30][47]
Immediately restarts computer.[30]
BeOS and click an application's entry in the Deskbar Kills application[48]
Xfce + click on window Kills application (invokes xkill)[49]
Lock the screen and invoke the screensaver
X Window System Immediately kills the X server (the key combination can be disabled). When using an X Display Manager, it will usually start the X server again.
BBC Micro running Acorn MOS
  1. Soft boot
  2. Hard boot
  3. Soft boot and look for any bootable media on the active filesystem
Amstrad PCW on CP/M
Other platforms
Platform Key combination Function
TI-30XIIS Restarts the calculator and clears RAM
TI-80, TI-81, TI-82, TI-83, TI-84 , , Shows ROM version number. [Enter] enters self test mode
TI-85, TI-86 , , , Shows ROM version number. [Enter] enters self test mode
TI-89 Restarts the calculator and clears RAM
Force break without restarting RAM
, , Enter self test mode
Natural display Casio calculators Restarts the calculator and clears RAM and EEPROM. Continue pressing Shift to advance through self-test mode.
TI-99/4A Resets machine back to startup screen.
Voyage 200 Restarts the calculator and clears RAM
HP-48 Restarts RPL, clearing the Stack and PICT, closing IO, and returning to the HOME directory (but not purging the memory)
As above, but also purges the memory
Scientific Atlanta Explorer DHCT
Samsung cable boxes
(on settop box; not remote) Reboots box
Foxtel Set-top-boxes (on box; except UEC 720) Power cycles the machine.[50]
(on box; UEC 720)
(on box; iQ2)
C64 Warm starts the machine, does not work if CPU has crashed or NMI is blocked in hardware or rerouted.
Amazon Fire TV (on remote) Reboots the device
Virtual machine platforms
Platform Key combination Function
VMware Send the command to the virtual machine.
Microsoft Virtual PC Send the command to the virtual machine.
Windows Virtual PC for Windows 7 Send the command to the virtual machine.
Oracle VM VirtualBox Send the command to the virtual machine.

Cultural adoption

Dutch protester carrying a sign that reads "Ctrl-Alt-Del the early retirement plan"

As computers became ubiquitous, so too, has the jargon. Control-Alt-Delete can also mean "dump," or "do away with".[51]

The keystrokes are well known and infamous for escaping from problems in pop culture. For example, in the Billy Talent song "Perfect World", part of the lyrics include the sequence and associate it with resetting their memory and escaping from a situation: "Control-Alt-Deleted. Reset my memory."[52]

See also

Notes

  1. When a Windows computer is locked, access to Windows is only allowed when valid credentials are supplied. Unlocking a computer is similar to a logon.
  2. The only way to wrest the control of Ctrl+Alt+Delete handling from Windows is to subvert its core components such as kernel or winlogon. However, a malicious program that has succeeded in breaching Windows integrity so deeply does not need to steal a password.

References

  1. "Unsung innovators: David Bradley, inventor of the "three-finger salute"". Computerworld. 3 December 2007. http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9046742. 
  2. "CTRL-ALT-DEL: The Three Finger Salute". Togaware. http://www.togaware.com/linux/survivor/CTRL_ALT_DEL_Three.html. 
  3. 3.0 3.1 3.2 3.3 3.4 IBM Personal Computer Technical Reference (Revised ed.). IBM Corporation. March 1983. 
  4. 4.0 4.1 4.2 4.3 4.4 4.5 IBM Personal Computer AT Technical Reference. IBM Personal Computer Hardware Reference Library. 0, 1, 2 (Revised ed.). IBM Corporation. March 1986. 1502494, 6139362, 6183310, 6183312, 6183355, 6280070, 6280099. 
  5. 5.0 5.1 5.2 5.3 5.4 5.5 Phoenix Technologies, Ltd. (1989). System BIOS for IBM PC/XT/AT Computers and Compatibles — The Complete Guide to ROM-Based System Software. Phoenix Technical Reference Series (1st ed.). Addison Wesley Publishing Company, Inc.. ISBN 0-201-51806-6. 
  6. "Unsung innovators: David Bradley, inventor of the "three-finger salute". Computerworld. 3 December 2007. https://www.computerworld.com/article/2540049/computer-hardware/unsung-innovator. 
  7. 7.0 7.1 "The History of CTRL + ALT + DELETE". mental floss. 12 July 2013. http://mentalfloss.com/article/51674/history-ctrl-alt-delete. 
  8. 8.0 8.1 8.2 8.3 "If Bill Gates really thinks ctrl-alt-del was a mistake, he should have fixed it himself". Ars Technica. Condé Nast. 27 September 2013. https://arstechnica.com/information-technology/2013/09/if-bill-gates-really-thinks-ctrl-alt-del-was-a-mistake-he-should-have-fixed-it-himself/. 
  9. 9.0 9.1 "A Closer Look at the IBM Personal Computer". BYTE 7 (1): pp. 36. January 1982. https://archive.org/stream/byte-magazine-1982-01/1982_01_BYTE_07-01_The_IBM_Personal_Computer#page/n37/mode/2up. 
  10. 10.0 10.1 "Happy 30th Birthday to the IBM PC". CNET. CBS Interactive. 15 August 2011. http://cnettv.cnet.com/9742-1_53-50109594.html. 
  11. "Thank this guy for 'control-alt-delete'". Indianapolis Star. http://www.gannettonline.com/e/trends/18001162.html. 
  12. "Bill Gates: Control-Alt-Delete a mistake". CNN. 26 September 2013. http://www.cnn.com/2013/09/26/tech/innovation/bill-gates-control-alt-delete/. 
  13. Jarvis, Craig (5 March 2018). "Oops. NC needs to delete ctrl+alt+delete from list of state's inventions". News & Observer. http://www.newsobserver.com/news/business/article203595559.html. 
  14. Control-Alt-Delete: David Bradley & Bill Gates , video clip from IBM PC 20th Anniversary, Aug 8, 2001 (posted to YouTube on Jan 7, 2011)
  15. "The Art of Assembly Language Programming". 30 September 1996. http://maven.smith.edu/~thiebaut/ArtOfAssembly/CH20/CH20-1.html. 
  16. 16.0 16.1 16.2 16.3 16.4 16.5 16.6 16.7 16.8 "[fd-dev Ctrl+Alt+Del"]. freedos-dev. 3 April 2002. https://marc.info/?l=freedos-dev&m=101783474625117. 
  17. 17.0 17.1 17.2 "Windows 3.1 Resource Kit SYSTEM.INI 386ENH Section A–L". Microsoft's KnowledgeBase article 83435. 30 July 2001. http://support.microsoft.com/kb/q83435/. "From SYSINI.WRI in Microsoft Windows Resource Kit for Windows 3.1: LocalReboot=<on-or-off>; Default: On; Purpose: Specifies whether you can press CTRL+ALT+DEL to quit applications that cause an unrecoverable errors in 386 enhanced mode, without restarting Windows. If this setting is enabled, you can quit the applications. If this setting is disabled, pressing CTRL+ALT+DEL will restart your entire system (as it normally does.)" 
  18. "Who wrote the text for the Ctrl+Alt+Del dialog in Windows 3.1?". Microsoft. 2 September 2014. http://blogs.msdn.com/b/oldnewthing/archive/2014/09/02/10554253.aspx. 
  19. 19.0 19.1 19.2 Chappell, Geoff (6 May 1998). "Is this possible?". Newsgroupcomp.os.ms-windows.programmer.vxd. Usenet: 6iouc1$dgh$2@reader1.reader.news.ozemail.net. Archived from the original on 10 September 2017. Retrieved 2017-09-10. — a report of differences in LocalReboot between Windows 3.x and Windows 95
  20. 20.0 20.1 20.2 20.3 Terhune, Gary S. (11 January 2004). "Lost Ctrl-Alt-Del function on W98, 2nd". Newsgroupmicrosoft.public.win98.gen_discussion. Usenet: uAIVMjC2DHA.2336@TK2MSFTNGP09.phx.gbl. Archived from the original on 2 October 2013. Retrieved 2013-10-02. — a report of the effect of LocalReboot in Windows 95
  21. Andrei Miroshnikov (2018). Windows Security Monitoring: Scenarios and Patterns. John Wiley & Sons. ISBN 978-1119390879. https://books.google.com/books?isbn=1119390877. "Winlogon is a system component" 
  22. "Why is Control-Alt-Delete the secure attention sequence (SAS)?". Larry Osterman's WebLog. MSDN Blogs. 24 January 2005. http://blogs.msdn.com/larryosterman/archive/2005/01/24/359850.aspx. 
  23. "Enable Press Ctrl+Alt+Del Secure Logon On Windows 7 or Vista". My Digital Life. 28 January 2010. http://www.mydigitallife.info/enable-press-ctrlaltdel-secure-logon-on-windows-7-or-vista/. 
  24. 24.0 24.1 "How to enable or disable the CTRL+ALT+DELETE sequence for logging on to Windows XP, to Windows Vista, and to Windows 7". Microsoft Support. Microsoft. 10 December 2010. http://support.microsoft.com/kb/308226. 
  25. 25.0 25.1 "How to change the logon window and the shutdown preferences in Windows XP". Microsoft Support. Microsoft. 7 May 2007. http://support.microsoft.com/kb/291559. 
  26. "Using CTRL+ALT+DEL key combination to open Windows Security opens Task Manager". Microsoft Support. Microsoft. 15 January 2006. http://support.microsoft.com/kb/281980. 
  27. (in de) Das OS/2-Buch (1st ed.). Hamburg: Osborne / McGraw-Hill Book Company GmbH. 1988 (published 1989). ISBN 3-89028-151-6. 
  28. 28.0 28.1 (in de) Das große Buch zu OS/2 Version 2 (1st ed.). Düsseldorf: Data Becker. 1993. ISBN 3-89011-598-5. 
  29. (in de) OS/2 Warp Version 3 für Insider (1st ed.). SAMS Publishing. 1995. ISBN 3-87791-815-8. 
  30. 30.0 30.1 30.2 30.3 30.4 30.5 "Mac keyboard shortcuts". Apple, Inc.. http://support.apple.com/kb/HT1343. 
  31. "Mac OS X Server Easter Egg - This is not DOS". http://www.eeggs.com/items/11649.html. 
  32. "Useful keyboard shortcuts". Canonical. https://help.ubuntu.com/stable/ubuntu-help/shell-keyboard-shortcuts.html. 
  33. "Console Security". Canonical. https://help.ubuntu.com/lts/serverguide/console-security.html. 
  34. Wilen, Toni. "Is Ctrl-Amiga-Amiga something special?". http://eab.abime.net/showthread.php?p=1210941. 
  35. 35.0 35.1 "Rebooting from user-space". 13 March 2004. http://www.freedos.org/history/technote/217.html. 
  36. 36.0 36.1 36.2 FreeKEYB - Enhanced DOS keyboard and console driver (v6.5 ed.), 13 October 1997  [1] (NB. FreeKEYB is a Unicode-based dynamically configurable successor of K3PLUS supporting most keyboard layouts, code pages, and country codes.)
  37. 37.0 37.1 37.2 FreeKEYB - Advanced international DOS keyboard and console driver (v7 preliminary (v6.58) ed.), 16 January 2006 
  38. 38.0 38.1 (in de) K3PLUS v6 - Der ultimative Ersatz für den DOS-Standard-Tastaturtreiber KEYB GR (r49-v6.21 ed.), 10 May 1995  (NB. K3PLUS was an extended keyboard driver for DOS widely distributed in Germany at its time, with adaptations to a handful of other European languages available. K3PLUS.DOC is part of the K3P621P2.ZIP distribution package.)
  39. "Keyboard Shortcuts". https://docs.oracle.com/cd/A87861_01/NT817EE/em.817/a85251/key.htm. 
  40. "List of the keyboard shortcuts that are available in Windows XP". https://support.microsoft.com/en-us/help/301583/list-of-the-keyboard-shortcuts-that-are-available-in-windows-xp. 
  41. "List of Windows Keyboard Shortcuts". https://www.instructables.com/id/List-of-Windows-keyboard-shortcuts. 
  42. admin (2023-02-28). "Cómo causar manualmente BSOD en Windows: 6 formas paso a paso" (in es). https://tecnotuto.com/windows/como-causar-manualmente-bsod-en-windows-6-formas-paso-a-paso/. 
  43. "Forcing a system crash from the keyboard". https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/forcing-a-system-crash-from-the-keyboard. 
  44. "Full text of "IBM OS 2 Warp 4 Foundation Level Training Manual"". 2001. https://archive.org/stream/IBMOS2Warp4FoundationLevelTrainingManual/IBM+OS2+Warp+4+Foundation+Level+Training+Manual_djvu.txt. 
  45. 45.0 45.1 "FreeMiNT-Portal - mint.doc". 27 April 2000. http://freemint.de/docs/mint.mint_doc.html. 
  46. "Ctrl+Alt+Delete". https://www.linuxquestions.org/questions/linux-newbie-8/ctrl-alt-delete-97597. 
  47. "Mac OS X 10.4 or earlier: Computer stops responding". Apple, Inc.. http://support.apple.com/kb/TS2298. 
  48. "The Haiku/BeOS Tip Server: Kill and restart the Tracker". http://betips.net/1997/09/09/kill-and-restart-the-tracker. 
  49. "XFCE4 Keyboard Shortcuts". 2 August 2014. http://www.knuckleheadtech.com/xfce4-keyboard-shortcuts/. 
  50. "FOXTEL Set-Top Unit Reboot". http://www.foxtel.com.au/6226.htm. 
  51. Wordspy cites the earliest such use as Chris Miksanek's 18 December 1995 Computerworld column titled, "Ctrl-Alt-Delete those holiday trinkets".
  52. "Billy Talent – 'Perfect World' Lyrics". http://www.sing365.com/music/lyric.nsf/perfect-world-lyrics-billy-talent/75d092b0796b50cd4825717b000dfea0. 

Further reading

  • Linux manual pages for kill(2) and reboot(2).

External links