Tools like AutoHotkey or SharpKeys can remap or disable specific key combinations,
Create a custom AutoHotkey script:
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
!F4::return ; This line disables ALT+F4
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Is it possible to disable the ALT+F4 shortcut in Windows 11? If so, what steps do I need to take to accomplish this?
Tools like AutoHotkey or SharpKeys can remap or disable specific key combinations,
Create a custom AutoHotkey script:
#NoEnv
#Warn
SendMode Input
SetWorkingDir %A_ScriptDir%
!F4::return ; This line disables ALT+F4
Hello,
Thank you for posting in Q&A forum.
There are two ways to disable it:
Find the policy named “Turn off Windows Key hotkeys” and double-click it.
Select Enabled and click Apply.
Restart the PC to apply the change.
2.Press Windows + I to open the Settings. Go to Accessibility on the left side -> Scroll down and select Keyboard -> Turn off the Sticky keys toggle.
I hope the information above is helpful.
If you have any questions or concerns, please feel free to let us know.
Best regards,
Jill Zhou
If the Answer is helpful, please click "Accept Answer" and upvote it.