Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As in the title: How can Alt+F4 be disabled in Windows 7?

share|improve this question
You should probably closes some of your open questions. Otherwise, update your questions with more detail so that other can help. Majority of the user here like to earn rep or badges for the work they have done to help others. Please reward them. – SgtOJ Sep 11 '11 at 23:14
@SgtOJ: I think you mean "accept" not "close". – Al E. Sep 12 '11 at 12:38
No, some are just unacceptable. – j riv Sep 12 '11 at 12:55
why do you need that? – Lưu Vĩnh Phúc Mar 29 '15 at 17:06

You can use a simple AutoHotkey script:

# Remaps Alt+F4 to "no action"
share|improve this answer
+1: AutoHotkey can even mow your lawn and solve world hunger. – surfasb Sep 12 '11 at 0:34
@surfasb: :) cannot live without it! Currently I'm using it for enhancing CMD.EXE, moving and hiding windows, switching monitors, switching tasks, capturing screens, keyboard logging, .... – PabloG Sep 12 '11 at 1:29
up vote 3 down vote accepted

AutoHotKeys is good but I workarounded it much more simply with a remapping of the windows key with a small utility called SharpKeys. It can simply map F4 to another key with a very intuitive interface.

share|improve this answer
This is more low level and performs better than AHK. (+1) – TechLife Mar 29 '15 at 17:23
Works marvelously for physical keyboards. It does not seem to be working for disabling on-screen keyboard keys. – nonterrorist Nov 12 '15 at 17:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .