Computer Science, asked by nachikumar5168, 10 months ago

How to disconnect and reconnect using internet command?

Answers

Answered by Blaezii
5

Answer:

Hey

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 to use.

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.

Similar questions