Release date: July 16th 2020
Welcome to my VMware Horizon series. Recently, when I was in the process of setting up a new Windows 10 build 2004 template for a customer, I ran into an issue after running sysprep from VMware OSOT June 02 2020 version b1160. Once sysprep was done I rebooted as normal, but went into an eternal boot loop with the error message saying: “Why did my PC restart?”
This was, as it turns out after a little googling, solvable with some adjustments in the answer-file. Luckily for me, I had, as I always do before I run VMware OSOT, taken a snapshot. I reverted back to this and added and adjusted the following lines in unattend.xml.
<settings pass="oobeSystem"> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>true</SkipUserOOBE>
After this change the sysprep went through as it was supposed to and the customers template was completed. Lesson learned, always take snapshot before running VMware OSOT! So, if you run into the same issue, this fixed it for me.
Disclaimer: Every tips/tricks/posting I have published here, is tried and tested in different it-solutions. It is not guaranteed to work everywhere, but is meant as a tip for other users out there. Remember, Google is your friend and don’t be afraid to steal with pride! Feel free to comment below as needed.