This article will help you in Disable or Enable devices from command prompt. And also this will discuss about the error u may likely to encounter.
It will be really good rite, when you can disconnect your modem or internet connection in one click after you are finished with it. This article will help you to do that.
First you need to have devcon.exe. An alternate to device manager which can be run through command prompt.
Download the devcon.exe from the below link
http://support.microsoft.com/kb/311272
Once you downloaded the devcon exe file, extract the exe and paste it inside c:\windows\system32 folder. That's it you are ready to run it.
I've read the above procedure in a blog, and wanted to try it. But i was getting this message..
"
C:\Windows\system32>devcon disable *mouse*
HID\VID_04CA&PID_0030\7&3A7DF96F&0&0000 : Disable failed
No devices disabled.
"
After some digging i found the the 64 bit version of devcon available to download form Microsoft website is not compatible for windows 7 64 bit. You will need to extract it from server 2003 64 bit dvd.
Once it's done it will work like a charm. I've extracted the 32 and 64 bit version devcon.exe from server 2003 dvd and uploaded it. You can download it from below links..
Devcon.exe 32 bit
Devcon.exe 64 bit
Hope this helps..
Techytipz
36 comments:
OMG thank You a MILLION man!!! Been trying to figure out first why 64bit was not working then was like fine will try 32bit but that would not work properly on my 64bit machine ( of course) and would not disable. Then i found this. Thanks so much man!!!!
Thanks a lot this is what we need...
i tried to run devcon disable =Mouse
it shows disable as output in command promt.
but still the mouse working ..please help me
You welcome Hamzah and Just Between Ismi & Arief.. I wounder what does "Just Between Ismi & Arief" mean though
Hi Ravi, try this command,
devcon disable *mouse*
You're a life saver :D Thank you very much!
BIG thx, man!
Hi I'm using devcon to disable and re-enable devices in an automated test system. The 1st time i run through, it works great. the 2nd time, it doesn't disable, says reboot required. How do I get around this?
you are a king, sir.
thank you so much
HI
I downloaded the 64 bit version and put it in the system32 folder. shouldn't matter?#
when I run this from the prompt it finds devices but I still get the disable failed back. very annoying.
im using windows 7 professional. any thoughts ? thanks
hi, i've trying to copy your 64 bit devcon to system32 folder in my win7 64 bit version, but it still doesn't work, Disable failed. Could you help me answer this question, please ...
Thanks!!
Very good!!!
Trying to get the remove command to work on XP Embedded. File has been copied to the system32 folder but still fails. Does this work on XP Embedded?
Received the same message in XP too...not sure what I'm doing wrong
It allows me to disable, but not remove the RealTek driver
thanks a lot man !! problem solved ;-)
Worked for me..
Thanks a lot..
Wonder why the following didnt work..
Its a code snippet of my visual c++ 2013 project built for x64 bit environment.. Hencee I had to resort to devcon...
params.ClassInstallHeader.cbSize = sizeof(SP_CLASSINSTALL_HEADER);
params.ClassInstallHeader.InstallFunction = DIF_PROPERTYCHANGE;
params.HwProfile = 0;
params.Scope = DICS_FLAG_CONFIGSPECIFIC;
params.StateChange = DICS_DISABLE;
// prepare operation
if (!SetupDiSetClassInstallParams(hDevInfo, &DeviceInfoData, ¶ms.ClassInstallHeader, sizeof(params)))
{
printf("Error while preparing params !\n");
break;
}
// launch op
if (!SetupDiCallClassInstaller(DIF_PROPERTYCHANGE, hDevInfo, &DeviceInfoData))
{
printf("Error while calling OP ! Return code is %x\n", GetLastError());
continue;
}
Problem solved.. Thats wht matters.
Excellent Man..Keep up good work...
Glad this post hel[ped you guys..!!!
You save my live!!!!!!!!!!!!!!!!!!!!!!!!!
So many thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Didn't work for me. It says that the device was disabled, however it's still running (Wi-Fi card). Any help?
Thanks!
Thanks a lot!!!!
i am doing the same as for keybord but it is not disabling the keyboard.
You saved a life! The only blog that have the correct answer.
BRPx, We are glad that we helped you
This was a big help! Didn't know the 32bit would be incompatible, but I was getting the same error as you. Thanks alot
simple and clear. Keep updating Artificial Intelligence Online Training
You, sir, have done a great service. I would have banged my head bloody trying to figure this out. And having the links was the icing on the cake. Thank you!
I think this is one of the most important info for me.And i am glad reading your article. But want to remark on few general things, The site style is good , the articles is really excellent and also check Our Profile for ai programming tutorial.
iDealshare VideoGo is just the right vidoe Converter!https://www.idealshare.net/video-converter/play-mkv-on-sony-bravia-tv.html
Smm Panel
smm panel
İs İlanlari
instagram takipçi satın al
HIRDAVAT
https://www.beyazesyateknikservisi.com.tr
servis
tiktok jeton hilesi
maltepe bosch klima servisi
kadıköy bosch klima servisi
ümraniye samsung klima servisi
kartal mitsubishi klima servisi
ümraniye mitsubishi klima servisi
kartal alarko carrier klima servisi
ümraniye alarko carrier klima servisi
kartal daikin klima servisi
ümraniye daikin klima servisi
lisans satın al
yurtdışı kargo
uc satın al
nft nasıl alınır
en son çıkan perde modelleri
minecraft premium
en son çıkan perde modelleri
özel ambulans
Post a Comment