[TUTORIAL] Disable Or Enable any device in a single click!!!
[TUTORIAL] Disable Or Enable any device in a single click!!!
Have you ever thought of scheduling your downloads in your laptop in a wifi network. And you wish to switch on wifi only at that time?
Or have you thought of disabling or enabling your Usb Ports with a single click Or any devices with a single click?
Here is the solution: (Works with windows XP, Vista ,………..)
1. Download Devcon (Google it, you will find it in Microsoft site)
2. Or From http://support.microsoft.com/kb/311272 (works with vista if used with skipuac)
3. Copy Devcon.exe to C:\
4. To know more about skipuac (TO disable UAC in vista only for specific appllcations) please visit
” http://msmvps.com/blogs/martinzugec/archive/2008/05/16/ignore-uac-for-specific-programs.aspx “ Hey thanks Martin!!!!!!!
5. Use a batch file as follows: FOR ENABLING A DEVICE
[Open notepad and copy the following below and save as ENABLE DEVICE.bat
FOR VISTA AS FOLLOWS:
@echo off
start "" C:\SkipUAC\ElevatorRunner.exe C:\devcon.exe enable *DEVICE ID*
FOR XP AS FOLLOWS :
@echo off
start "" C:\devcon.exe enable *DEVICE ID*
]
6. Use a batch file as follows: FOR DISABLING A DEVICE
[Open notepad and copy the following below and save as DISABLE DEVICE.bat
FOR VISTA AS FOLLOWS:
@echo off
start "" C:\SkipUAC\ElevatorRunner.exe C:\devcon.exe disable *DEVICE ID*
FOR XP AS FOLLOWS :
@echo off
start "" C:\devcon.exe disable *DEVICE ID*
]
Note 1 : SkipUAC is for Vista to Disable Uac Specific for this task!! See my next post regarding this!!
Note 2 : *DEVICE ID* is the device id for example my device id for my Wifi is :
1. My Computer Right click
2. Click Manage
3. Then Click Device Manager
4. Right Click Device you need (here Intel(R) PRO/Wireless 3945ABG Network Connection)
5. Click Properties
6. Click Details TAB
7. Select Hardware Ids in Properties
8. You will get Device Id from here………
This is how we get from the window:

device properties
For Example :
[The window will look provide something like this :
PCI\VEN_8086&DEV_4222&SUBSYS_10008086&REV_02
PCI\VEN_8086&DEV_4222&SUBSYS_10008086
PCI\VEN_8086&DEV_4222&CC_028000
PCI\VEN_8086&DEV_4222&CC_0280
So here DEVICE ID is DEV_4222
9. SO TO DISABLE MY WIFI:
@echo off
start “” C:\SkipUAC\ElevatorRunner.exe C:\devcon.exe disable *DEV_4222*
10. <<<<<THANK YOU HAPPY COMPUTING>>>>>
-
Archives
- June 2009 (1)
- March 2009 (1)
- February 2009 (1)
- October 2008 (2)
- June 2008 (3)
- May 2008 (1)
- March 2008 (8)
- February 2008 (13)
-
Categories
-
RSS
Entries RSS
Comments RSS