When Embotics® vCommander® is not able to retrieve Guest OS details from Windows VMs, one possible cause is Distributed Component Object Model (DCOM) is not enabled for the guest OS. This can be enabled easily by following either the manual or scripted procedures below.
When you choose to manually configure DCOM, you must perform the same steps on each virtual machine not providing guest OS details to Embotics vCommander. If you have many virtual machines exhibiting this kind of behavior, you should consider using the computer startup script described in the next section.
- Login to the affected VM and issue the command dcomcnfg.
- Expand Component Services, computers, and select My Computer.
- Right-click My Computer and choose Properties.
- Switch to the Default Properties tab.
- Check Enable Distributed COM on this computer.
- Set Default Authentication Level to Connect and Default Impersonation Level to Identify.
- Click OK.
Computer Startup Script
When you have many computers not reporting guest OS details to Embotics vCommander, it will be easier to configure a startup script that executes when the OS comes online. The script below can be used to configure DCOM in this manner.
Set WSHShell = WScript.CreateObject("WScript.Shell") 'To Enable Remote DCOM in the computer WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\EnableDCOM","Y","REG_SZ" 'To Set Authentication Level to Connect WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyAuthenticationLevel",2,"REG_DWORD" 'To Set Impersonation level to Identify WshShell.RegWrite "HKLM\SOFTWARE\Microsoft\Ole\LegacyImpersonationLevel",2,"REG_DWORD"
If you require assistance configuring a computer startup script for your Domain, refer to the Microsoft articles listed below.