When trying to deploy Windows Server 2008 with Remote Desktop Services Session Host on Hyper-V, it fails with the following error:
To fix this, try the following workarounds:
- In Hyper-V set the Startup RAM to something about 512MB
- Don’t use Dynamic memory for the VM (Recommended)
- Reconfigure the Dynamic memory settings with a PowerShell command with a script post deploy
This should fix the 0x80004005 error.