Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 7  
03 Feb 18 14:50
Hagen
xxxxxx@dynax.at
Join Date: 06 Jan 2012
Posts To This List: 45
devcon failed.

I am trying to bringup an older test project which installs a root enumerated test driver. On my current Windows 10 test machine devcon with admin rights fails with an incredibly informative error: devcon install my_testl.inf my_test devcon failed. setupapi.dev.log does not get touched. Is devcon still be able to install something under Windows 10? Or, is there an alternative to install a root enumerated driver? (My build process always does a complete chain including building an .msi, but I believe its a bit cumbersome trying to install this type of driver with wixtoolsets difx.) Test wise the driver currently matches against an arbitrary free device node, but I would like to get it to install again as root enumerated device. Thanks, and cheers, Hagen.
  Message 2 of 7  
03 Feb 18 16:07
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10230
devcon failed.

The beauty of devcon is that you have the source. Build a private and see where it is failing. The tool works on win10. As an aside, difx has been deprecated since at least win8. Furthermore, it won't work in certain win10 scenarios (such as declaring a win10 build floor in the inf). d Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of xxxxx@dynax.at <xxxxx@lists.osr.com> Sent: Saturday, February 3, 2018 11:50:41 AM To: Windows System Software Devs Interest List Subject: [ntdev] devcon failed. I am trying to bringup an older test project which installs a root enumerated test driver. On my current Windows 10 test machine devcon with admin rights fails with an incredibly informative error: devcon install my_testl.inf my_test devcon failed. setupapi.dev.log does not get touched. Is devcon still be able to install something under Windows 10? Or, is there an alternative to install a root enumerated driver? (My build process always does a complete chain including building an .msi, but I believe its a bit cumbersome trying to install this type of driver with wixtoolsets difx.) Test wise the driver currently matches against an arbitrary free device node, but I would like to get it to install again as root enumerated device. Thanks, and cheers, Hagen. --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=02%7C01%7CDoron.Holan%40microsoft.com%7C765 5ecf7446c426a41f508d56b3f4458%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636532 841836500636&sdata=D8bOO38urafsh5Rx1uhJYEXT2cqwZ%2Bj%2BqY1cm2mKTs4%3D&reserved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=02%7C01%7CDoron.Holan%40microsoft.com%7C7655ecf7446c426a41f508d56b3f4 458%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636532841836500636&sdata=NKoXBnn TptGv5BoU0RwDzZWKrdmS%2Biie%2FKqwzWKDJYg%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=02%7C01%7CDoron.Holan%40microsoft.com%7C765 5ecf7446c426a41f508d56b3f4458%7Cee3303d7fb734b0c8589bcd847f1c277%7C1%7C0%7C636532 841836500636&sdata=eED3F3qtEJmT5MyO2wqnKXhxMZenw4NvKRK5oqxW8gg%3D&reserved=0> --
  Message 3 of 7  
04 Feb 18 20:57
JiaBang Lin
xxxxxx@gmail.com
Join Date: 11 Sep 2009
Posts To This List: 29
devcon failed.

this looks suspicious to me. shouldn't the hardware ID be something like "root\my_test" ? <quote> devcon install my_testl.inf my_test devcon failed. </quote> --
  Message 4 of 7  
04 Feb 18 22:25
weilin jiang
xxxxxx@foxmail.com
Join Date: 30 Nov 2017
Posts To This List: 17
devcon failed.

Hi, What does the "root\" mean? thanks. xxxxx@foxmail.com From: xxxxx@gmail.com Date: 2018-02-05 09:56 To: Windows System Software Devs Interest List Subject: Re: [ntdev] devcon failed. this looks suspicious to me. shouldn't the hardware ID be something like "root\my_test" ? <quote> devcon install my_testl.inf my_test devcon failed. </quote> --- NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at To unsubscribe, visit the List Server section of OSR Online at
  Message 5 of 7  
04 Feb 18 22:49
JiaBang Lin
xxxxxx@gmail.com
Join Date: 11 Sep 2009
Posts To This List: 29
devcon failed.

did you read the f* manual? https://docs.microsoft.com/en-us/windows-hardware/drivers/install/hardware-ids 2018-02-05 11:25 GMT+08:00 xxxxx@foxmail.com <xxxxx@lists.osr.com>: > Hi, What does the "root\" mean? thanks. > > ------------------------------ > xxxxx@foxmail.com > > > *From:* xxxxx@gmail.com <xxxxx@lists.osr.com> > *Date:* 2018-02-05 09:56 > *To:* Windows System Software Devs Interest List <xxxxx@lists.osr.com> > *Subject:* Re: [ntdev] devcon failed. <...excess quoted lines suppressed...> --
  Message 6 of 7  
05 Feb 18 01:53
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 12023
devcon failed.

On Feb 4, 2018, at 5:56 PM, xxxxx@gmail.com <xxxxx@lists.osr.com> wrote: > > this looks suspicious to me. shouldn't the hardware ID be something like "root\my_test" ? > <quote> > devcon install my_testl.inf my_test > devcon failed. > </quote> Not necessarily. A hardware ID can literally be any combination of printable characters. ??? Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc. --
  Message 7 of 7  
07 Feb 18 04:55
Hagen
xxxxxx@dynax.at
Join Date: 06 Jan 2012
Posts To This List: 45
devcon failed.

Thanks for the suggestions, and yes, of course I tried with root\something as well, as some of the examples used that. However it already was working the last time I tested it (I think with Windows 7....). And, thanks Doron, I will step into devcon with the debugger on the way to the beach, but currently I am not too keen to put additional work on top to find out why certain tools that used to work all of a sudden do stop. But as I think its a handy technique to match a driver against root for testing I will have a look as soon as the beach is calling... Thanks, Hagen.
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 02:27.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license