I'm not sure if there is a way to disable the internet connection for the modem or router by command line in windows. There's probably a way to disable the network adapter on the local machine through command line, but I myself do not know which commands
I do know, however, that if you drop your IP address, your connection will be terminated. You can do this in the command line by using the command "ipconfig /release" without quotes. This will drop your IP address causing your connection to go down.
You can bring it back up by renewing your IP address. This can be done in the command line by using the command "ipconfig /renew" again without the quotes.
Note* I believe you'd have to be system administrator as well to perform these commands.
Now I'm sure this isn't the best way to do this but this way will definitely get the job done.
Hope this helps.
15 people found this reply helpful
Was this reply helpful?
Sorry this didn't help.
Great! Thanks for your feedback.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.