Windows 10: Disabling a hotkey in Windows Explorer

Discus and support Disabling a hotkey in Windows Explorer in Windows 10 Support to solve the problem; How can I disable the Ctrl+D hotkey (that deletes files) in Windows Explorer? I'm specifically looking for a solution that does not involve 3rd... Discussion in 'Windows 10 Support' started by Flummox, Jun 29, 2017.

  1. Flummox Win User

    Disabling a hotkey in Windows Explorer


    How can I disable the Ctrl+D hotkey (that deletes files) in Windows Explorer?

    I'm specifically looking for a solution that does not involve 3rd party software; so preferably something like Group Policy, or a Registry key, or some other built-in method.

    :)
     
    Flummox, Jun 29, 2017
    #1
  2. Julie Ram Win User

    How to disable hot keys?

    Hi,

    Hot keys usually provides shortcut access to the Start button or other Windows functions. Sometimes we want to disable some of them if they interfere with us. To disable hotkeys in Windows 10, you may follow the steps below:

    • Type gpedit in the Search and then click Edit group policy. (This will open
      Local Group Policy Editor).
    • Navigate to User Configuration > Administrative Templates > Windows Components > File Explorer. In the right-side pane, look for Turn off Windows + X hotkeys and double click on it.
    • Check Disabled and click OK.
    • Restart the computer to make the settings take effect.

    Do get back to us if you need further assistance.
     
    Julie Ram, Jun 29, 2017
    #2
  3. How to disable hotkeys in Lenovo Ideapad MIIX?

    Hi i have got a Lenovo Ideapad MIIX and im having some problems with th hotkeys on it because of my touchscreen the arrows have a hotkey to volume up and brightness i need to disable that for gaming reasons and i cant i have tryd evry thing but it doenst
    work if i press fn and f1 using the arrows at the same time the volume will go up how can i disable this type of hotkeys?

    Original title: windows 10 hotkeys
     
    ricardoprimor, Jun 29, 2017
    #3
  4. bro67 Win User

    Disabling a hotkey in Windows Explorer

    It has always involved third party software like Key Tweak. You can download it from majorgeeks.com
     
    bro67, Jun 29, 2017
    #4
  5. Hydrate Win User
    I can provide you with a Windows registry script that will disable all Windows hotkeys, without using third party software.

    Would you be interested in that?
     
    Hydrate, Jun 29, 2017
    #5
  6. bro67 Win User
    Hydrate I would post it, unless there is a tutorial with the info already. Not the first time that someone has asked for how to change hard assignments. The majority of the shortcuts that Microsoft puts into their products, the average user does not even use.
     
    bro67, Jun 29, 2017
    #6
  7. Flummox Win User
    Thank you all for your replies.

    For clarity, I should have perhaps elaborated a little more on what I am trying to achieve.

    I use AutoHotkey to allow all sorts of custom key combos and actions to be run. One of the hotkeys that I have created is designed to deselect any selected files in Explorer (sort of the opposite of Ctrl + A). I assigned Ctrl + D (for de-select) to this action because it's the same hotkey that's used to deselect a selection in Photoshop, and I've been using that for so long that it's really engrained in me, so it just made sense for me to go with the same hotkey for deselecting in Explorer.

    I've been happily using this for a couple of years, and all is well ...... provided that Autohotkey is running! However, if AutoHotkey is not running then Ctrl+D changes back to delete.

    I don't clutter my system tray with icons for AutoHotkey (because once the script is edited, it just does it's thing and doesn't need to be interacted with via GUI) so it's not immediately apparent if it is not loaded. Also, whenever I deliberately unload the script (to work on new scripts) or if I'm starting Windows with HKCU & HKLM run commands temporarily disabled for testing, then it's easy to forget that my frequently used hotkey has suddenly changed function and it will now delete files instead of just unselecting them.

    So I was hoping to find solution that does not rely on startup shortcuts or 'run' registry keys; something that essentially can't be bypassed easily, but at the same time which will not completely disable that key combo (because I still need to use it in Photoshop and other apps).

    So when I said "no 3rd party" it wasn't about me wanting to set the restriction directly just for the hell of it, what I meant was I didn't want to have to run yet another piece of software every time because that would just duplicate the function of AutoHotkey, and it would be prone to the same issue of silently reverting the hotkey to default if it didn't run for some reason.

    The option that Bro67 mentioned is a 3rd party software, but it just acts as a font end to the Registry (as far as I can tell) so this might do the trick, unless it permanently maps the hotkey for all applications.
     
    Flummox, Jun 29, 2017
    #7
  8. Hydrate Win User

    Disabling a hotkey in Windows Explorer

    Only one way to do this is to try it out for yourself or read the feature list of the 3rd paty software Bro suggested.
     
    Hydrate, Jun 29, 2017
    #8
  9. Flummox Win User
    I have now had time to read through the manual for KeyTweak and it is completely unsuitable. It's a program for disabling / remapping keyboard keys globally (for all applications and all users), rather than disabling a "hotkey" combination within a specific application.

    If Microsoft had used just the Winkey as part of this hotkey assignment then it would have been a lot easier to deal with. However, the fact that they've used the Ctrl key means that I obviously can't block that particular key globally (because I wouldn't even be able to copy and paste, never mind continuing to use Ctrl + D in Photoshop as stated as a requirement in my original post).

    Anyway, I think I have come up with my own solution (although I've not had time to test it out yet).

    I will use AutoHotkey to create a script to block Ctrl + D only when that combination is pressed in Explorer (which is what I have already) but I will put this in its own script by itself. Then, instead of running it as a script, I'll compile it into a executable. This would mean that it would not be affected if I shut down all running AutoHotkey scripts while testing.

    To go one step further and ensure that it can't be easily disabled from running at startup (by editing 'run' Registry keys, or by using MSconfig) I will take the compiled .exe and run it as a background system Service (where it cannot easily be disabled or killed using Task Manager).

    That should pretty much ensure that I can rely on it being there, regardless of what I'm doing on the computer.
     
    Flummox, Jun 30, 2017
    #9
  10. Hydrate Win User
    You came up with your own intelligent solution. You didn't need us *Wink

    Well, it was hard for me to understand why you needed this when you seemed to have already solved the problem early with AHK.
     
    Hydrate, Apr 4, 2018
    #10
Thema:

Disabling a hotkey in Windows Explorer

Loading...
  1. Disabling a hotkey in Windows Explorer - Similar Threads - Disabling hotkey Explorer

  2. howto disable specific windows Fxx hotkeys?

    in Windows 10 Customization
    howto disable specific windows Fxx hotkeys?: game programmer issue. i wanna disable the i think explorer internal F10 hotkey, which apparently is supposed to open the system menu of 'apps'/regular program windows. i don't need this. it's useless who uses that? probably nobody. i also might wanna disable the de-bugger...
  3. How can I disable screenshot hotkey?

    in Windows 10 Customization
    How can I disable screenshot hotkey?: Hello, So after recent update, I can screenshot specific area by Windows+Shift+S. As this hotkey is interfering with my gaming, I would like to disable this function. The question is how I can disable it. I heard that I need to edit registry, is there a way to do it...
  4. How to disable Airplane Mode "hotkey"

    in Windows 10 Network and Sharing
    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? 140386
  5. How to disable Airplane Mode "hotkey"

    in Windows 10 Support
    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? 140386
  6. Disabling keyboard language hotkey combinations.

    in Windows 10 Customization
    Disabling keyboard language hotkey combinations.: Hello, I'm running Windows 10 on a Huawei MateBook Pro. I sometimes accidentally hit CTL-SHIFT together and toggle my keyboard into French mode. I'd like to know how to disable this feature/change it to something else I don't hit so often. Thanks in advance for your...
  7. Windows 10 Mail - Disable/change Hotkeys

    in Windows 10 Software and Apps
    Windows 10 Mail - Disable/change Hotkeys: I am using the Mail app in Windows 10 and it is frustrating when while composing an email I press Alt+S and the email gets sent. I would like to disable the Alt+S keys for sending email and the also rather dangerous Ctrl+D (which I found out by tragic accident) deletes an...
  8. disable / modify win hotkeys

    in Windows 10 Support
    disable / modify win hotkeys: hello, i don't want to use to built-in windows key hotkeys such as win+D, win+S etc. how can i modify them or disable them altogether? 18090
  9. Enable or Disable Color Filters Hotkey in Windows 10

    in Windows 10 Tutorials
    Enable or Disable Color Filters Hotkey in Windows 10: How to: Enable or Disable Color Filters Hotkey in Windows 10 How to Enable or Disable Color Filters Win+Ctrl+C Hotkey in Windows 10 Starting with color filters at the system level, including filters designed to make it easier for people with color blindness to...
  10. Disable explorer?

    in Windows 10 Support
    Disable explorer?: It looks pretty but it is very awkward to use. How do I stop explorer being default. I cant even view PDF's on adobe. I cant find the tools in the menu help please I am stuck I don't want explorer at all.. 36493