WIN7 enables/disables the implementation of wireless network cards through batch processing

  
                                    

1, see if your computer has devcon.exe software, you can search directly in the SYSTEM32 folder of the WINDOWS directory, you can also use the command line RUN-----------CMD--- ----DEVCON? To detect, if not, download it from Microsoft's website (http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2-896f-9ce67f3e0240/devcon.exe) Unzip it into the system32 directory.

2, check the network card ID: select the computer icon on the desktop ----------- click the right mouse button ------------ select the management menu --- ---------Select Device Manager----------Select the wireless network card you want to operate--- Right click----------- - Select Properties -------------- Select Details Tab -----------------Select the hardware ID in the list and record this ID.

3, write the batch file: create a new notebook on the desktop --------------- change the file name to XXX.bat (note the suffix named bat is not TXT) - -----Select the file ------- Right click-----------Select Edit -------------- Copy the content:

Disable NIC.bat

@echo off

;Disable wireless NIC, replace the contents between two * numbers with NIC ID

devcon disable * PCI/VEN_14E4&DEV_4365&CC_0280*

; Enable wireless network card, replace the content between the two * numbers with the network card ID

;devcon enable *PCI/VEN_14E4&DEV_4365&CC_0280*

echo on

Enable NIC.bat

@echo off

; Disable wireless NIC, replace the contents between the two NICs with NIC ID

;devcon disable *PCI/VEN_14E4&DEV_4365&CC_0280*

;Enable wireless network card, replace the content between two * numbers with network card ID

devcon Enable *PCI/VEN_14E4&DEV_4365&CC_0280*

echo on

Save off, run

Copyright © Windows knowledge All Rights Reserved