I use VMware Workstation to run my development virtual machines. I prefer it over Microsoft’s offerings for two main reasons, USB support and high resolution/multi-monitor support inside of virtual machines.
There is however, a very annoying problem when you install VMware on Vista (and Windows Server 2008). When you install VMware it adds a few virtual network adapters. For various reasons, these adapters are listed in the Network Sharing Center as being on an “Unidentified network (Public network)” and all of the features under Sharing and Discovery are turned off .
Here is the best fix I’ve found thanks to a post by richv in the VMware forum:
- Run regedit
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}
- Underneath you should see several keys labeled 0000, 0001, 0002 etc… Look through these and find the VMware adapters. They will probably be near the end of the list if you just installed VMware.
- For each of the VWware adapters, add a new DWORD value named “*NdisDeviceType” and set it to 1 (make sure you get the * at the beginning of the name, I missed that the first time).
- Disable and Enable each of the network adapters.
That should take care of the problem. Setting *NdisDeviceType to 1 causes Windows to ignore the device when it does network identification. Here is an MSDN article with more details.







{ 15 comments… read them below or add one }
Thanks!!!
I wonder if there is way to change the label “Unidentified Network” to something else and furthermore, change the icon in Windows 7 like we could on Vista
Great post. Saved me from spending another 3-4 hours looking for a fix!
thx a lot. Did me a good job.
I’ve been troubling by this for long
Awesome! Saved me endless time.
Thanks for the solution. I had this problem on Vista and Windows 7 and somehow (maybe because of an update) the problem returned on Windows 7. And again a quick fix.
Thank you very much. I have been searching for this for almost 6 months! I really wonder why VMware has not fixed this issue in its recent releases.
I forgot to mention that this “*NdisDeviceType =1″ tip works in my installation of Windows 7 Enterprise 64-bit edition as well.
I also have similar problem with VirtualBox 3.1.2-5612 and this trick also works.
I have done this vmnet is abilited but still i haven’t access to internet on guest system…
Still an issue with latest Windows 7 and VMWare Workstation, fix still works. Guest OS had Internet okay before the fix, mostly a cosmetic thing. In case anyone cares, the MSDN content has moved here: http://msdn.microsoft.com/en-us/library/ff557037(VS.85).aspx
Great, thank you so much. It works for Oracle VM VirtualBox with Windows 7 as well!
Hello, I have followed the instructions, rebooted both systems and now I cannot see the VMware adapters in the Network and Sharing center, only in the Network Connections, so I think that the registry edit was successful. However, I still cannot connect to Oracle from the Ubuntu Virtual Machine to the Win 7. When I disable the Windows firewall, it works. I am desperate, so if you have any ideas, please submit them here.
I just found this article. Thanks. From the description in the MSDN article, this setting ought to be set by default by VMWare, or at least should be an option, I’d think.
Kudos for including the link to the MSDN article for more details, by the way. It’s always good to know what the official word is on one settings do before you start pasting in commands you found on the Web somewhere.
Actually, one can simply go to the Windows Firewall settings and disable the Firewall for the VMWare adapter.