A lightweight Windows system tray utility that toggles between Laptop and Tablet mode on convertible devices.
Many 2-in-1 devices fail to automatically switch modes when a keyboard is attached or removed. This tool adds a one-click toggle to your system tray.
- One-click toggle — left-click the tray icon to switch between Laptop and Tablet mode
- Remembers your choice — persists the selected mode across reboots
- Auto-start with admin rights — optionally runs at login via Task Scheduler (no UAC prompt)
- Dark & Light theme — tray icon adapts to your Windows taskbar theme automatically
- Uninstall option — cleanly removes autostart and app data from the context menu
- Zero dependencies — pure PowerShell + .NET Framework (built into Windows)
- Windows 10 or 11
- Administrator privileges (required for registry access)
- Download the latest release or clone this repository
- Run
TabletToggle-Start.bat— it will request admin elevation automatically - A tray icon appears: left-click to toggle, right-click for options
To start manually from an elevated PowerShell:
powershell -ExecutionPolicy Bypass -WindowStyle Hidden -File ".\TabletToggle.ps1"TabletToggle sets two standard Windows registry values:
| Registry Key | Value | Laptop | Tablet |
|---|---|---|---|
HKLM\...\PriorityControl |
ConvertibleSlateMode |
0 |
1 |
HKCU\...\ImmersiveShell |
TabletMode |
0 |
1 |
These are generic Windows keys — not device-specific. Works on any Windows convertible.
The tray icon adapts to your taskbar theme (light or dark), checked every 5 seconds. Custom icons are loaded from:
icons/
├── dark/ ← dark taskbar (white/light icons)
│ ├── laptop.ico
│ └── tablet.ico
└── light/ ← light taskbar (dark icons)
├── laptop.ico
└── tablet.ico
If no icon files are found, colored fallback icons are generated automatically.
- ASUS ProArt PZ13 (HT5306)
Tested on another device? Open an issue or PR to add it here.