A lightweight Windows utility that pins any window on top of all others using a keyboard shortcut (Win + Shift + T by default).
Inspired by Microsoft PowerToys, but built as a standalone 28 KB single executable with no heavy dependencies or installers needed.
- Single Executable (
AlwaysOnTop.exe): No installation required. Runs out of the box. - Simple Configuration UI: Double-click to open settings, change hotkeys, toggle Windows startup, or adjust sounds.
- Silent Background Execution: 100% invisible by default (0% CPU, ~3-5 MB RAM, no tray icon or taskbar space used).
- Active Pinned Window List: View currently pinned windows in real-time and unpin individual windows with one click.
- Optional Visual Features (Disabled by default):
- Cyan border highlight around the active pinned window.
- System tray icon for quick context menu access.
- Automatic Cleanup: Unpins all windows automatically when the service stops or is closed.
- Open
AlwaysOnTop.exe. - Click Save & Apply (or Start Service).
- Focus any window and press
Win + Shift + T.- High beep = window pinned on top.
- Low beep = window unpinned.
- To stop the service or unpin all windows, launch
AlwaysOnTop.exeagain.
If you want to modify the code or build it yourself:
- Review the C# source files (
Program.cs,Engine.cs,ConfigUI.cs,Settings.cs,BorderOverlay.cs). - Run
build.batin the root folder (uses the built-in Windows C# compilercsc.exe).