Solved

Enable network card using devcon

Posted on 2004-10-28
24,185 Views
Last Modified: 2011-08-18
Hi,

I have a few pc's which upon boot up the network card is disabled.

I have been using devcon.exe to enable them at start up which i am doing this:

devcon enable PCI\VEN_8086

now this works but it has a total of 10 devices on this bus, and its the second or third one which gets enabled is the only one I need, as its the network card (aka Name: Intel(R) PRO/100 VM Network Connection)

These are the 10 devices:

F:\Pstools\devcon\i386>devcon.exe status PCI\VEN_8086
PCI\VEN_8086&DEV_103B&SUBSYS_00120E11&REV_81\4&25296D99&0&40F0
    Name: Intel(R) PRO/100 VM Network Connection
    Device is disabled.
PCI\VEN_8086&DEV_244E&SUBSYS_00000000&REV_81\3&61AAA01&0&F0
    Name: Intel(R) 82801BA/CA PCI Bridge - 244E
    Driver is running.
PCI\VEN_8086&DEV_24C0&SUBSYS_00000000&REV_01\3&61AAA01&0&F8
    Name: Intel(R) 82801DB LPC Interface Controller - 24C0
    Driver is running.
PCI\VEN_8086&DEV_24C2&SUBSYS_00B90E11&REV_01\3&61AAA01&0&E8
    Name: Intel(R) 82801DB/DBM USB Universal Host Controller - 24C2
    Driver is running.
PCI\VEN_8086&DEV_24C4&SUBSYS_00B90E11&REV_01\3&61AAA01&0&E9
    Name: Intel(R) 82801DB/DBM USB Universal Host Controller - 24C4
    Driver is running.
PCI\VEN_8086&DEV_24C5&SUBSYS_00AD0E11&REV_01\3&61AAA01&0&FD
    Name: SoundMAX Integrated Digital Audio
    Driver is running.
PCI\VEN_8086&DEV_24CB&SUBSYS_00B90E11&REV_01\3&61AAA01&0&F9
    Name: Intel(R) 82801DB Ultra ATA Storage Controller - 24CB
    Driver is running.
PCI\VEN_8086&DEV_24CD&SUBSYS_00B90E11&REV_01\3&61AAA01&0&EF
    Name: Intel PCI to USB Enhanced Host Controller
    Driver is running.
PCI\VEN_8086&DEV_2560&SUBSYS_00000000&REV_01\3&61AAA01&0&00
    Name: Intel(R) 82845G/GL/GE/PE/GV Processor to I/O Controller - 2560
    Driver is running.
PCI\VEN_8086&DEV_2562&SUBSYS_00B90E11&REV_01\3&61AAA01&0&10
    Name: Intel(R) 82845G/GL/GE/PE/GV Graphics Controller
    Driver is running.
10 matching device(s) found.


Even by doing:

devcon enable PCI\VEN_8086&DEV_103B&SUBSYS_00120E11&REV_81\4&25296D99&0&40F0

still processed the 10 devices...

I have also tried things like:

devcon enable hwids *intel* or *network* etc but that does not work at all.

any ideas?

Tomski :)
0
Question by:nikon70
    4 Comments
     
    LVL 12

    Expert Comment

    by:zvitam
    try the following

    devcon classes

    you will get a list all the classes installed on your system

    devcon listclass <network class name>

    you will probably get *only* the NIC

    devcon enable <class name> should do the jon (only for the NIC)

    based on the following Microsoft Knowladge Base article:

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
    0
     
    LVL 10

    Expert Comment

    by:Longbow
    I tested like this
    devcon /status *

    The result for my network card :
    ROOT\MS_PSCHEDMP\0000
        Name: Fujitsu Siemens Computers 82559-based Onboard Ethernet with WoL and Ao
    L - Packet Scheduler Miniport
        Driver is running.
    ROOT\MS_PSCHEDMP\0002
        Name: WAN Miniport (IP) - Packet Scheduler Miniport
        Driver is running.

    To disable or enable i use this command :
    devcon /disable MS_PSCHEDMP
    devcon /enable MS_PSCHEDMP

    No internet access after disabling it.
    So it works.
    0
     

    Author Comment

    by:nikon70
    cheers for the suggestions but no luck:

    right well does not enable the network card it enables and disables something but its not the actual network card device probably only the device driver or something.

    if you check in device manager and disable the network card, try to enable it again by using devcon enable *insert device class id here*

    does not do it.

    any other suggestions?
    0
     
    LVL 10

    Accepted Solution

    by:
    C:\>devcon /enable =net
    PCI\VEN_8086&DEV_1229&SUBSYS_004B110A&REV_09\4&24AB0D93&0&40F0: Enabled
    ROOT\CNTX_VPCNETS2_MP\0000                                  : Enabled
    ROOT\MS_L2TPMINIPORT\0000                                   : Enabled
    ROOT\MS_NDISWANIP\0000                                      : Enabled
    ROOT\MS_PPPOEMINIPORT\0000                                  : Enabled
    ROOT\MS_PPTPMINIPORT\0000                                   : Enabled
    ROOT\MS_PSCHEDMP\0000                                       : Enabled
    ROOT\MS_PSCHEDMP\0002                                       : Enabled
    ROOT\MS_PTIMINIPORT\0000                                    : Enabled
    9 device(s) enabled.

    I think you have to do with this.
    wait...

    OK found.
    Add the class before the ID.
    This one disable just the NIC :

    devcon /disable =net PCI\VEN_8086
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Course: JavaScript Coding - Massive 12-Part Bundle

    Regardless of your programming skill level, you'll go from basics to advanced concepts in a vast array of JavaScript subjects including Sammy.js, Agility.js, Ember.js, Node.js, jQuery, AJAX, Extjs, AngularJS, Knockout.js, and JSON.

    We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    This video Micro Tutorial is the first in a two-part series that shows how to create and use custom scanning profiles in Nuance's PaperPort 14.5 (http://www.experts-exchange.com/articles/17490/). But the ability to create custom scanning profiles al…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    931 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now