Enable network card using devcon

Posted on 2004-10-28
Last Modified: 2011-08-18

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
    Name: Intel(R) PRO/100 VM Network Connection
    Device is disabled.
    Name: Intel(R) 82801BA/CA PCI Bridge - 244E
    Driver is running.
    Name: Intel(R) 82801DB LPC Interface Controller - 24C0
    Driver is running.
    Name: Intel(R) 82801DB/DBM USB Universal Host Controller - 24C2
    Driver is running.
    Name: Intel(R) 82801DB/DBM USB Universal Host Controller - 24C4
    Driver is running.
    Name: SoundMAX Integrated Digital Audio
    Driver is running.
    Name: Intel(R) 82801DB Ultra ATA Storage Controller - 24CB
    Driver is running.
    Name: Intel PCI to USB Enhanced Host Controller
    Driver is running.
    Name: Intel(R) 82845G/GL/GE/PE/GV Processor to I/O Controller - 2560
    Driver is running.
    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 :)
Question by:nikon70
    LVL 12

    Expert Comment

    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:;EN-US;Q311272
    LVL 10

    Expert Comment

    I tested like this
    devcon /status *

    The result for my network card :
        Name: Fujitsu Siemens Computers 82559-based Onboard Ethernet with WoL and Ao
    L - Packet Scheduler Miniport
        Driver is running.
        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.

    Author Comment

    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?
    LVL 10

    Accepted Solution

    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.

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

    devcon /disable =net PCI\VEN_8086

    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 ( 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