VMWare “unidentified network” problem with Windows 7

Background
I’m installing a couple of Windows servers on VMWare on my laptop for client demonstrations and to test a few things out in a “virtual lab”. Unfortunately I’ve come across this problem where when VMWare is running and the Windows firewall prevents you from accessing resources via your network because it warns that you’re on an “unidentified network”.

I’ve had this problem before (with Sun/Oracle VirtualBox as well as VMWare) and to get round it, I’ve always disabled the virtual network adapter. This gets round the problem and is OK if you want to use your VMs in “bridged” mode, but if you want to use NAT to assign your own IP addresses to your VMs, this isn’t an option.

Making this change prevents Windows from categorising the networks as “unidentified” and your windows firewall will simply categorise your PC/laptop as being on the “Home”, “Work” or “Public” network as normal.

Issue

You’ve installed VMWare Workstation on Vista or Windows 7 and the two VMNet adapters display as unidentified by the host OS.  This causes your firewall profile to switch to the Public setting and lock down your computer even on a trusted network.  Manually switching the virtual NICs to Private solves the problem only until the next reboot.

 

Cause
The root cause has to do with the way Vista and Windows 7 automatically identifies network types.  The information can be found on MSDN:

Windows Vista automatically identifies and monitors the networks to which a computer connects. If the NDIS_DEVICE_TYPE_ENDPOINT flag is set, the device is an endpoint device and is not a connection to a true external network. Consequently, Windows ignores the endpoint device when Windows identifies networks. The Network Awareness APIs indicate that the device does not connect the computer to a network. For end users in this situation, the Network and Sharing Center and the network icon in the notification area do not show the NDIS endpoint device as connected. However, the connection is shown in the Network Connections Folder. Also, if NDIS_DEVICE_TYPE_ENDPOINT is set, the Windows Firewall ignores the connection when Windows Firewall enforces public, private, or domain policies.

Solution
(Reproduced from aspoc.net).

NB: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

  • 322756 How to back up and restore the registry in Windows
  1. Click Start, click Run, type regedit, and then click OK.
  2. Click the follwoing subkey:HKLMSYSTEMCurrentControlSetControlClass{4D36E972-E325-11CE-BFC1-08002BE10318}
  3. Browse through the 00xx subkeys until you find the REG_SZ VMNet subkey with a value of either “DosDevicesVMnet8” or “DosDevicesVMnet1” (default values). I found that the fastest way to do this was to search for the text “VMNet8” and “VMNet1” from the top of the registry subkey.
  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type *NdisDeviceType, and then press Enter.
  6. On the Edit menu, click Modify.
  7. Type 1, and then click OK.
  8. Exit Registry Editor.
  9. Disable & re-enable the VMWare NICs and you’ve finished

Note: In case simply disabling and re-enabling the virtual NICs doesn’t fix the problem immediately, reboot your computer.

Problems uploading pictures to Twitter / Instagram / Facebook (Vodafone)

I regularly use Twitter, FaceBook, Instagram etc to upload pictures to the Internet and share them with my friends and family.
Since having an iPhone 4 on Vodafone, I’ve noticed problems uploading images via various apps. These problems occur regardless of whether I use FaceBook, yfrog, twitpic or other image upload services. I know that this has nothing to do with my user credentials because I;ve always been able to upload via Wifi connections.

I concluded that I must have a problem with Vodafone.

Firstly I assumed that this might be something to do with account restrictions preventing me from accessing certain websites. I called Vodafone and had account restrictions lifted, so I could access any website. This didn’t work.

Then I phoned Vodafone support and said that I was having these problems. The lady I spoke to said that she had an iPhone (on a different network) and that she had the same problem, so it must be something to do with Apple.

I wasn’t convinced by this, so I started to trawl the internet to see if I could find the correct network settings for Vodafone-connected iPhones. I found a few websites and by trial an error I managed to find some settings that worked for me.

The old settings were
APN: wap.vodafone.co.uk
Username: wap
Password: ***

OLD Vodafone APN Settings

The new settings (which work for my Vodafone UK handset) are:
APN: internet
Username: web
Password: web

NEW Vodafone APN SettingsNEW Vodafone APN Settings

 

I left the MMS settings the same, because I’ve never had problems with those settings.
I hope that this is useful to you.

CL1P.net – The Internet Clipboard

I really like this tool that was recommended to me by Mark Sibley.

 

  • To use this clipboard, make up a URL similar to this and type it into your browser.
    http://cl1p.net/bishReplace the word ‘bish’ in the above URL with anything that you want.
    Cl1p.net screenshot
  • Type or paste any text (like I did above) into the clipboard and click “save”.
  • Then, from any other PC open a browser up to the same URL to access the “clipboard” from somewhere else.
Whilst this is useful, I wouldn’t recommend using this public facility for sharing secret or commercially sensitive information.
It’s handy for the odd code-snippet or for sharing information with colleagues.