Hey everyone,
I'm facing some issues with installing Windows after I've run sysprep on a virtual machine. I created a Windows 11 24H2 VM, updated it to the latest version (build 26100.4484, KB5060829) from audit mode, and then tried to generalize it using the command: sysprep.exe /generalize /oobe /shutdown.
After that, I booted from the ISO and ran a DISM command to capture the image of the C drive:
DISM /Capture-Image /ImageFile:D:install.wim /CaptureDir:C: /Name:"Win11Custom".
The problem is, when I try to install using this new ISO, it fails towards the end with the error message: "Windows installation failed." I checked the logs in setuperr.log and found some error codes, which I'm struggling to decipher.
I've also tried several things, like disabling the network adapter, running the install with and without internet, and including an unattend file with true. Despite all my efforts, I can't get it to work.
Any insights or suggestions on what I might be doing wrong? Thanks!
1 Answer
It sounds like you're experiencing some frustrating issues! I personally haven't used that method since Windows 7, but these days I use ConfigMgr to push images. That way, I just provide a raw .wim file and let it do the rest through the task sequence. But, I did encounter several failures when deploying Windows 11 this week, so you're not alone!
Thanks for the insight! We've had to stick to manual methods for specific reasons, so I’m curious if you have any tips for overcoming the issues I've mentioned?