Aynone know how to batch enable/disable network interfaces in windows?

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,471
387
126
What exactly you want o disable.

You can Release and ReNew the TCP/IP.

To create a BAT file, use Windows Notepad (or any other pure text editor).

Type the line "ipconfig /release_all" (without the quotation) and save the file as text file named IpRel.bat

Open a new file, type the line "ipconfig /renew_all" (without the quotation) and save the file as text file named IpRenew.bat

Make links from the bat file your Desktop or any other desirable location.

:sun:
 

JRock

Platinum Member
Apr 19, 2001
2,742
0
0
(Click Start, click Control Panel, click Network Connections)

Right-click the interface you want to enable/disable.
 

nweaver

Diamond Member
Jan 21, 2001
6,813
1
0
I believe netsh can do this. If not, I know that vbscript can, just not sure how (I've never done it)
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,471
387
126