The application allows you to assign certain commands to your keys, but it also allows you to disable keys. AutoHotkey isn’t the simplest application, so you might want to learn how it works before you can use it correctly.
Basically, you need to create a script that will block Windows Keys and add that script to AutoHotkey. Simply click AutoHotkey icon in your Taskbar and choose Edit this Script. Now you need to paste the following script at the bottom:
- ~LWin Up:: return
- ~RWin Up:: return
Save your script, right-click AutoHotkey and choose to Reload This Script from the menu. After doing that, both Windows Keys will be disabled.
Keep in mind that this solution won’t disable shortcuts that involve Windows Key, instead, it will just disable the keys themselves.
It’s worth mentioning that some online games might recognize AutoHotkey as a cheating application, so keep that in mind.
Before you use this solution it’s always a good idea to do some research and check if the game developers allow you to use AutoHotkey with their game.
4. Use SharpKeys
- Download and start SharpKeys.
- Once the application starts, click on Add.
- Now you’ll see two columns. Click on Type Key in the left pane and press the Windows Key.
- Now click on OK to select the pressed key.
- Select Turn Key Off in the right pane and click on OK to save changes.
- Now click on Write to Registry button.
- Now you just have to restart your PC or log out and log back in to apply the changes.
- To enable Windows Key again, start Sharpkeys, select the desired key from the menu, and click on Delete.
- After deleting the key, click on Write to Registry button.
- Now restart your PC or log off and back on to apply the changes.
Note: This is a free and portable tool that allows you to remap your keys, but it also has the ability to disable keys or to assign them to certain functions. Keep in mind that this is a powerful application, so you’re using it at your own risk.
5. Use Gaming mode on your keyboard
Some keyboards even have a controller icon on one of its keys so you can easily find the shortcut key for Gaming mode. If you can’t find the shortcut on your own, we advise you to check your keyboard manual for detailed instructions on how to activate Gaming mode.
Keep in mind that not all keyboards support this feature, so before you can use it you need to check if your keyboard supports it. Activating the Gaming mode is the simplest and fastest way to disable Windows Key, but unfortunately, not all keyboards support this feature.
6. Disable the Windows key using your keyboard software
As we previously mentioned, many gaming keyboards support Gaming mode. These keyboards usually have dedicated software that you can use to configure various settings such as macros and lighting.
In addition, you can also turn on Gaming mode from these apps. Keep in mind that not all keyboards and apps support Gaming mode, so be sure to check your keyboard manual to see if your keyboard supports this feature.
7. Use Winkill
If you want to disable Windows Key and its shortcuts, you can do it easily with Winkill tool. This is a small and portable application and it will run in your systray, so you won’t even know that it’s running.
Once you start it the application will block Windows Key along with most other Windows Key shortcuts.
Unlike previous applications we mentioned, Winkill allows you to toggle it on or off, so you can easily disable it once you’re done with your gaming session.
If needs be you can also turn it back on with a single click. Winkill is a simple application, and if you’re looking for a simple and easy way to disable Windows Key on your keyboard, Winkill might be the best choice for you.
8. Use Disable Windows Key app
Another third-party application that can disable Windows Key for you is Disable Windows Key app. This is a freeware and portable application, and it will run on any PC without installation.
After you start the application, it will be located in your systray so you won’t even know that it’s running.
The application allows a bit of configuration, so you can start it automatically with Windows if you like. You can also set the application to automatically disable the Windows Key once you start it.
Of course, the application allows you to toggle it on or off simply by clicking its icon.
Disable Windows Keyapp will disable Windows Key, but it won’t disable any shortcuts that use it, which is a major plus.
If you’re looking for a simple and friendly third-party solution that will allow you to disable the Windows Key, be sure to try this application out.
9. Use WKey Disabler
There are many third-party applications that can disable Windows Key, and one of these applications is WKey Disabler. Just like previous apps that we mentioned, this is a freeware and portable application and it will run from your systray.
The application doesn’t have any advanced features, and you can’t even toggle it on or off. As soon as you start the application your Windows Key and all its shortcuts will be automatically disabled.
Since there’s no way to toggle the application off, the only way to enable Windows Key again is to disable the app. WKey Disabler is a simple tool, and if you want to disable your Windows Key, feel free to try it.
10. Use Registry Editor to block Windows Key hotkeys
- Open Registry Editor.
- When Registry Editor opens, from the left panel go to: :
- Right-click the empty space in the right panel and choose New > DWORD (32-bit value).
- Enter NoWinKeys as the name of the new DWORD.
- Double click NoWinKeys DWORD to open its properties.
- Set Value data to 1 and click OK to save changes.
- After you’re done, close Registry Editor and restart your PC to apply the changes.
Note: Once your PC restarts you won’t be able to use Windows Key shortcuts at all. This is useful if you want to prevent users from accessing certain hidden features of your system by using Windows Key shortcuts.
If you want to disable Windows Key only, you might want to try some other solution.
11. Use Group Policy Editor
- Press Windows Key + R and enter gpedit.msc. Press Enter or click OK.
- Now navigate to the User Configuration > Administrative Templates > Windows Components > File Explorer in the left pane.
- In the right pane, locate and double click Turn off Windows Key hotkeys option.
- Select Enabled option and click on Apply and OK to save changes.
- After doing that, restart your PC and check if that solves the problem.
Note: This is a simple solution, but it should disable only Windows Key shortcuts. If you need to disable the Windows Key entirely, you might want to try a different solution.
Learn how to edit the Group Policy like an expert with the help of this useful guide.
Windows Key is incredibly useful, but it can sometimes be a problem during intense gaming sessions. There are many ways to disable it, and the best one is to set your keyboard to Gaming mode.
If the keyboard doesn’t support this feature, you can easily disable Windows Key by using any of our solutions.
If you have any other suggestions or questions, leave them in the comments section below and we’ll surely take a look.
Editor’s Note: This article was originally published in August 2017 and was revamped and updated in January 2021 for freshness, accuracy, and comprehensiveness.