Skip to content

VirtualZones command-line options

Flag What it does
--tray Start hidden in the tray instead of showing the main window. The Start with Windows entry uses this
--list-monitors Write every detected monitor (name, primary flag, bounds, work area, hardware ID) to %TEMP%\virtualzones.log, then exit. Useful when copying layouts or reporting multi-monitor bugs
--uninstall-cleanup Remove the Start with Windows registry entry and exit without showing any UI. The uninstaller runs this

Example (PowerShell):

Terminal window
& "$env:LOCALAPPDATA\Programs\VirtualZones\VirtualZones.exe" --list-monitors
notepad "$env:TEMP\virtualzones.log"

There are no flags to start or stop confinement, switch layouts or share zones from the command line. Use the global hotkeys instead. You can send them from tools like AutoHotkey.

Starting VirtualZones.exe while it’s already running replaces the running copy rather than opening a second one. The new instance asks the old one to exit, waits for it, then takes over.