Trying to deploy Windows 11 25H2 using FOG always leads to the Windows recovery screen
-
Hey guys, sysadmin and FOG newbie in need of help.
To preface this post I have never done any sysadmin work professionally and I’m just a mere software developer that’s trying his best. We just got 550 PCs at work and they all need to be wiped and get a new Windows 11 install.
I followed the instructions of the FOG install tutorial and it all worked and have added dnsmasq as a proxy to be able to use option 66 and 67 on my DHCP for PxE. So far so good.
I’m able to capture images from registered machines but I assume this is where things go wrong. Either the capturing has some issues or the deployment. When I capture a golden image I use these settings: default storage group, Windows 10 operating system (according to other forum articles Win 10 and Win 11 are quite similar in how the image is made up), single disk resizable image type, every partition, image enabled check, replicate check, compression level 6 and partclone zstd as my image manager.
After that I create a task, boot into network on my target machine and let it capture the image. That takes about ten minutes and I get an image that’s circa 20GB in size on host and maybe half on my server. It’s there and all the files necessary seem to exist.
I then create a task for the machines that I want the images to be deployed to (all target machines are wiped using nwipe with the PRNG method) and boot them up and wait. It takes around 10 minutes for a PC to be done. They tell me it’s done, they reboot and I get the following error every time: “Recovery. Your PC / Device needs to be repaired…” and I have no clue why. They golden image comes from a fresh Windows 11 install where I installed some device specific drivers using the administrator shortcut in the OOBE screen.
I’ve read through a bunch of articles but can’t seem to find anything that fixes it. Does anyone have an idea? I’m not looking for a full on solution but maybe a nudge in the right direction because it’s driving me nuts. If you need any more information on anything I’d be happy to provide it.
My FOG server has more than enough space to capture an image. I’ve allocated 250GB for /images alone.
Captured image in my filesystem:
luca@luca:/images/windows11_25h2_hp$ ls -lh total 6.0G -rwxrwxrwx 1 fogproject root 6 Apr 2 10:09 d1.fixed_size_partitions -rwxrwxrwx 1 fogproject root 1.0M Apr 2 10:09 d1.mbr -rwxrwxrwx 1 fogproject root 873 Apr 2 10:09 d1.minimum.partitions -rwxrwxrwx 1 fogproject root 20 Apr 2 10:09 d1.original.fstypes -rwxrwxrwx 1 fogproject root 0 Apr 2 10:09 d1.original.swapuuids -rwxrwxrwx 1 fogproject root 873 Apr 2 10:09 d1.partitions -rwxrwxrwx 1 fogproject root 873 Apr 2 10:09 d1.shrunken.partitions -rwxrwxrwx 1 fogproject root 15M Apr 2 10:09 d1p1.img -rwxrwxrwx 1 fogproject root 767 Apr 2 10:09 d1p2.img -rwxrwxrwx 1 fogproject root 6.0G Apr 2 10:19 d1p3.img.000