Open an Administrator Command Prompt and type:
netsh int ip reset c:\resetLog.txt
If all goes well, then the operation should be successful. But if any messages saying “Access denied” come up, then you’ll have to resort to delving around in the Windows Registry.
The folder you need to change the permissions on is under:
Just right click on the 26 folder and give “Everyone” (the group, that is) full permissions. Then run the netsh command again, and everything should be good!
You should now have the Internet connection restored to your Windows 10 / 8.1 PC!