Create, manage, and SSH into a headless Windows 11 VM in Docker.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "windows-vm" skill from askskill: 1. Download https://raw.githubusercontent.com/obra/superpowers-lab/main/skills/windows-vm/SKILL.md 2. Save it as ~/.claude/skills/windows-vm/SKILL.md 3. Reload skills and tell me it's ready
Please start a new headless Windows 11 VM in Docker and tell me the SSH connection details and current status.
A started VM status, SSH connection details, and available follow-up management actions.
Please restart the current Windows VM, verify that it is running normally again, and report the latest status.
A restart result, current running status, and whether SSH access is available.
Please provide the SSH command, required parameters, and prerequisites for connecting to this Windows 11 VM.
A ready-to-use SSH command, parameter notes, and a pre-connection checklist.
Manage a headless Windows 11 VM running via dockur/windows in Docker with KVM acceleration. The VM is accessible via SSH only — no RDP or GUI required.
/dev/kvm must exist — check with ls /dev/kvm)sshpass (sudo apt install sshpass)imagemagick (optional, for screenshot debugging: sudo apt install imagemagick)windows11$HOME/windows-vm/
storage/ — VM disk image (managed by dockur, wiped on recreate)iso/win11x64.iso — cached Windows ISO (7.3GB, persists across recreates)oem/install.bat — post-install script (installs OpenSSH Server)localhost:2222 (bound to 127.0.0.1 only)localhost:3389 (bound to 127.0.0.1 only, fallback)localhost:8006 (VNC in browser, for debugging)Ensure directories exist:
mkdir -p "$HOME/windows-vm/oem" "$HOME/windows-vm/storage" "$HOME/windows-vm/iso"
Ensure $HOME/windows-vm/oem/install.bat exists with OpenSSH setup:
@echo off
echo Installing OpenSSH Server...
powershell -Command "Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0" 2>nul
powershell -Command "Get-WindowsCapability -Online -Name OpenSSH.Server* | Add-WindowsCapability -Online" 2>nul
dism /Online /Add-Capability /CapabilityName:OpenSSH.Server~~~~0.0.1.0 2>nul
powershell -Command "Start-Service sshd" 2>nul
powershell -Command "Set-Service -Name sshd -StartupType Automatic"
powershell -Command "New-ItemProperty -Path 'HKLM:\SOFTWARE\OpenSSH' -Name DefaultShell -Value 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' -PropertyType String -Force"
powershell -Command "New-NetFirewallRule -Name 'OpenSSH-Server' -DisplayName 'OpenSSH Server' -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22"
powershell -Command "Get-Service sshd" 2>nul
echo Done.
If recreating, remove the old container and disk:
docker stop windows11 && docker rm windows11
rm -f "$HOME/windows-vm/storage/data.img"
Launch the container. There are two cases:
If cached ISO exists ($HOME/windows-vm/iso/win11x64.iso):
docker run -d \
--name windows11 \
-p 127.0.0.1:3389:3389 \
-p 127.0.0.1:2222:22 \
-p 127.0.0.1:8006:8006 \
-e RAM_SIZE="8G" \
-e CPU_CORES="4" \
-e DISK_SIZE="64G" \
-e USERNAME="user" \
-e PASSWORD="password" \
--cap-add NET_ADMIN \
--device /dev/kvm \
-v "$HOME/windows-vm/storage:/storage" \
-v "$HOME/windows-vm/oem:/oem" \
-v "$HOME/windows-vm/iso/win11x64.iso:/boot.iso" \
dockurr/windows
First time (no cached ISO) — omit the /boot.iso mount and add VERSION:
docker run -d \
--name windows11 \
-p 127.0.0.1:3389:3389 \
-p 127.0.0.1:2222:22 \
-p 127.0.0.1:8006:8006 \
-e RAM_SIZE="8G" \
-e CPU_CORES="4" \
-e DISK_SIZE="64G" \
-e VERSION="win11" \
-e USERNAME="user" \
-e PASSWORD="password" \
--cap-add NET_ADMIN \
--device /dev/kvm \
-v "$HOME/windows-vm/storage:/storage" \
-v "$HOME/windows-vm/oem:/oem" \
dockurr/windows
After the ISO downloads and Windows boots, immediately copy the ISO out before
the container is ever stopped (dockur wipes /storage on recreate):
cp "$HOME/windows-vm/storage/win11x64.iso" "$HOME/windows-vm/iso/win11x64.iso"
Wait for Windows install + OpenSSH setup to complete. This takes 20-30 minutes for a fresh install (the OEM install.bat runs at the end of Windows OOBE and downloads OpenSSH from Microsoft, which is slow). Monitor with:
…
Use MCP services on demand via CLI without preloading extra context.
Run interactive CLI sessions safely via tmux for editors, REPLs, and Git flows.
Audit codebases to find semantically duplicate functions with different names or implementations.
Create isolated workspaces for feature development without disturbing current code.
Set conversation rules to discover and invoke skills before replying.
Turn requirements into a clear step-by-step execution plan before implementation.
Manage Docker-backed lightweight VM lifecycles through natural language commands.
Remotely run commands, manage files, capture screenshots, and access clipboard on Windows.
Control VMware VMs, guest execution, and file operations through vmrun.
Let AI agents operate Windows for files, apps, UI actions, and QA testing.
Run commands on remote Linux hosts over SSH with logging support.
Manage VPS servers via SSH with commands, file transfer, Docker, and documentation.