Enable/Disable Network interface via command line

Hi guys,


Anybody here who could point me to a resource or a command line instruction to disable a network interface in Windows 7? Your help would be highly appreciated. Thanks in advance!




Question Info

Last updated February 22, 2020 Views 379,318 Applies to:

This should do it:

   netsh interface set interface name="Local Area Connection" admin=disabled

Subsitute the actual network connection name if it isn't Local Area Connection.

Boulder Computer Maven
Microsoft Most Valuable Professional
Steve Winograd

137 people were helped by this reply


Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.