VMware adapters & unidentified networks in Vista & 7

Posted on November 19th, 2009 in Server 2008, Virtualisation, Vista, Windows 7 by alt-92

Most VMware Workstation users prefer not to enable the Host Only and NAT adapters, but for some scenarios you want to be able to do so.
Unfortunately, as soon as you enable  those adapters, they’re detected as unidentified networks (worst-case) or as a separate public/private network connection in the Network and Sharing Center.

index

And as soon as that happens, Windows (Advanced) Firewall kicks into Public mode effectively locking your box down. Which is A Good Thing  – mostly, just not always what you want.

VMware KB article 1004813  also describes possible solutions to fix this. Aside from disabling the NICs (hey, we wanted to use those, remember?)  or changing the NICs over to Private Network (which you would have to do every reboot), you can configure the VMware adapters as so called Endpoint Devices per the procedure listed.
More information on the Endpoint device configuration is available on MSDN:
http://msdn.microsoft.com/en-us/library/bb201634.aspx
Reverting to the normal behaviour is as easy as flipping the DWORD to 0 or deleting the entry.

vmnix2

 

There is also a useful side effect to the *NdisDeviceType  setting:
Remote Desktop connections will keep working even with enabled virtual NICs, whereas by default Remote Desktop (TS) binds itself to all available network connections.

Which means I can finally RD into my desktop machine from my laptop with Host-Only and NAT adapters enabled to run a proper multi-machine, multi-network test.
Yay :)

[edit]

Link to KB article fixed 

Comments are closed.