Creating deployment media

I’m trying to Create Offline Deployment Media for windows x64. I select the deployment server and bare Metal profile I want to use. It runs for hours and fails at the last step.

I checked the rbagent.log I see
Deployment media error

Any help is greatly appreciated.