Q: 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!





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

Did this solve your problem?

Sorry this didn't help.

130 people were helped by this reply

Question Info

Views: 369,194 Last updated: June 19, 2018 Applies to: