Command line to DISABLE Network adapter, Command line help |
Command line to DISABLE Network adapter, Command line help |
Apr 6 2006, 01:44 PM
Post
#1
|
|
|
New Member ![]() Posts: 4 OS: xp |
Hello, I am trying to find a way I can disable the network adapter from the command line. Any suggestions, |
|
|
![]() |
Apr 6 2006, 03:09 PM
Post
#2
|
|
![]() Ruler of Omicron Persei 8 Posts: 23,428 From: Knoxvegas OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors) |
open a command prompt and type netsh press enter
then type interface then do set interface /? that will display the bellow CODE netsh interface>set interface /? Usage set interface [name = ] IfName [ [admin = ] ENABLED|DISABLED [connect = ] CONNECTED|DISCONNECTED [newname = ] NewName ] Sets interface parameters. IfName - the name of the interface admin - whether the interface should be enabled (non-LAN only). connect - whether to connect the interface (non-LAN only). newname - new name for the interface (LAN only). Notes: - At least one option other than the name must be specified. - If connect = CONNECTED is specified, then the interface is automatically enabled even if the admin = DISABLED option is specified. netsh interface> now...what you can actually do with that...i'm not sure...never needed to disable an interface from a command line....why do you need to do such a thing? |
|
|
Apr 7 2006, 05:22 AM
Post
#3
|
|
|
New Member ![]() Posts: 4 OS: xp |
I have a college instructor that as posed this question! It would also be useful because when we set up new users we sometimes need to disable the network adapter. We are ususally setting up new computers from the command line, be nice to know!
Thanks CODE netsh interface>set interface /? Usage set interface [name = ] IfName [ [admin = ] ENABLED|DISABLED [connect = ] CONNECTED|DISCONNECTED [newname = ] NewName ] Sets interface parameters. IfName - the name of the interface admin - whether the interface should be enabled (non-LAN only). connect - whether to connect the interface (non-LAN only). newname - new name for the interface (LAN only). Notes: - At least one option other than the name must be specified. - If connect = CONNECTED is specified, then the interface is automatically enabled even if the admin = DISABLED option is specified. netsh interface> now...what you can actually do with that...i'm not sure...never needed to disable an interface from a command line....why do you need to do such a thing? [/quote] |
|
|
Apr 7 2006, 07:05 AM
Post
#4
|
|
![]() Retired Staff Posts: 11,365 OS: windows 98, xp, 2000, linux |
Had a service once that loaded at startup that accessed the network and would crash the computer..disabling the NIC allowed the PC to start to repair the issue.
Course, unplugging the card did the same thing |
|
|
Apr 7 2006, 08:43 AM
Post
#5
|
|
![]() Ruler of Omicron Persei 8 Posts: 23,428 From: Knoxvegas OS: 3.1, 95, 98SE, xp, 2000, NT4, 2003 Standard Edition, linux (various flavors) |
http://www.microsoft.com/resources/documen...e.mspx?mfr=true here's a reference on disabeling a driver or service from RC
|
|
|
Apr 8 2006, 09:11 AM
Post
#6
|
|
|
New Member ![]() Posts: 4 OS: xp |
Thanks,
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
0 / 424 | 14th July 2005 - 02:48 PM StogieBoy started - last by StogieBoy |
|||||
![]() |
9 / 629 | 28th June 2007 - 11:04 AM dustbegone1xyz started - last by anicram |
|||||
![]() |
6 / 415 | 24th September 2009 - 02:59 PM diggeryo started - last by diggeryo |
|||||
![]() |
1 / 107 | 1st December 2009 - 11:36 PM brettxw started - last by brettxw |
|||||
|
Time is now: 15th March 2010 - 07:59 AM |
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm. However, we do not guarantee that they are accurate and they are to be used at your own risk. All trademarks mentioned on this page are the property of their respective owners.
© Geeks to Go, Inc. | All Rights Reserved | Privacy Policy | Advertising