Skip to content

Hyper-V deployment ​

Hyper-V is Windows' built-in hypervisor. The controller uses WinRM (5985).

Install ​

powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All -All
Restart-Computer
Get-VM

Enable WinRM ​

powershell
Enable-PSRemoting -Force
winrm enumerate winrm/config/listener
New-NetFirewallRule -DisplayName "WinRM HTTP" -Protocol TCP -LocalPort 5985 -Action Allow

Workgroup environments need Set-Item WSMan:\localhost\Client\TrustedHosts -Value "<controller-ip>".

Network ​

powershell
New-VMSwitch -Name "External" -NetAdapterName "Ethernet" -AllowManagementOS $true

Add the host ​

FieldExample
Namewin-hv
TypeWindows HyperV x64
Address10.0.0.44:5985
UserAdministrator
Image pathD:\HyperV\Images
Disk pathD:\HyperV\VHD
bash
quickidc host add --name win-hv --type HyperVSetup --addr 10.0.0.44:5985 --user Administrator

Capabilities ​

GPU-P/DDA, PCI passthrough, ISO, extra disks; no USB passthrough; bandwidth throttling is off by default (the bundled NetLimiter WFP driver drops the virtual switch link when loaded; install it explicitly to re-enable).

Troubleshooting ​

SymptomFix
WinRM refusedEnable-PSRemoting, firewall, TrustedHosts
Auth faileddomain account or Basic + TrustedHosts
Create failedcheck switch name and disk permissions

Released under the AGPLv3 License.