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!

 

Em

Answer
Answer

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

139 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.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated November 28, 2020 Views 382,406 Applies to: