Disable and NIC from the command line

  • Thread starter Thread starter MartinC
  • Start date Start date
M

MartinC

Guest
Hi,

Can anyone tell me if there'e some way to disable a network device from the Windows XP command line prompt.

I need to diable the second NIC on a group of PC's and would prefer not to have to use device manager on each machine.

Thanks

MartinC
 
sure there is, its called "group policies", but its not done from the command line. Im pretty sure it would be alot easier for you to walk over and disable them. Otherwise the answer to yoru question is no.
 
Another method you might consider is to put the network device's connection icon in the taskbar. Then you can right-click it and disable the connection easily. You can also put a Quick Launch to turn it back on quickly.

In Network Connections, right click the connection that the device uses. Go into Properties and Select the "Show icon..." checkbox.

After that you can do another right-click and "Create Shortcut", then move that shortcut to the Quick Launch area.

This doesn't actually disable the device itself, but it effectively turns off any traffic going through it. This is how I turn off the network to the other computers in my house when I need to.

-JG
 
Hello,

You can disable a network connection by command line.

DevCon Command Line Utility Alternative to Device Manager.

Please access this Microsoft support page that it will show How can you manage Device manager by command prompt.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272

I need to disable a NIC as a normal user into the command prompt, not as a administrator..if someone could help me how can I execute this command as a normal user. (I need to automate a process, then I could not interect with the command like "runas command" that I needed to supress the passwor manualy).

Thanks.
 
hey guests why dont you joing osnn be members 😀 you'll get better help and other members will be able to help you better ask you become more familiar to them 🙂
Click here
 
look at the dates and then think of what happend to the forums a year ago 🙂.
 
TittleBitties said:
look at the dates and then think of what happend to the forums a year ago 🙂.
oh cool i've never really noticed the dates over the posts, well let it be a lesson for future guest.... :speechless:
 
They aren't guests, they are ghosts. The come from threads now long forgotten in the mists of time... *makes spooky sounds* :twisted:
 
Does anyone else ever wonder if the people in these ancient posts ever solved their problems?

Meaning less comment but it rolled me over to post 2100...
 

Members online

No members online now.

Forum statistics

Threads
62,021
Messages
673,242
Members
5,642
Latest member
osipov
Back
Top