Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Disable alt+F4

09 Mar 2011   #1

Windows 7 ultimate x64
Disable alt+F4

I would like to use alt together with the "F" keys as shortcuts in a game but alt+F4 just terminates the game.
Is there a way to remove that function from the key combination?

I know this must have been asked before but search rejects both terms and I get no results.

My System SpecsSystem Spec
09 Mar 2011   #2

Windows 7 Ultimate x64 SP1

No, there is no simple trick or way to disable this shortcut. The best you can hope for is a keyboard that has an F Lock key and turning the F Lock function off so you can use the keys freely and I've never tested it so I'm not sure if you could even assign these keys with F Lock off.
My System SpecsSystem Spec
09 Mar 2011   #3

XP / Win7 x64 Pro

Yes, you can disable the Alt+F4 combination with AutoHotKey and a script.

AutoHotkey - Free Mouse and Keyboard Macro Program with Hotkeys and AutoText

This link should also help you out to see how others with your problem have done it:

Key remapping - Forums - World of Warcraft
My System SpecsSystem Spec

10 Mar 2011   #4

Windows 7 ultimate x64

I guessed it wouldn't be as simple as just redefining the shortcut so it looks like I'll have to use the script method.

Thanks for the replies and links guys, so glad I found these forums they've been so much help.

My System SpecsSystem Spec

 Disable alt+F4

Thread Tools

Similar help and support threads
Thread Forum
Remote disable - disable USB selective suspend setting
Is it possible to command line disable disable USB selective suspend setting? or even regedit it? I've read this : Powercfg Command-Line Options and this : and couldn't find a way to disable that specific...
General Discussion
Disable calculator in Windows 7 - Remove, Disable, Delete, Ditch.
Hi does anyone have an idea how to disable or remove the Windows 7 calculator. I want to disable this feature due to cheaters using the calculator whilst doing maths homework? Bloody desperate here. !!!!!!!!!!!:mad: I find it ridiculous its not that easy to do . - Ijust want to Ditch the...
General Discussion
Gadgets, to disable or not to disable?
Hey folks, I have just noticed that Microsoft recommends disabling gadgets. I only have the default gadgets which came with W7 installed and I have never installed any others. Admittedly, the only one I use is the currency one. Is it a security risk to have them enabled?
The button for "Disable" a driver in Device Manager is disable
Hello all, I have a Windows 7 enterprise computer in a Windows domine, the problem is that I'm trying to disable the touchpad mouse of my computer but when I go to Device manager and see the properties of the Mouse Driver the button "Disable" is disable, I think that is something with domain...
Hardware & Devices
How to disable UAC?
So I got to control panel and remove the password and then go to UAC control settings and move the bar all the way down where it says: - Program try to install software or make changes to my computer - I make changes to windows settings Is that it?
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:31.
Twitter Facebook Google+