A utility to disable the Windows key when fullscreen is detected, while supporting combination keys (e.g., Win+Space).
Note
Download the latest builds from GitHub Releases
- The program uses
SetWindowsHookExto hook low-level keyboard inputs globally, without injecting DLLs into every process. - It calls
SHQueryUserNotificationStateevery second (interval is currently hardcoded) to check if the user is in fullscreen. - When a Windows key down event is detected, the program blocks the input and enters the
winKeyPressedstate. - If any key is pressed while in the
winKeyPressedstate, the program replays the Windows key down event usingSendInputto prevent key combinations from breaking. (Win+D(i.e. minimize all Windows) is disabled for now for obvious reasons) - When the Windows key up event is received, the
winKeyPressedstate is reset.
If a legitimate key-remapping AHK (AutoHotkey) script doesn't get you banned, this likely won't either.
BUT! Nothing is guaranteed! Use at your own risk!
- Flaticon - Windows for the awesome icon.
- https://stackoverflow.com/a/58755620/9182265 for providing a realiable way to detect full screen states.
- Collabration from ChatGPT & Claude for heavy lifting 90% of the code.
This project is licensed under the MIT License. Review LICENSE for furthur details.
