Hi,
Thank you for posting your query.
Kindly follow the steps provided below to resolve your query.
Error code 5624:5 usually indicates that there is an issue with the Windows Deployment Services (WDS) server. Specifically, it suggests that the WDS server is unable to locate the requested image or that the image is corrupt.
This could be caused by a number of factors, including incorrect configuration of the WDS server or network settings, issues with the image file itself, or problems with the client computer trying to access the image.
To troubleshoot this issue, you should first verify that the WDS server is configured correctly and that the image file is located in the correct location. You should also check that the client computer is able to access the WDS server and that there are no network issues preventing the image from being downloaded.
Go to this link for your reference and additional troubleshooting procedures https://learn.microsoft.com/en-us/answers/questions/1162424/how-to-fix-(5624)-5-in-mdt
If the answer is helpful kindly click "ACCEPT AS ANSWER" and up vote it.