Sreedhar Gudibande G N asks:
How to enable or disable local area connection in Windows XP using command mode?
Browser: Chrome 24
System: Windows
Tagged: command prompt, disable, enable feature, lan, windows tips, windows xp
System: Windows
Tagged: command prompt, disable, enable feature, lan, windows tips, windows xp
8 Answers - Write an Answer
ha14
February 19, 2013to disable an interface with its default name Local Area Connection, run:
netsh interface set interface Local Area Connection DISABLED
To enable the interface, you’d then run:
netsh interface set interface Local Area Connection ENABLED
if the netsh for windows xp do not disable try this
http://itcookbook.net/blog/enabling-and-disabling-nics-commandline-windows
.
Enable/Disable LAN interface by command prompt in Windows XP
http://blog.thilina.org/2011/06/enabledisable-lan-interface-by-command.html
You receive an error message when you use Netsh.exe to enable or disable a network adapter in Windows XP and in Windows 2000
http://support.microsoft.com/kb/262265
Devcon utility will be needed if netsh do not disable/enable LAN
Enable/Disable Wireless Card from Command Line
http://wlanbook.com/enable-disable-wireless-card-command-line/
https://mysite.uchicago.edu/personal/bsdad_rcarter/Blog/Lists/Posts/Post.aspx?ID=61
Windows XP: Unable To Disable Local Area Connection. Error “It is not possible to disable the connection at this time.”
http://www.technipages.com/xp-unable-to-disable-local-area-connection-error-it-is-not-possible-to-disable-the-connection-at-this-time.html
Yavisht Katgara
February 19, 2013Check this link out , Im sure it will be helpful
http://wlanbook.com/enable-disable-wireless-card-command-line/
Yavisht Katgara
February 19, 2013Your looking for the netsh commant under the dos docs mentioned below
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true
Nevzat Akkaya
February 19, 2013Using NETSH tool in command line, you can do that.
Usage :
netsh interface set interface DISABLED or ENABLED
For example to disable an interface with its default name “Local Area Connection” run:
netsh interface set interface “Local Area Connection” DISABLED
To enable the interface, you’d then run:
netsh interface set interface “Local Area Connection” ENABLED
That’s it.
Jan Fritsch
February 20, 2013As it was suggested netsh may be the easiest option with limited use.
You can get all the adapter names using:
netsh interface show interface
You can disable an adapter using:
netsh interface set “name” disabled
Depending on what you want to use the command for you may run into the problem that an adapter is not named e.g. “Local Area Connection” but something else e.g. someone renamed it to “network 1″.
Meaning, if you use the command in a script it won’t work with renamed or in general differently named adapters. For this use you will have to do additional coding as in parsing the adapters names out of the first command and then disable them one by one
Prashant Mirjankar
February 25, 2013Enabling:
netsh interface set interface “Local Area Connection ” ENABLE
Disabling:
netsh interface set interface “Local Area Connection ” DISABLE
Note:- If you have changed the default name of the connection then try with that name in the place of “Local Area Connection”
jw07
March 14, 2013Any idea on how i can disable the local area connection to not communicate with windows 7 and only allow the actual local area conection I.E. the network flug? I have a Pi system that only works in XP mode and im running a windows 7 laptop. Cant get the Pi system to comunicate with my laptop because the local area connection is only reconizing the network adapter and im assuming my internet conection is coming from windows 7.
steven
May 22, 2013Yo all beating by the bush…simple
Click Start, click Run, type %windir%\network diagnostic\xpnetdiag.exe, and then click OK.