Tuesday, July 23, 2024

The Installation failed in the FIRST_BOOT phase with an error during SYSPREP operation

 Hi there,

Recently, I was working on a Windows server 2012 R2 upgrade to Windows server 2019. Some of the servers failed to upgrade after 51% with an error message - "The Installation failed in the FIRST_BOOT phase with an error during SYSPREP operation"





After digging further in the setup logs ($WINDOWS.~BT\Sources\Panther\setupact.log), I found these lines(Below screenshot) at the end of the log file which clearly indicates that the setup was failing to upgrade the rdweb component. 

The log file(setupact.log) will be accessible from C:\ drive. you will able to find it under a hidden folder - $WINDOWS.~BT 




To make it work, I had to remove the RDS-Web-Access feature from PowerShell using the below command 

Remove-WindowsFeature -Name RDS-Web-Access

After removing the rds-web-access feature, the upgrade was completed successfully.


Note: You might have to reconfigure the RD-web page or restore from the old backup. (Please comment if you found any alternative option to restore the web form.)


 #> echo "Thank you :)"