How can I disable ALT+F4 in Windows 11?

tristan 0 Reputation points
2024-08-15T19:00:12.25+00:00

Is it possible to disable the ALT+F4 shortcut in Windows 11? If so, what steps do I need to take to accomplish this?

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,678 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. S.Sengupta 18,691 Reputation points MVP
    2024-08-16T00:23:58.8133333+00:00

    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


  2. Jing Zhou 7,095 Reputation points Microsoft Vendor
    2024-08-19T01:50:17.7133333+00:00

    Hello,

     

    Thank you for posting in Q&A forum.

    There are two ways to disable it:

    1. Press Win+R and type "gpedit.msc". Navigate to User Configuration > Administrative Templates > Windows Components > File Explorer.

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.