Network giving IP error even when on DHCP

There is a Microsoft update wich affects Win 7,8,10. It knocks of the IP settings and no DNS or DHCP settings resolve. The affected machine was set using DHCP. Changed this to a fixed ip but it did not resolove proeblem. I discovered that there was a Microsoft update within the last week (13/12/2016) that caused the problerm. Here is the solution for a Windows 10 system, other Win systems will be similar.

These are the instructions after the IPV4 settings were changed from DHCP to a static IP

Can you get to the command prompt by pressing WinKey +R and enter cmd> return

 On the black screen enter the following;

 netsh winsock reset catalog > return

 netsh int ipv4 reset reset.log > return

 Exit > return

 If this does not work then go to Control Panel > Network & Sharing Centre > Change adapter Settings > Ethernet Right Cliock Properties> Internet protocol Version4 > properties

 Change the settings  to

 Radio Button Obtain an IP address automatically and Obtain DNS server address automatically >OK>Close>Close

 Try going to www.bbc.co.uk if it does not work repeat the bits in black again.