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.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 10  
14 Oct 15 09:53
Amit Shinde
xxxxxx@yahoo.com
Join Date: 19 Nov 2013
Posts To This List: 20
volume filter installation failed on Windows 2012 R2

Hi, I have KMDF volume filter driver implemented for Windows 2008 R2 using WDK 8.1. I used to use devcon utility to install it on Windows 7/2008 R2. I noticed devcon utility is failed to install the same binaries (built for Window8 Debug x64) on Windows 2012 R2. The devcon does not returned any error, following are the details I got from event viewer. Can't think of any reason why devcon is failing here. Could you please help me out? Devcon Output: C:\VolFltDriver Package>devcon.exe -r install VolFltDriver.inf Root\VolFltDriver Device node created. Install is complete when drivers are installed... Updating drivers for Root\VolFltDriver from C:\VolFltDriver Package\VolFltDriver.inf. devcon.exe failed. Event viewer Details: Fault bucket , type 0 Event Name: PnPDriverImportError Response: Not available Cab Id: 0 Problem signature: P1: x64 P2: E0000247 P3: volfltdriver.inf P4: 003bb7f47a620cf656b7074a5737fe3ce201f4ab Thanks, Amit
  Message 2 of 10  
14 Oct 15 14:00
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11487
volume filter installation failed on Windows 2012 R2

xxxxx@yahoo.com wrote: > I have KMDF volume filter driver implemented for Windows 2008 R2 using WDK 8.1. > > I used to use devcon utility to install it on Windows 7/2008 R2. I noticed devcon utility is failed to install the same binaries (built for Window8 Debug x64) on Windows 2012 R2. The devcon does not returned any error, following are the details I got from event viewer. Can't think of any reason why devcon is failing here. Could you please help me out? The obvious question is, are you running in an administrator command shell? Devcon requires administrator privileges. -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 3 of 10  
14 Oct 15 15:37
Maxim S. Shatskih
xxxxxx@storagecraft.com
Join Date: 20 Feb 2003
Posts To This List: 10395
volume filter installation failed on Windows 2012 R2

"devcon dp_add" is the way to add a driver package. <xxxxx@yahoo.com> wrote in message news:213442@ntdev... > Hi, >=20 > I have KMDF volume filter driver implemented for Windows 2008 R2 using = WDK 8.1. >=20 > I used to use devcon utility to install it on Windows 7/2008 R2. I = noticed devcon utility is failed to install the same binaries (built for = Window8 Debug x64) on Windows 2012 R2. The devcon does not returned any = error, following are the details I got from event viewer. Can't think of = any reason why devcon is failing here. Could you please help me out? >=20 > Devcon Output: > C:\VolFltDriver Package>devcon.exe -r install VolFltDriver.inf = Root\VolFltDriver > Device node created. Install is complete when drivers are installed... > Updating drivers for Root\VolFltDriver from C:\VolFltDriver = Package\VolFltDriver.inf. > devcon.exe failed. >=20 > Event viewer Details: > Fault bucket , type 0 > Event Name: PnPDriverImportError > Response: Not available > Cab Id: 0 > Problem signature: > P1: x64 > P2: E0000247 <...excess quoted lines suppressed...>
  Message 4 of 10  
14 Oct 15 16:20
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11487
volume filter installation failed on Windows 2012 R2

Maxim S. Shatskih wrote: > "devcon dp_add" is the way to add a driver package. Well, that depends on whether he actually intended to drive a device called Root\VolFltDriver, and clearly I should have asked that question to begin with. Volume filter drivers don't usually get installed with stock PnP INFs, do they? -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 5 of 10  
15 Oct 15 02:29
Amit Shinde
xxxxxx@yahoo.com
Join Date: 19 Nov 2013
Posts To This List: 20
volume filter installation failed on Windows 2012 R2

Thanks Tim and Maxim for the responses. The cmd shell invoke with administrator rights. I tried to use devcon dp_install but that failed too. This failure could be because of signing integrity check enforcement in Windows Server 2012 R2. I could fix this issue by turning ON the nointegritychecks flag using bcdedit. Its just that I had to reboot the system after setting this flag, later on I could install driver successfully using devcon. My volume filter is a boot start driver and devcon restarts the system after the installation. I have not mentioned anything about PnP in the INF file. Thanks, Amit Shinde
  Message 6 of 10  
15 Oct 15 09:25
Peter Viscarola (OSR)
xxxxxx@osr.com
Join Date:
Posts To This List: 5879
List Moderator
volume filter installation failed on Windows 2012 R2

You need to look at the install log. Check setupapi.dev.log in the \systemroot\inf directory... that should help you track down the reason the install is failing. Peter OSR @OSRDrivers
  Message 7 of 10  
16 Oct 15 05:00
Amit Shinde
xxxxxx@yahoo.com
Join Date: 19 Nov 2013
Posts To This List: 20
volume filter installation failed on Windows 2012 R2

Thanks Peter I could find setupapi.dev.log file. Earlier I tried to find setup api related files in \systemroot\ directory. The error looks specific to code integrity enforcement and that's why setting nointegritychecks to YES worked well. Setupapi.dev.log: Verifying file against specific (valid) catalog failed! (0x800b0109) Error 0x800b0109: A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. Driver package catalog file certificate does not belong to Trusted Root Certificates, and Code Integrity is enforced. Driver package failed signature validation. Error = 0xE0000247 Driver package import failed for device. Error 0xe0000247: A problem was encountered while attempting to add the driver to the store.
  Message 8 of 10  
16 Oct 15 13:07
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11487
volume filter installation failed on Windows 2012 R2

xxxxx@yahoo.com wrote: > Thanks Peter I could find setupapi.dev.log file. Earlier I tried to find setup api related files in \systemroot\ directory. > > The error looks specific to code integrity enforcement and that's why setting nointegritychecks to YES worked well. Right. This system has been configured to reject any drivers not signed by Microsoft. So, does that answer your question? -- Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 9 of 10  
19 Oct 15 05:52
Amit Shinde
xxxxxx@yahoo.com
Join Date: 19 Nov 2013
Posts To This List: 20
volume filter installation failed on Windows 2012 R2

Yes :). Thanks everyone for your responses.
  Message 10 of 10  
21 Oct 15 01:56
Amit Shinde
xxxxxx@yahoo.com
Join Date: 19 Nov 2013
Posts To This List: 20
volume filter installation failed on Windows 2012 R2

Yes :). Thanks everyone for your responses.
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 06:35.


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