WIN7 open/disable wireless network card

  
by batch processing <1> 1. See if your computer has devcon.exe software. You can search directly under the SYSTEM32 folder in the WINDOWS directory, or you can use the command line RUN----- ------CMD-------DEVCON? to detect, if not, go to Microsoft's website to download (http://download.microsoft.com/download/1/1/f/11f7dd10-272d-4cd2 -896f-9ce67f3e0240/devcon.exe) Download and 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