Accidentally pressing the Windows key on your keyboard can be very annoying. Sometimes it kicks you out of a full screen game by opening the start menu or unintentionally launching a shortcut. Fortunately, there is a way to disable the key on your Windows 10 PC. Here’s how.
The easiest way to deactivate the Windows key is to use Microsoft Free PowerToys utility. With PowerToys, you can reassign any key to have the function of any other. In this case, we will change the Windows key to be “Undefined” which means that nothing will happen when you press it.
To disable the Windows key, download Microsoft PowerToys if you haven’t already installed it. Launch PowerToys, click “Keyboard Manager” in the sidebar, then click “Remap Key”.
In the “Remap Keyboard” window, click the plus sign “+” button to add a mapping definition.
To edit a key mapping, select the key you want to edit in the left column, and then define what you want it to do in the right column.
Using the drop-down menu under the “Key:” heading on the left, select “Win”. In the “Mapped to” section on the right, click the drop-down menu and select “Undefined”.
Click “OK” and Windows will warn you that you cannot use the Windows key because it will not be assigned. Click “Continue Anyway”.
After that, the Windows key should be disabled. Your settings have been saved and you are free to close PowerToys and use your computer as usual.
Unlike other ways to remap keys like using SharpKeys and the Windows registry, you will not have to log out or restart for your change to take effect. The Windows key will be deactivated immediately.
How to reactivate the Windows key
If you change your mind and want to re-enable the Windows key, launch PowerToys and go to Keyboard Manager> Remap Key.
Locate the “Win -> Undefined” mapping and click the trash can icon nearby to remove it. Then click on “OK” to close the window. After that, your Windows key will work normally.