Disable Windows Key: 5 Easy Ways to Lock it

Top tips to stop the Windows key from interrupting your activities

Reading time icon 6 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • Have you wondered how to disable the Windows key? Modifying the registry is one solution.
  • Instead of modifying the registry, you can download a .reg file and use it to disable the Windows key.
  • Usually, gaming keyboards have dedicated software so that you can check the key settings there.
disable windows key
A message from our partner

Resolve multiple Windows PC issues and speed up your PC effortlessly with specialized software.

  • Download HelpSoft PC Cleaner and install it on your PC.
  • Click on Start Scan button to find corrupt or broken files that affect your PC.
  • Now the software will start the fixing process and boost your PC performance.
Download now HelpSoft PC Cleaner has been downloaded by 0 readers this month

The Windows key is somewhat helpful and is a part of many shortcuts on Windows 10. However, many users use it frequently, and some want to disable it.

The key can sometimes be a problem, especially during intense gaming sessions. By default, pressing the Windows key will open the Start Menu, which can make you lose focus while gaming.

This guide will show you the easy ways to disable the Windows key and prevent any distractions.

Can you disable the Windows key while gaming?

There are limited ways to disable the Windows key in game mode. This is because Microsoft views and has placed much importance on the key.

However, some gaming keyboards have a unique feature to lock and unlock the Windows key. Another option is to disable the Windows key from opening the Start Menu in-game.

This will require you to alter the keyboard configuration and controls in the game.

How can I disable the Windows key?

1. Modify your registry

  1. Press the Windows key + R, type regedit, and click OK.
    regedit run window disable the Windows Key
  2. To be on the safe side, click File > Export… to create a backup.
    file export registry disable the Windows Key
  3. Select All as Export range, choose a safe location, enter the desired file name and click on Save.
    export settings disable the Windows Key
  4. In the left panel, navigate to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
  5. In the right pane, right-click the space and choose New >Binary Value from the menu.
  6. Enter Scancode Map as the name of the new value.
    new binary value registry disable the Windows Key
  7. Double-click the Scancode Map value and enter 00000000000000000300000000005BE000005CE000000000 in the Data field
  8. Be extra cautious and double-check if the entered value is correct. Now click OK.
    edit binary value disable the Windows Key
  9. After doing that, close Registry Editor and restart your PC.

Keep in mind that your registry has sensitive information in it. So, if you want to edit it, use extra caution. If you encounter problems with your PC after modifying the registry, restore the backup created.

After your PC restarts, the Scancode Map you created in the registry should disable the Windows key altogether. Therefore, you need to delete the Map from the Registry Editor to enable it later.

Finally, if you are uncomfortable editing your registry manually, download Disable Windows key.reg and run it. This will perform the task for you quickly. To enable the key later, you must download and run Enable Caps Lock and Windows keys.reg.

2. Use Registry Editor to block Windows Key hotkeys

  1. Open Registry Editor.
  2. When Registry Editor opens, from the left panel, go to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  3. Right-click any space in the right panel and choose New > DWORD (32-bit value).
  4. Enter NoWinKeys as the name of the new DWORD.
    new dword disable the Windows Key
  5. Double-click NoWinKeys DWORD to open its properties.
  6. Set Value data to 1 and click OK to save changes.
    value data disable the Windows Key
  7. After you’re done, close Registry Editor and restart your PC to apply the changes.

This solution is ideal for you if you want to disable the Windows key because of a shortcut affecting games like Razer Huntsman and Apex Legends. It disables all shortcuts related to the Windows key entirely.

3. Use Group Policy Editor

  1. Press the Windows key+ R, enter gpedit.msc, and click OK.
    gpedit.msc run window disable the Windows Key
  2. Now navigate to the User Configuration > Administrative Templates > Windows Components > File Explorer in the left pane.
  3. Locate and double-click the Turn off Windows key hotkeys option in the right pane.
    turn off windows key hotkeys disable the Windows Key
  4. Select the Enabled option and click on Apply and OK to save changes.
    enable policy turn off windows key hotkeys
  5. After that, restart your PC and check if that solves the problem.

This is a simple solution, but like before, it should disable only the Windows key shortcuts. If you need to disable the Windows key entirely, you might want to try a different solution.

4. Use a third-party software

  1. Download and start SharpKeys.
  2. Once the application starts, click on Add.
    sharpkeys
  3. Now you’ll see two columns. Click on the Type Key in the left pane and press the Windows key.
    type key disable the Windows Key
  4. Now click on OK to select the pressed key.
    type key confirmation disable the Windows Key
  5. Select Turn Key Off in the right pane and click OK to save changes.
    turn key off sharpkeys
  6. Now, click on the Write to Registry button.
    write to registry sharpkeys disable the Windows Key
  7. From here, restart your PC or log out and log back in to apply the changes.
  8. Start Sharpkeys, select the desired key from the menu to enable the Windows key again and click on Delete.
    sharpkeys delete disable the Windows Key
  9. After deleting the key, click on the Write to Registry button.write to registry disable the Windows Key
  10. Now restart your PC or log off and back on to apply the changes.

This free and portable tool allows you to remap your keys but can also disable keys or assign them to certain functions. Remember that this is a powerful application, so you’re using it at your own risk.

Other third-party options include the simple-to-use Winkill and creating a script with Autohotkey to disable the Windows key.

5. Use Gaming mode on your keyboard

Many gaming keyboards have a Gaming mode feature that allows you to block the Windows key with ease. However, you usually have to press a particular keyboard shortcut to activate Gaming mode.

Some keyboards even have a controller icon on one of its keys so you can easily find the shortcut key for Gaming mode. However, if you can’t find the shortcut, we advise you to check your keyboard manual for detailed instructions on activating Gaming mode.

Remember that not all keyboards support this feature, so check if your keyboard supports it.

The Windows key is beneficial but can get in your way sometimes. While there are many ways to disable it, the best and safest option is to use a gaming keyboard and set it to Gaming mode.

After reading this article, you may have a better understanding of why the Windows key is not working on Windows 11.

If you need a list of the best Logitech gaming keyboards, you can buy them today; check our detailed guide for the top picks you can select from.

If you have suggestions or questions, leave them in the comments section below, and we’ll take a look.

More about the topics: Keyboard issues, windows 10

User forum

2 messages