; Close current desktop (moves windows to previous) #c::VirtualDesktop.RemoveCurrentDesktop()
# Create new desktop and move current window to it $new = New-Desktop Move-Window -Window (Get-ActiveWindow) -Destination $new Switch-Desktop $new Bind this to Win+Shift+N via your launcher (e.g., AutoHotkey or PowerToys Run). For most users : Install AutoHotkey + VirtualDesktop.ahk – it’s free, open-source, and gives you macOS-like virtual desktop control. windows virtual desktop helper
; Switch to desktop 1-9 #1::VirtualDesktop.SwitchToDesktop(1) #2::VirtualDesktop.SwitchToDesktop(2) #3::VirtualDesktop.SwitchToDesktop(3) ; Close current desktop (moves windows to previous)
: Desktops reorder themselves Fix : Disable "Show recently used desktops on taskbar" → Settings > System > Multitasking. Advanced: One-Liner to Create & Move Using PowerShell + vd.ps1 (third-party): windows virtual desktop helper