Windows 11 was not found (win11x64.xml)
2025-02-28 11:06:59 omni-windows | ❯ Extracting local ISO image... 2025-02-28 11:07:41 omni-windows | ❯ Detecting version from ISO image... 2025-02-28 11:07:41 omni-windows | ❯ Detected: Windows 11 2025-02-28 11:07:41 omni-windows | ❯ Warning: the answer file for Windows 11 was not found (win11x64.xml), falling back to manual installation!. 2025-02-28 11:07:41 omni-windows | ❯ Adding drivers to image... 2025-02-28 11:07:43 omni-windows | ❯ Adding OEM folder to image... 2025-02-28 11:07:44 omni-windows | ❯ Building Windows 11 image... 2025-02-28 11:09:03 omni-windows | ❯ ERROR: KVM acceleration not available (device file missing), this will cause a major loss of performance. 2025-02-28 11:09:03 omni-windows | ❯ ERROR: See the FAQ on how to diagnose the cause, or continue without KVM by setting KVM=N (not recommended).
根据 Windows 11 docker镜像readme,只支持linux和windows11安装,mac以及其它版本没有kvm无法安装,如果需要强制安装把kvm加速设置为n,不过会很慢。
Running on Docker for Windows on Hyper-V and got this error too. I was able to get past the KVM acceleration error by updating the \omnibox\compose.yml like below:
\omnibox\compose.yml
services: windows: image: windows-local container_name: omni-windows privileged: true environment: RAM_SIZE: "8G" CPU_CORES: "4" DISK_SIZE: "20G" KVM: "no" devices: - /dev/net/tun cap_add: - NET_ADMIN ports: - 8006:8006 # Web Viewer access - 5000:5000 # Computer control server volumes: - ./vm/win11iso/custom.iso:/custom.iso - ./vm/win11setup/firstboot:/oem - ./vm/win11setup/setupscripts:/data - ./vm/win11storage:/storage
See here - https://github.com/microsoft/OmniParser/issues/212#issuecomment-2696250673
@muddyfunkstr I am facing same issue, after making the changes also.