How to Turn off or Disable Windows Key in Windows 11 or 10?
The Windows key is one of the most useful keys on a keyboard. It allows users to quickly open the Start menu, launch shortcuts such as Windows + E for File Explorer, Windows + D for Desktop, and Windows + L to lock the computer. These shortcuts improve productivity and help users navigate their system more efficiently.
However, there are situations where the Windows key becomes inconvenient. For example, gamers often accidentally press the Windows key during gameplay, which minimizes the game and disrupts the experience. Similarly, some professionals working with keyboard-heavy applications prefer to disable the key to prevent interruptions.
Fortunately, Windows 11 and Windows 10 allow users to disable the Windows key using several safe methods.
In this guide, I will explain how to turn off or disable the Windows key in Windows 11 or 10 using a simple method.
Let’s go here!
How to Turn off or Disable Windows Key in Windows 11 or 10? Easy Steps

To turn off or disable the Windows key in Windows 11 or Windows 10, open Registry Editor, navigate to the keyboard layout settings, create a Scancode Map value, and restart your computer. This modification disables the Windows key function on your keyboard until the registry entry is removed.
Before disabling the Windows key, it is important to understand how Windows processes keyboard inputs. Each key on the keyboard sends a specific scan code to the operating system. Windows interprets this scan code and performs the assigned action.
The Windows key is assigned a unique scan code in the system registry. By modifying the Windows Registry, you can remap or disable that scan code so the operating system ignores the key press.
This method is effective because it works at the system level. Once disabled, the Windows key will stop working in all applications, including games, productivity tools, and desktop environments.
It is recommended to follow the steps carefully when editing the registry because incorrect changes can affect system behavior.
If you follow the instructions correctly, the process is completely safe and reversible.
Step 1: Open the Run Dialog Box
The first step is to open the Run dialog box, which allows you to launch system utilities quickly.
Press Windows + R on your keyboard to open the Run window. In the text field, type regedit and press Enter.
Windows may display a User Account Control prompt asking whether you want to allow the program to make changes to your device. Click Yes to continue.
This will open the Registry Editor, a built-in tool that allows users to view and modify the Windows registry database.
Step 2: Navigate to the Keyboard Layout Registry Path
After opening Registry Editor, you need to navigate to the specific location that controls keyboard scan codes.
In the left sidebar of the Registry Editor window, follow this path:
HKEY_LOCAL_MACHINE
SYSTEM
CurrentControlSet
Control
Keyboard Layout
You can expand each folder by clicking the arrow next to it.
The Keyboard Layout key contains settings related to keyboard mappings. This is where you will create a new registry value to disable the Windows key.
Step 3: Create a New Binary Value
Once you are inside the Keyboard Layout folder, you will need to create a new value.
Right-click in the space in the right panel. From the menu, choose New, and then select Binary Value.
Rename the new value as Scancode Map.
The Scancode Map value is used by Windows to remap or disable keyboard keys. By defining specific scan codes in this value, you can instruct Windows to ignore the Windows key input.
Step 4: Enter the Disable Windows Key Code
Next, you must enter the scan code configuration that disables the Windows key.
Double-click the Scancode Map value that you created. A window will open, allowing you to edit binary data.
Enter the following hexadecimal data:
00 00 00 00
00 00 00 00
03 00 00 00
00 00 5B E0
00 00 5C E0
00 00 00 00
This code disables both the left Windows key and the right Windows key on the keyboard.
Click OK after entering the data.
This step tells Windows to ignore the scan codes for the Windows keys whenever they are pressed.
Step 5: Restart Your Computer
After modifying the registry, the changes will not apply immediately.
You must restart your computer so Windows can reload the keyboard configuration.
Click the Start menu, select Power, and then choose Restart.
When the computer turns back on, the Windows key will be completely disabled. Pressing the key will no longer open the Start menu or activate Windows shortcuts.
Step 6: Enable the Windows Key Again If Needed
If you ever want to restore the Windows key functionality, you can easily reverse the process.
Open Registry Editor again using the Run dialog. Navigate to the same Keyboard Layout registry path.
Find the Scancode Map entry that you created earlier. Right-click on it and select Delete.
Restart your computer once again.
After the restart, the Windows key will start working normally again.
Alternative Method Using Keyboard Remapping Software
Some users prefer not to modify the Windows registry. In that case, you can disable the Windows key using keyboard remapping software.
Applications like Microsoft PowerToys, SharpKeys, or other keyboard management tools allow users to remap keys easily through a graphical interface.
For example, using Microsoft PowerToys Keyboard Manager, you can remap the Windows key to Undefined, which effectively disables it.
The advantage of these tools is that they are beginner-friendly and reversible without editing system files.
Why People Disable the Windows Key?
There are several reasons users choose to disable the Windows key.
One common reason is gaming. Many gamers accidentally press the Windows key during intense gameplay, which minimizes the game window and causes frustration.
Another reason is keyboard customization. Advanced users sometimes disable keys they rarely use to avoid accidental presses.
Some organizations also disable certain keys for security and workflow control in shared work environments.
Frequently Asked Questions
Is it safe to disable the Windows key?
Yes, disabling the Windows key is safe if done correctly. The process only modifies keyboard behavior and does not affect system stability.
Will disabling the Windows key affect other shortcuts?
Yes. Any shortcut that uses the Windows key, such as Windows + E, Windows + D, or Windows + L, will stop working while the key is disabled.
Can I disable only one Windows key?
Yes. If you only disable the scan code for the Left Windows key or the Right Windows key, the other key will continue working.
Do gaming keyboards allow disabling the Windows key?
Many gaming keyboards include a Game Mode feature that temporarily disables the Windows key during gameplay.
Can I disable the Windows key without editing the registry?
Yes. You can use tools like PowerToys or SharpKeys to remap or disable the key without manually modifying the Windows registry.
