I had a Windows 7 machine that I wanted to customize in order to enter a domain in a VMware Horizon 7 environment. However the customization wasn't working correctly and the local domain was incorrectly placed put into the WORKGROUP.
In order for the customization to work correctly you need to use the following format for Windows 7:
Username: username@domain.local
Domain: domain.local
In my case I used these details: