One-hotkey local user switching for Windows 11.
When you press Numpad4 + Numpad5 + Numpad6 together:
- The tool detects which configured user is currently logged in.
- It sets Windows AutoAdminLogon for the other configured user.
- It force-logs out the current user.
- Windows immediately begins signing in the other user.
This is a forced logoff + automatic sign-in to the paired account.
It is not Fast User Switching.
- Windows 11
- AutoHotkey v2 installed
- Local Administrator rights for install/uninstall
- Two local Windows accounts to switch between (both must be in local
Administrators)
- Download this repository ZIP from GitHub.
- Unzip it anywhere.
- Install AutoHotkey v2 (if not already installed).
- Right-click
Install-InstantLoginSwitcher.cmdand choose Run as administrator. - Enter the two account names and passwords when prompted. Use each account's Windows password, not a PIN.
- Sign out and sign back in once.
- Test the hotkey: Numpad4 + Numpad5 + Numpad6.
- Right-click
Uninstall-InstantLoginSwitcher.cmdand choose Run as administrator.
Uninstall removes:
- Scheduled tasks matching
InstantLoginSwitcher-Hotkey-* - Installed runtime files in
C:\ProgramData\InstantLoginSwitcher - AutoAdminLogon registry values set by this tool
- Console opens then closes:
- Run as admin using right-click.
- Check logs:
%TEMP%\InstantLoginSwitcher-install.log%TEMP%\InstantLoginSwitcher-uninstall.log
- Script signing errors in PowerShell:
- Use the
.cmdfiles above. Do not run.ps1directly.
- Use the
- Hotkey does nothing:
- Check tasks exist:
schtasks /Query /FO LIST | findstr /I "InstantLoginSwitcher-Hotkey"
- Check switch log:
C:\ProgramData\InstantLoginSwitcher\switch.log
- Check tasks exist: