Networking Forums

Networking Forums > Computer Networking > Windows Networking > Disable Network Connection with devcon.exe or otherwise?

Reply
Thread Tools Display Modes

Disable Network Connection with devcon.exe or otherwise?

 
 
Jon Davis
Guest
Posts: n/a

 
      10-31-2006, 07:27 PM
I read that only Vista exposes support for WMI-based disablement of network
connections.

I downloaded a tool from Microsoft called "devcon.exe" that allows you to
enable/disable hardware devices. I tried to use this to disable the network
adapter. Worked fine on my workstation, but not on the server ...

My workstation has one ethernet jack, but it appears that the server has two
Ethernet jacks on the same PCI device.

When I attempt to use

devcon find PCI\VEN_14E4&DEV_1648&SUBSYS_164414E4&REV_03\4&8B2 208E&0&4858

... on the server, where everything after "find" is the PNPDeviceID of the
ethernet adapter I want to disable, the find fails, but if I use ..

devcon find PCI\VEN_14E4

... it finds both Ethernet adapters ..

PCI\VEN_14E4&DEV_1648&SUBSYS_164414E4&REV_03\4&8B2 208E&0&4858
PCI\VEN_14E4&DEV_1648&SUBSYS_164414E4&REV_03\4&8B2 208E&0&4958

I'm not sure why it won't find the full ID of the first adapter when I
"find" it with the full ID, which if it could I'd use "devcon disable [id]".
Works fine on my workstation.

Does anyone else have any ideas or alternative workarounds?

Thanks,
Jon


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable network connection in Win98/Me Dimitris Andrakakis Windows Networking 0 02-09-2005 01:36 PM
Disable network connection in Win98/Me Dimitris Andrakakis Windows Networking 0 02-09-2005 01:36 PM
unable to disable network connection Peter Welk Wireless Networks 3 11-30-2004 06:13 AM
Disable a Network Connection =?Utf-8?B?Um9iZXJ0?= Windows Networking 3 11-01-2004 10:09 AM
disable/unistall network connection ANGELO Windows Networking 0 09-24-2004 09:46 AM



1 2 3 4 5 6 7 8 9 10 11