How to Restart The Whole Internet Connection System in Windows Without Having to Reboot? [closed]

I’m using Cisco Secure Client and I use Anyconnect in it in order to connect to a VPN. It works totally OK but the problem shows up a couple of moments after I disconnet the VPN.
I lose my internet connection in a way that I can’t reach any websites or use apps and not even able to connect to the VPN again UNLESS I RESTART THE COMPUTER.

I found somewhere in Reddit that somebody had posted this piece of code and claimed that it acts like rebooting.

sudo systemctl restart systemd-resolved.service

But I believe that this piece of code doesn’t belong to Windows. It’s either used for MacOS or Linux. I think if I could find the equivalent for that code in Windows, that would work for me.

Any ideas?

  • StackOverflow is meant for questions related to code programming, but this is not a coding issue. Try asking on Super User or Network Engineering instead.

    – 




Leave a Comment