Question: how to install active directory in virtual machine?
Answer: Go to the Virtual Machine section located on the left panel. Select the “Virtual Machines”, which you want to connect to.
Here, the Virtual Machine is already started and the status is “Running”. Click “Connect”. ... 
Connect >> Download RDF File >> Click the downloaded file (VM. rdp).