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
|