Tuesday, July 24, 2012

"Disable failed No devices disabled" devcon.exe | How to disable devices from command prompt


 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

51 comments:

Unknown said...

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!!!!

Just Between Ismi & Arief... said...

Thanks a lot this is what we need...

Anonymous said...

i tried to run devcon disable =Mouse
it shows disable as output in command promt.
but still the mouse working ..please help me

S A Delphin said...

You welcome Hamzah and Just Between Ismi & Arief.. I wounder what does "Just Between Ismi & Arief" mean though

S A Delphin said...

Hi Ravi, try this command,
devcon disable *mouse*

Unknown said...

You're a life saver :D Thank you very much!

Unknown said...
This comment has been removed by the author.
Unknown said...
This comment has been removed by the author.
Unknown said...

BIG thx, man!

Unknown said...

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?

ClaudeSpeed said...

you are a king, sir.

Unknown said...

thank you so much

Unknown said...

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

h said...

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 ...

VITORINO said...

Thanks!!
Very good!!!

Bosshog said...

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?

Bosshog said...

Received the same message in XP too...not sure what I'm doing wrong

Bosshog said...

It allows me to disable, but not remove the RealTek driver

Unknown said...

thanks a lot man !! problem solved ;-)

Unknown said...

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, &params.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.

Unknown said...

Excellent Man..Keep up good work...

S A Delphin said...

Glad this post hel[ped you guys..!!!

Hughes said...

You save my live!!!!!!!!!!!!!!!!!!!!!!!!!
So many thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Unknown said...

Didn't work for me. It says that the device was disabled, however it's still running (Wi-Fi card). Any help?
Thanks!

Unknown said...

Thanks a lot!!!!

Unknown said...

i am doing the same as for keybord but it is not disabling the keyboard.

BRPx said...

You saved a life! The only blog that have the correct answer.

S A Delphin said...

BRPx, We are glad that we helped you

RaShan Saddler said...

This was a big help! Didn't know the 32bit would be incompatible, but I was getting the same error as you. Thanks alot

radha said...

simple and clear. Keep updating Artificial Intelligence Online Training

Unknown said...

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!

svrtechnologies said...

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.

Tomminy said...

iDealshare VideoGo is just the right vidoe Converter!https://www.idealshare.net/video-converter/play-mkv-on-sony-bravia-tv.html

meritstep Technology said...

Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
workday studio online training
best workday studio online training
top workday studio online training

Screen Mirror App said...

Did you know that you can easily view the contents of your phone on your TV without a cable? With a screen mirror app you can easily do the screen mirroring from Android to TV. Check out www.screenmirroring.me to find out more.

Screen Mirror App said...

Anyview Cast is a screen mirroring app that is designed to connect every Android mobile phone to a smart TV without a cable. No smart TV? No problem. Anyview Cast also works with Chromecast.

Facebook Video Downloader said...

Facebook Video Downloader HD is an Android mobile app that offers the easiest way to download videos from Facebook.

meritstep said...

I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously
in their life, he/she can earn his living by doing blogging.Thank you for this article.
top tibco sportfire online training

meritstep said...

I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously
in their life, he/she can earn his living by doing blogging.Thank you for this article.
top java online training

Screen Mirror App said...

Did you know that you can easily view the contents of your phone on your TV without a cable? With a screen mirror app you can easily do the screen mirroring from Android to TV. Check out www.screenmirroring.me to find out more.

un known said...

Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
splunk online training

Unknown said...

I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously
in their life, he/she can earn his living by doing blogging.Thank you for this article.
best tibco sportfire online training

Unknown said...

I just loved your article on the beginners guide to starting a blog.If somebody take this blog article seriously
in their life, he/she can earn his living by doing blogging.Thank you for this article.
best tibco sportfire online training

cihofurko said...

adana escort - adıyaman escort - afyon escort - aksaray escort - antalya escort - aydın escort - balıkesir escort - batman escort - bitlis escort - burdur escort - bursa escort - diyarbakır escort - edirne escort - erzurum escort - eskişehir escort - eskişehir escort - eskişehir escort - eskişehir escort - gaziantep escort - gebze escort - giresun escort - hatay escort - ısparta escort - karabük escort - kastamonu escort - kayseri escort - kilis escort - kocaeli escort - konya escort - kütahya escort - malatya escort - manisa escort - maraş escort - mardin escort - mersin escort - muğla escort - niğde escort - ordu escort - osmaniye escort - sakarya escort - samsun escort - siirt escort - sincan escort - tekirdağ escort - tokat escort - uşak escort - van escort - yalova escort - yozgat escort - urfa escort - zonguldak escort

KEREM SEVDA said...

adanaescort01.com - adiyamanescortxx.com - afyonarackiralama.net - aksarayescort.net - antalyaoyunpark.com - aydinescortkiz.com - balikesirescortlar.com - batmanescortlar.com - bitlisescortlar.com - burdurescortlar.com - bursamalaysias.com - diyarbakirambar.com - edirnedespor.com - erzurumyolkosusu.com - eskisehirescortlari.com - gaziantepekspres.org - gebzeescortkiz.com - giresunmaraton.com - hataykoleji.com - ispartakpss.com - karabukteknik.com - kastamonuajans.net - kayserivalisi.com - kilisescort.com - kocaeliescortlar.com - konyaescortlar.com - kutahyaizemlak.com - malatyadataksi.com - manisaescortlar.com - marasatasoyemlak.com - mardinfanatik.com - mersinmoda.com - muglaapart.net - nigdeyapi.com - orduescortt.com - osmaniyeyorum.com - sakaryanur.com - samsunescortlar.com - siirteyatirim.com - sincanoto.com - tekirdagescortlar.com - tokatforum.com - usakbasin.com - vanescortilan.com - yalovadaemlak.com - yozgattanal.com - sanliurfadayim.com - zonguldakescort.com

EZGİ ERTAN said...

no deposit bonus forex 2021 - takipçi satın al - takipçi satın al - takipçi satın al - takipcialdim.com/tiktok-takipci-satin-al/ - instagram beğeni satın al - instagram beğeni satın al - google haritalara yer ekleme - btcturk - tiktok izlenme satın al - sms onay - youtube izlenme satın al - google haritalara yer ekleme - no deposit bonus forex 2021 - tiktok jeton hilesi - tiktok beğeni satın al - binance - takipçi satın al - uc satın al - finanspedia.com - sms onay - sms onay - tiktok takipçi satın al - tiktok beğeni satın al - twitter takipçi satın al - trend topic satın al - youtube abone satın al - instagram beğeni satın al - tiktok beğeni satın al - twitter takipçi satın al - trend topic satın al - youtube abone satın al - instagram beğeni satın al - tiktok takipçi satın al - tiktok beğeni satın al - twitter takipçi satın al - trend topic satın al - youtube abone satın al - instagram beğeni satın al - perde modelleri - instagram takipçi satın al - instagram takipçi satın al - cami avizesi - marsbahis - betboo

Unknown said...

takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
takipçi satın al
instagram takipçi satın al
instagram takipçi satın al
takipçi satın al
takipçi satın al
instagram takipçi satın al
instagram takipçi satın al
instagram takipçi satın al
instagram takipçi satın al
takipçi satın al
instagram takipçi satın al

jeslynwang said...

Nagaqq Yang Merupakan Agen Bandarq terbaik , Domino 99, Dan Bandar Poker Online Terpercaya di asia hadir untuk anda semua dengan permainan permainan menarik dan bonus menarik untuk anda semua

Bonus yang diberikan NagaQQ :
* Bonus rollingan 0.5%,setiap senin di bagikannya
* Bonus Refferal 10% + 10%,seumur hidup
* Bonus Jackpot, yang dapat anda dapatkan dengan mudah
* Minimal Depo 15.000
* Minimal WD 20.000
* Deposit via Pulsa TELKOMSEL
* 6 JENIS BANK ( BCA , BNI, BRI , MANDIRI , CIMB , DANAMON )

Memegang Gelar atau title sebagai AGEN POKER ONLINE Terbaik di masanya

11 Games Yang di Hadirkan NagaQQ :
* Poker Online
* BandarQ
* Domino99
* Bandar Poker
* Bandar66
* Sakong
* Capsa Susun
* AduQ
* Perang Bacarrat
* Perang Dadu
* BD QQ (New Game)


Info Lebih lanjut Kunjungi :
Website : NAGAQQ
Facebook : NagaQQ official
WHATSAPP : +855977509035
Line : Cs_nagaQQ
TELEGRAM :+855967014811

SÜLEYMAN SEVDA said...

kayseri escort - hatay escort - kayseri escort

Unknown said...

instagram takipçi satın al
ucuz takipçi
takipçi satın al
https://takipcikenti.com
https://ucsatinal.org
instagram takipçi satın al
https://perdemodelleri.org
https://yazanadam.com
instagram takipçi satın al
balon perdeler
petek üstü perde
mutfak tül modelleri
kısa perde modelleri
fon perde modelleri
tül perde modelleri
https://atakanmedya.com
https://fatihmedya.com
https://smmpaketleri.com
https://takipcialdim.com
https://yazanadam.com
yasaklı sitelere giriş
aşk kitapları
yabancı şarkılar
sigorta sorgula
https://cozumlec.com
word indir ücretsiz
tiktok jeton hilesi
rastgele görüntülü sohbet
erkek spor ayakkabı
fitness moves
gym workouts
https://marsbahiscasino.org
http://4mcafee.com
http://paydayloansonlineare.com

Jack Stark said...

A Pareto chart is a type of chart that contains both bars and a line graph, where individual values are represented in descending order by bars, and the cumulative total is represented by the line. Learn more about https://ppcexpo.com/blog/how-to-create-pareto-chart-in-excel

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Bluehost Coupons