Lenovo notebook win7 system to create a batch of fast open /disable wireless network card skills

  

1, first check whether there is devcon.exe in your laptop, you can search directly in the SYSTEM32 folder of the WINDOWS directory, you can also use the command line CMD, then enter DEVCON? to detect, if not Microsoft's website is downloaded and unpacked under the system32 directory.
2. View the network card ID: Right click on the computer icon on the win7 system desktop and select “Manage Device Manager”, then select the wireless network card you want to operate, right click and select Properties, then select the Details tab. Select the hardware ID in the list and record this ID.
3, create a batch file: right click on the desktop blank, select New Notepad, name the file as XXX.bat (note that the suffix is ​​bat is not TXT), then copy and paste the following content; Br>Disable network card.bat
@echo off
; disable wireless network card, replace the content between two * numbers with network card 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 network card.bat
@echo Off
;Disable the wireless network card, replace the content between the two * numbers with the network card ID
; devcon disable *PCI/VEN_14E4&DEV_4365&CC_0280*
; enable the wireless network card, the two * Replace the content between the NIC ID
devcon enable *PCI/VEN_14E4&DEV_4365&CC_0280*
echo on
4, save and close after the paste is completed, and then double-click to run to quickly open or disable martial arts The network card is gone.

Copyright © Windows knowledge All Rights Reserved