you have to exit out of the cmd, right click it and "Run as Administrator" Here is what I found on Microsoft's website.The following actions are taken if you select the Repair option on a LAN or high-speed Internet connection.
Just had to restart the service manually from control panel and BOOM, internet works.
Using the Command Prompt Rebooting your Home Network Community Q&A Are you constantly getting disconnected from your network? Refreshing your IP address can help you troubleshoot frustrating network connections.
The process is quick, no matter which version of Windows you’re using.
i doubt this has helped more than 10% of the people who looked at this...
and for the other people, if the CMD says you need permission to do the action you are trying to do.