Problem description: When you try to establish a trust from a domain controller running inside a VMware virtual machine, the trust is not established and is followed by the below error.
"The local security authority is unable to obtain an RPC connection to the Domain controller"
As per Microsoft it can be a DNS issue or RPC problem.
Resolution: The origin of the problem is a component in a VMware Tools i.e. Shared Folders. The purpose of this component is to be able to share files between a management workstation and the virtual machine.
Here is the resolution.
A) Uninstall the Shared Folders component in your virtual machine (DC).
àGo to Add/Remove Programs à VMware Tools à click "change" à next à deselect "Shared Folders".
B) Reboot the machine.
C) Establish the trust.