StefanScherer / packer-windows

Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
MIT License
1.27k stars 429 forks source link

"This PC can't run Windows 11" (VirtualBox, Windows 11 iso) #331

Open jonashackt opened 8 months ago

jonashackt commented 8 months ago

Cloned the repo and executed

packer build --only=virtualbox-iso windows_11.json

the booting VirtualBox machine in the packer build process is of type Windows 10 (64-bit) and gives the error This PC can't run Windows 11.

StefanScherer commented 6 months ago

Thanks! I haven't looked into local packer builds for a long time now. 😬 Both my private and work notebooks are Mac M1 so I gave up building local Windows VM's. 😅

Maybe https://github.com/rgl/windows-vagrant or https://github.com/gusztavvargadr/packer can help you. Both repos also moved away from my hacky boot command to put the Windows 11 checks into the Autounattend.xml. 😀