How to disable Airplane Mode "hotkey"


  1. Posts : 12
    Windows 10 Pro
       #1

    How to disable Airplane Mode "hotkey"


    Hello, my friend has a laptop, and she keeps accidentally pressing a couple keys that makes her enter Airplane Mode, and that causes her to disconnect from a game she plays. I'm wondering if there is a way to disable the said hotkey?
      My Computer


  2. Posts : 42,995
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    How can you disable a hotkey or hotkey combination? (assuming that's what you mean- which keys are you referring to?)

    You can do that with Autohotkey - free scripting language.

    Consider Win key + h - this launches Dictate on the desktop.
    Create a file called, say,
    disable Winkey h.ahk

    containing
    #h::return

    With Autohotkey installed, simply double click

    disable Winkey h.ahk

    Now Win key + h has no effect.

    Example from the help file:

    A key or key-combination can be disabled for the entire system by having it do nothing. The following example disables the right-side Win key:

    RWin::return

    The documentation provides a list of how to represent all the keys. (CTRL, Win, F1 etc)

    If you want an exe file, with Autohotkey installed, simply right click your .ahk file, click Compile- and lo and behold an exe file is created.


    Last edited by dalchina; 12 Sep 2019 at 05:14.
      My Computers


  3. Posts : 16,950
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #3

    Flight mode & WiFi on/off keys are normally set up by the computer maker. I do not know of any shortcut key combination that is set up by Windows itself and there is no reference to one in Turn On or Off Airplane Mode - TenForumsTutorials

    Computer makers normally put a symbol on the key to indicate that it turns on/off WiFi or Flight mode.
    - If you do have such a symbol, as I expect, then check for guidance in the computer manual, the computer maker's support site & any user forums set up by the computer maker.
    - You might also find that there is a keyboard utility in the Start menu within a section named after the computer maker and, if so, this might provide a means of altering this particular key.
    Unless there is a method provided by the computer maker I do not think you will be successful.

    Denis
      My Computer


  4. Posts : 1,680
    X
       #4

    dalchina said:
    Consider Win + h
    This launches Dictate on the desktop.
    Create a file ... containing *h::return
    That should instead be #h::return
      My Computer


  5. Posts : 42,995
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    Typo corrected.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:00.
Find Us




Windows 10 Forums