I tried asking the question at askubuntu but didn't get any answer so I am asking it here.
I am using a pc with dual boot
Windows 10 and
Ubuntu 16.04. each time I use ubuntu and shutdown and then login to windows the Ethernet doesn't work upon troubleshooting it shows error
one or more network protocols are missing on this computer .
I found the solution to the above is running the command
netsh winsock reset on command prompt.
However I have to restart windows again for the command to take effect which is a pain,so I am looking for a permanent fix.
summary : use ubuntu -> shutdown ubuntu-> login windows -> ethernet doesn'twork -> fix via cmd -> have to restart windows again(pain)