VMware VMs Built Through MCS Templates Contain Ghosted NIC Adapters
book
Article ID: CTX219905
calendar_today
Updated On:
Description
When creating virtual machines through Machine Creation Services while using a VMware hypervisor created machines can be built with hidden Ghosted NICs. This can cause VMs to have communication issues with the domain controller resulting in symptoms such as Group Policies not applying.
Environment
Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.
Resolution
To view and confirm open an elevated command prompt (On a machine built FROM the template, this may not be seen on the master):
- set devmgr_show_nonpresent_devices=1
- start devmgmt.msc
- Click Show hidden devices on the View menu in Device Manager to view the devices that are not connected to the computer.
- Example:

Once confirmed, in order to prevent machines created from the template from being created with the Ghosted NICs try these possible solutions and or workarounds:
Solution
- For Windows 2008 R2 or Windows 7 versions prior to Service Pack 1, install the hotfix described in the Microsoft Knowledge Base article 2344941 before deploying the template.
- For Windows 2008 R2 or Windows 7 versions post Service Pack 1, install the hotfix described in the Microsoft Knowledge Base article 2550978 before deploying the template.
Workaround 1:
- Reconfigure the virtual machine template to use the E1000 network interface.
- *Note that this may affect DHCP reservations so confirming the fix may need new DHCP reservations or test on a new VM built from the template
Workaround 2:
- After deploying a virtual machine from a template or performing a clone, remove references to the previous PCI Express virtual network interfaces in the destination virtual machine. Use Device Manager to remove network interface devices named similar to "VMXNET Device". For more information, see the Microsoft Knowledge Base article 241257 and 2550978.
Workaround 3:
Before converting a virtual machine to a template, remove references to the PCI Express virtual network interfaces in the source virtual machine:
- Edit the virtual machine configuration to remove the virtual network interface.
- Power the virtual machine on.
- Use Device Manager to remove network interface devices named similar to "VMXNET Device". For more information, see the Microsoft Knowledge Base articles 241257 and 2550978.
- Shut down the guest operating system.
- Edit the virtual machine configuration to add a new virtual network interface.
- Convert the virtual machine to a template.
When a new virtual machine is created by deploying this template, the network interface will have a new serial number and MAC address. Windows will detect this network interface as a new device, but there will be no previous network device retaining old settings.
Problem Cause
Ghosted NICS being created on VMs based off of a VMware template.
Issue/Introduction
When creating virtual machines through Machine Creation Services while using a VMware hypervisor created machines can be built with hidden Ghosted NICs. This can cause VMs to have communication issues with the domain controller resulting in symptoms such as Group Policies not applying.
Additional Information
https://support.microsoft.com/en-us/kb/2344941
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1020078
http://kendrickcoleman.com/index.php/Tech-Blog/how-to-fix-ghosted-nic-adapters-and-windows-20087-vmxnet3-cloning.html
Was this article helpful?
thumb_up
Yes
thumb_down
No