4

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

4
  • 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, 2011 at 23:14
  • @SgtOJ: I think you mean "accept" not "close".
    – ale
    Sep 12, 2011 at 12:38
  • 1
    No, some are just unacceptable.
    – j riv
    Sep 12, 2011 at 12:55
  • why do you need that?
    – phuclv
    Mar 29, 2015 at 17:06

2 Answers 2

4

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.

2
  • 1
    This is more low level and performs better than AHK. (+1)
    – TechLife
    Mar 29, 2015 at 17:23
  • Works marvelously for physical keyboards. It does not seem to be working for disabling on-screen keyboard keys. Nov 12, 2015 at 17:34
3

You can use a simple AutoHotkey script:

# Remaps Alt+F4 to "no action"
!F4::return
2
  • +1: AutoHotkey can even mow your lawn and solve world hunger.
    – surfasb
    Sep 12, 2011 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, 2011 at 1:29

You must log in to answer this question.

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