1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Disabling and Enabling network connections using CLI

Discussion in 'Windows XP' started by khurram, 2004/10/19.

Thread Status:
Not open for further replies.
  1. 2004/10/19
    khurram

    khurram Inactive Thread Starter

    Joined:
    2004/10/14
    Messages:
    5
    Likes Received:
    0
    Hello Everyone,

    I want to disable and enable the wired connection (ethernet adapter) in my laptop though command prompt. I am trying to use PEAP using windows XP 802.1x client for user authentication and in some cases, the user will like to enter a different username and password. The 802.1x client in windows prompts for the username and password only when you take out the cable or disable and enable the ethernet connection.

    So if anyone can tell me how can i disable and enable a specific interface in windows xp using the command line interface, I will be greatful.

    Regards

    Khurram
     
  2. 2004/10/19
    Angel71

    Angel71 Inactive

    Joined:
    2003/09/01
    Messages:
    83
    Likes Received:
    0
    DevCon is one option:

    devcon disable PCI\VEN_1282*
    devcon enable PCI\VEN_1282*

    You can get the hardware ID of the network adapter from System Information (msinfo32).
     

  3. to hide this advert.

  4. 2004/10/19
    khurram

    khurram Inactive Thread Starter

    Joined:
    2004/10/14
    Messages:
    5
    Likes Received:
    0
    Thanks for the reply Angel71

    But the thing is that the users should not install any special software or tool on their computer and devcon does not come by detault with windows XP I guess. Correct me if I am wrong. The whole aim is to make things transparent for the users so it will be quite alot of work for the users to install devcon and then run the batch files. I wonder is there some other way ? I tried netsh but could not find the command to disable an interface.

    thanks again.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.