Code 31 error

Hi all
I have developed a driver using the sample code from the ddk.When i load the driver it is giving code 31 error.It is asking to restart the system . I restarted the system . but no use.it is showing some yellow mark in the device manager for my driver . Below is my inf file

[Version]
Signature=“$Windows NT$”
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%SS_System%
CatalogFile=WUDF.cat
DriverVer=01/02/2012

[Manufacturer]
%SS_System%=sss,NTx86

[sss.NTx86]
%MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx
%MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx&Rev_xx

[SourceDisksNames]
2 = %MediaDescription%

[SSS_Install.NT]
CopyFiles=UMDriverCopy

[SSS_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[SSS_Install.NT.CoInstallers]
CopyFiles=CoInstallers_CopyFiles
AddReg=CoInstallers_AddReg

[SSS_Install.NT.Wdf]
UmdfService=ABC,SSS_Install
UmdfServiceOrder=ABC

[SourceDisksFiles]
Mydriver.dll=1
WudfUpdate_01009.dll=1

[SSS_Install]
UmdfLibraryVersion=1.9.0
ServiceBinary=%12%\UMDF\Mydriver.dll
DriverCLSID=“{56BN90ER-089B-1EE2-9581-C0KA3473817E}”

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = base

[CoInstallers_CopyFiles]
WudfUpdate_01009.dll

[CoInstallers_AddReg]
HKR,CoInstallers32,0x00010000,“WUDFUpdate_01009.dll”

[DestinationDirs]
UMDriverCopy=12,UMDF
CoInstallers_CopyFiles=14

[UMDriverCopy]
Mydriver.dll,0x0100

[Strings]
SS_System=“Test Driver”
MediaDescription=“Test Driver”
WudfRdDisplayName=“Windows Driver Foundation”
MyDeviceName=“MYDEVICE”

can anyone pls help me out. I have few queries regarding the inf file . I read MSDN documentation in the following link
http://msdn.microsoft.com/en-us/library/windows/hardware/ff554438(v=vs.85).aspx

where it is mentioned that unique service name should not be specified for reflector driver for operating systems earlier than Window8 preview.I am using Windows 7.does it creates a problem?
And also in the inf file CoInstallers_CopyFiles=14 is given . But 14 is never referenced in inf file anymore.is that correct or am i missing something?

One more thing that i am really confused is with the “LoadOrderGroup”.I could not see any proper documentation for this particular section of inf file . In some inf s it is mentioned that
LoadOrderGroup = base
LoadOrderGroup = extended base
LoadOrderGroup = pointer port
What exact value for LoadOrderGroup should i use in my inf

The driver loads in another system , ie i have two Windows 7 systems with equal configuration.In one system the driver is loading fine without any error.But in another system it is failing :frowning: . What may be the reason?

I thought it may be the reason related to linking some of the dlls in the non working system . i tried dumpbin command and i got the following messages

Debug Directories

Type Size RVA Pointer


cv A0 000015B8 9B8 Format: RSDS

Section contains the following exports for Mydriver.dll

0 characteristics
4F639D1A time date stamp Sat Mar 17 01:35:46 2012
0.00 version
1 ordinal base
2 number of functions
2 number of names

ordinal hint RVA name

1 0 00001CA0 DllGetClassObject
2 1 0000A000 Microsoft_WDF:UMDF_Version

Section contains the following imports:

msvcrt.dll
10001070 Import Address Table
1000973C Import Name Table
0 time date stamp
0 Index of first forwarder reference

2EB _onexit
242 _lock
8D __dllonexit
3A6 _unlock
159 _except_handler4_common
101 _amsg_exit
1D5 _initterm
6A _XcptFilter
569 wcstombs
4A6 free
4DE malloc
12 ??xxxxx@YAPAXI@Z
4EE memset
4EA memcpy
29 ??xxxxx@YAPAXI@Z
2FC _purecall
14 ??xxxxx@YAXPAX@Z

KERNEL32.dll
1000101C Import Address Table
100096E8 Import Name Table
0 time date stamp
0 Index of first forwarder reference

342 Sleep
336 SetUnhandledExceptionFilter
35B UnhandledExceptionFilter
13B GetCurrentProcess
34A TerminateProcess
1C0 GetSystemTimeAsFileTime
13C GetCurrentProcessId
13E GetCurrentThreadId
1D4 GetTickCount
294 QueryPerformanceCounter
89 DisableThreadLibraryCalls
7F DeleteCriticalSection
299 RaiseException
218 InitializeCriticalSection
220 InterlockedIncrement
21C InterlockedDecrement
96 EnterCriticalSection
243 LeaveCriticalSection
21D InterlockedExchange
21B InterlockedCompareExchange

ADVAPI32.dll
10001000 Import Address Table
100096CC Import Name Table
0 time date stamp
0 Index of first forwarder reference

11B GetTraceEnableLevel
11C GetTraceLoggerHandle
208 RegisterTraceGuidsW
27A UnregisterTraceGuids
271 TraceMessage
11A GetTraceEnableFlags

ole32.dll
100010B8 Import Address Table
10009784 Import Name Table
0 time date stamp
0 Index of first forwarder reference

10 CoCreateInstance

Have you run the INF through ChkINF and fixed all the errors and
warnings? Since this is obviously a hacked INF to hide the identity of
the product we can’t do it.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@gmail.com” wrote in message
news:xxxxx@ntdev:

> Hi all
> I have developed a driver using the sample code from the ddk.When i load the driver it is giving code 31 error.It is asking to restart the system . I restarted the system . but no use.it is showing some yellow mark in the device manager for my driver . Below is my inf file
>
>
>
> [Version]
> Signature=“$Windows NT$”
> Class=HIDClass
> ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
> Provider=%SS_System%
> CatalogFile=WUDF.cat
> DriverVer=01/02/2012
>
> [Manufacturer]
> %SS_System%=sss,NTx86
>
> [sss.NTx86]
> %MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx
> %MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx&Rev_xx
>
>
> [SourceDisksNames]
> 2 = %MediaDescription%
>
> [SSS_Install.NT]
> CopyFiles=UMDriverCopy
>
> [SSS_Install.NT.Services]
> AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall
>
> [SSS_Install.NT.CoInstallers]
> CopyFiles=CoInstallers_CopyFiles
> AddReg=CoInstallers_AddReg
>
> [SSS_Install.NT.Wdf]
> UmdfService=ABC,SSS_Install
> UmdfServiceOrder=ABC
>
> [SourceDisksFiles]
> Mydriver.dll=1
> WudfUpdate_01009.dll=1
>
> [SSS_Install]
> UmdfLibraryVersion=1.9.0
> ServiceBinary=%12%\UMDF\Mydriver.dll
> DriverCLSID=“{56BN90ER-089B-1EE2-9581-C0KA3473817E}”
>
>
>
> [WUDFRD_ServiceInstall]
> DisplayName = %WudfRdDisplayName%
> ServiceType = 1
> StartType = 3
> ErrorControl = 1
> ServiceBinary = %12%\WUDFRd.sys
> LoadOrderGroup = base
>
>
> [CoInstallers_CopyFiles]
> WudfUpdate_01009.dll
>
> [CoInstallers_AddReg]
> HKR,CoInstallers32,0x00010000,“WUDFUpdate_01009.dll”
>
> [DestinationDirs]
> UMDriverCopy=12,UMDF
> CoInstallers_CopyFiles=14
>
> [UMDriverCopy]
> Mydriver.dll,0x0100
>
> [Strings]
> SS_System=“Test Driver”
> MediaDescription=“Test Driver”
> WudfRdDisplayName=“Windows Driver Foundation”
> MyDeviceName=“MYDEVICE”
>
>
> can anyone pls help me out. I have few queries regarding the inf file . I read MSDN documentation in the following link
> http://msdn.microsoft.com/en-us/library/windows/hardware/ff554438(v=vs.85).aspx
>
> where it is mentioned that unique service name should not be specified for reflector driver for operating systems earlier than Window8 preview.I am using Windows 7.does it creates a problem?
> And also in the inf file CoInstallers_CopyFiles=14 is given . But 14 is never referenced in inf file anymore.is that correct or am i missing something?
>
> One more thing that i am really confused is with the “LoadOrderGroup”.I could not see any proper documentation for this particular section of inf file . In some inf s it is mentioned that
> LoadOrderGroup = base
> LoadOrderGroup = extended base
> LoadOrderGroup = pointer port
> What exact value for LoadOrderGroup should i use in my inf
>
> The driver loads in another system , ie i have two Windows 7 systems with equal configuration.In one system the driver is loading fine without any error.But in another system it is failing :frowning: . What may be the reason?
>
> I thought it may be the reason related to linking some of the dlls in the non working system . i tried dumpbin command and i got the following messages
>
> Debug Directories
>
> Type Size RVA Pointer
> ------ -------- -------- --------
> cv A0 000015B8 9B8 Format: RSDS
>
> Section contains the following exports for Mydriver.dll
>
> 0 characteristics
> 4F639D1A time date stamp Sat Mar 17 01:35:46 2012
> 0.00 version
> 1 ordinal base
> 2 number of functions
> 2 number of names
>
> ordinal hint RVA name
>
> 1 0 00001CA0 DllGetClassObject
> 2 1 0000A000 Microsoft_WDF:UMDF_Version
>
> Section contains the following imports:
>
> msvcrt.dll
> 10001070 Import Address Table
> 1000973C Import Name Table
> 0 time date stamp
> 0 Index of first forwarder reference
>
> 2EB _onexit
> 242 _lock
> 8D __dllonexit
> 3A6 _unlock
> 159 _except_handler4_common
> 101 _amsg_exit
> 1D5 _initterm
> 6A _XcptFilter
> 569 wcstombs
> 4A6 free
> 4DE malloc
> 12 ??xxxxx@YAPAXI@Z
> 4EE memset
> 4EA memcpy
> 29 ??xxxxx@YAPAXI@Z
> 2FC _purecall
> 14 ??xxxxx@YAXPAX@Z
>
> KERNEL32.dll
> 1000101C Import Address Table
> 100096E8 Import Name Table
> 0 time date stamp
> 0 Index of first forwarder reference
>
> 342 Sleep
> 336 SetUnhandledExceptionFilter
> 35B UnhandledExceptionFilter
> 13B GetCurrentProcess
> 34A TerminateProcess
> 1C0 GetSystemTimeAsFileTime
> 13C GetCurrentProcessId
> 13E GetCurrentThreadId
> 1D4 GetTickCount
> 294 QueryPerformanceCounter
> 89 DisableThreadLibraryCalls
> 7F DeleteCriticalSection
> 299 RaiseException
> 218 InitializeCriticalSection
> 220 InterlockedIncrement
> 21C InterlockedDecrement
> 96 EnterCriticalSection
> 243 LeaveCriticalSection
> 21D InterlockedExchange
> 21B InterlockedCompareExchange
>
> ADVAPI32.dll
> 10001000 Import Address Table
> 100096CC Import Name Table
> 0 time date stamp
> 0 Index of first forwarder reference
>
> 11B GetTraceEnableLevel
> 11C GetTraceLoggerHandle
> 208 RegisterTraceGuidsW
> 27A UnregisterTraceGuids
> 271 TraceMessage
> 11A GetTraceEnableFlags
>
> ole32.dll
> 100010B8 Import Address Table
> 10009784 Import Name Table
> 0 time date stamp
> 0 Index of first forwarder reference
>
> 10 CoCreateInstance

Hi Don
Thanks for the reply. I have used ChkINF and found 3 errors and 4 warnings . I have fixed it and ran the ChkINF once again and found no errors . Below is my updated inf

[Version]
Signature=“$Windows NT$”
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%SS_System%
CatalogFile=WUDF.cat
DriverVer=01/02/2012,6.1.7600.16385

[Manufacturer]
%SS_System%=sss,NTx86

[sss.NTx86]
%MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx
%MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx&MI_xx

[SourceDisksFiles]
Mydriver.dll=1
WudfUpdate_01009.dll=1

[SourceDisksNames]
1 = %MediaDescription%

[SSS_Install.NT]
CopyFiles=UMDriverCopy

[SSS_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[SSS_Install.NT.CoInstallers]
CopyFiles=CoInstallers_CopyFiles
AddReg=CoInstallers_AddReg

[SSS_Install.NT.Wdf]
UmdfService=ABC,SSS_Install_Drv
UmdfServiceOrder=ABC

[SSS_Install_Drv]
UmdfLibraryVersion=1.9.0
ServiceBinary=%12%\UMDF\Mydriver.dll
DriverCLSID=“{3C7ED8A3-2440-494f-9339-80D1AB0DE0CF}”

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = base

[CoInstallers_CopyFiles]
WudfUpdate_01009.dll

[CoInstallers_AddReg]
HKR,CoInstallers32,0x00010000,“WUDFUpdate_01009.dll”

[DestinationDirs]
UMDriverCopy=12,UMDF
CoInstallers_CopyFiles=11

[UMDriverCopy]
Mydriver.dll

[Strings]
SS_System=“Test Driver”
MediaDescription=“Test Driver”
WudfRdDisplayName=“Windows Driver Foundation”
MyDeviceName=“MYDEVICE”

I am confused how this driver works in one system and fails in other ?

Fix the warnings if you can also. I have found that cases of the work
on one system and not another may well show up as warnings. Beyond that
run the install with Setup API logging turned on, and take the log
(editing to protect identity) and post it here. Also, consider using
system restore to rollback to prior to your attempts, once you fail
things may not be clean.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@gmail.com” wrote in message
news:xxxxx@ntdev:

> Hi Don
> Thanks for the reply. I have used ChkINF and found 3 errors and 4 warnings . I have fixed it and ran the ChkINF once again and found no errors . Below is my updated inf
>
>
>
> [Version]
> Signature=“$Windows NT$”
> Class=HIDClass
> ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
> Provider=%SS_System%
> CatalogFile=WUDF.cat
> DriverVer=01/02/2012,6.1.7600.16385
>
> [Manufacturer]
> %SS_System%=sss,NTx86
>
> [sss.NTx86]
> %MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx
> %MyDeviceName%=SSS_Install,HID\VID_xxxx&PID_xxxx&MI_xx
>
>
> [SourceDisksFiles]
> Mydriver.dll=1
> WudfUpdate_01009.dll=1
>
> [SourceDisksNames]
> 1 = %MediaDescription%
>
> [SSS_Install.NT]
> CopyFiles=UMDriverCopy
>
> [SSS_Install.NT.Services]
> AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall
>
> [SSS_Install.NT.CoInstallers]
> CopyFiles=CoInstallers_CopyFiles
> AddReg=CoInstallers_AddReg
>
> [SSS_Install.NT.Wdf]
> UmdfService=ABC,SSS_Install_Drv
> UmdfServiceOrder=ABC
>
>
>
> [SSS_Install_Drv]
> UmdfLibraryVersion=1.9.0
> ServiceBinary=%12%\UMDF\Mydriver.dll
> DriverCLSID=“{3C7ED8A3-2440-494f-9339-80D1AB0DE0CF}”
>
>
>
> [WUDFRD_ServiceInstall]
> DisplayName = %WudfRdDisplayName%
> ServiceType = 1
> StartType = 3
> ErrorControl = 1
> ServiceBinary = %12%\WUDFRd.sys
> LoadOrderGroup = base
>
>
> [CoInstallers_CopyFiles]
> WudfUpdate_01009.dll
>
> [CoInstallers_AddReg]
> HKR,CoInstallers32,0x00010000,“WUDFUpdate_01009.dll”
>
> [DestinationDirs]
> UMDriverCopy=12,UMDF
> CoInstallers_CopyFiles=11
>
> [UMDriverCopy]
> Mydriver.dll
>
> [Strings]
> SS_System=“Test Driver”
> MediaDescription=“Test Driver”
> WudfRdDisplayName=“Windows Driver Foundation”
> MyDeviceName=“MYDEVICE”
>
>
> I am confused how this driver works in one system and fails in other ?

i’m insecure…

What is with UmdfLibraryVersion=…
I think you are need “KmdfService” and “KmdfLibraryVersion”
And “WUDFUpdate_01009.dll”??
For kernal driver you are need “WdfCoInstaller01009.dll”

kBrause

Except this is a UMDF driver.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@t-online.de” wrote in
message news:xxxxx@ntdev:

> i’m insecure…
>
> What is with UmdfLibraryVersion=…
> I think you are need “KmdfService” and “KmdfLibraryVersion”
> And “WUDFUpdate_01009.dll”??
> For kernal driver you are need “WdfCoInstaller01009.dll”
>
> kBrause

Hi Kurt
I am using User mode driver not kernel mode driver

Hi Don
I have cleared the warnings in inf file , but still i am facing the same problem.Below is my setup API log file

[Device Install Log]
OS Version = 6.1.7600
Service Pack = 0.0
Suite = 0x0100
ProductType = 1
Architecture = x86

[BeginLog]

[Boot Session: 2012/03/17 11:59:43.375]

>> [Device Install (DiShowUpdateDevice) - HID\VID_xxxx&PID_yyyy&MI_03\7&2E66EC69&1&0000]
>> Section start 2012/03/17 20:18:36.455
cmd: “C:\Windows\system32\mmc.exe” “C:\Windows\system32\devmgmt.msc”
dvi: {DIF_UPDATEDRIVER_UI} 20:18:36.458
dvi: No class installer for ‘HID-compliant device’
dvi: No CoInstallers found
dvi: Default installer: Enter 20:18:36.464
dvi: Default installer: Exit
dvi: {DIF_UPDATEDRIVER_UI - exit(0xe000020e)} 20:18:36.465
ndv: {Update Driver Software Wizard for HID\VID_xxxx&PID_yyyy&MI_03\7&2E66EC69&1&0000}
dvi: Set selected driver complete.
dvi: {DIF_SELECTDEVICE} 20:18:37.519
dvi: No class installer for ‘HID-compliant device’
dvi: {DIF_SELECTDEVICE - exit(0xe000020e)} 20:18:37.522
ui : Prompting user for disk…
ui : DPROMPT result = 0
dvi: {DIF_SELECTDEVICE} 20:18:41.811
dvi: No class installer for ‘HID-compliant device’
dvi: {DIF_SELECTDEVICE - exit(0xe000020e)} 20:18:41.814
inf: {SetupCopyOEMInf: c:\users\desktop\load\load_x32\test.inf} 20:18:42.624
sto: {Import Driver Package: c:\users\desktop\load\load_x32\test.inf} 20:18:42.629
sto: Importing driver package into Driver Store:
sto: Driver Store = C:\Windows\System32\DriverStore (Online | 6.1.7600)
sto: Driver Package = c:\users\desktop\load\load_x32\test.inf
sto: Architecture = x86
sto: Locale Name = neutral
sto: Flags = 0x00000000
sto: Copying driver package files to ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’.
inf: Opened INF: ‘c:\users\desktop\load\load_x32\test.inf’ ([strings])
inf: Opened INF: ‘c:\users\desktop\load\load_x32\test.inf’ ([strings])
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘c:\users\desktop\load\load_x32’
flq: SourceFilename - ‘test.inf’
flq: TargetDirectory- ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘c:\users\desktop\load\load_x32’
flq: SourceFilename - ‘WudfUpdate_01009.dll’
flq: TargetDirectory- ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘c:\users\desktop\load\load_x32’
flq: SourceFilename - ‘MyDriver.dll’
flq: TargetDirectory- ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [c:\users\desktop\load\load_x32]
flq: SourceFile - [test.inf]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: ‘c:\users\desktop\load\load_x32\test.inf’
flq: to: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\SETDAA1.tmp’
flq: MoveFile: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\SETDAA1.tmp’
flq: to: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\test.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘c:\users\desktop\load\load_x32\WudfUpdate_01009.dll’
flq: to: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\SETDAB2.tmp’
flq: MoveFile: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\SETDAB2.tmp’
flq: to: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\WudfUpdate_01009.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘c:\users\desktop\load\load_x32\MyDriver.dll’
flq: to: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\SETDAB3.tmp’
flq: MoveFile: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\SETDAB3.tmp’
flq: to: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\MyDriver.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
pol: {Driver package policy check} 20:18:42.730
pol: {Driver package policy check - exit(0x00000000)} 20:18:42.731
sto: {Stage Driver Package: C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\test.inf} 20:18:42.731
inf: Opened INF: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\test.inf’ ([strings])
inf: Opened INF: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\test.inf’ ([strings])
sto: Copying driver package files:
sto: Source Path = C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}
sto: Destination Path = C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’
flq: SourceFilename - ‘test.inf’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’
flq: SourceFilename - ‘WudfUpdate_01009.dll’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000010
flq: SourceRootPath - ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}’
flq: SourceFilename - ‘MyDriver.dll’
flq: TargetDirectory- ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=3
flq: {_commit_copy_subqueue}
flq: subqueue count=3
flq: source media:
flq: SourcePath - [C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}]
flq: SourceFile - [test.inf]
flq: Flags - 0x00000000
flq: {_commit_copyfile}
flq: CopyFile: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\test.inf’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\SETDB0B.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\SETDB0B.tmp’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\test.inf’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\WudfUpdate_01009.dll’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\SETDB1C.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\SETDB1C.tmp’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\WudfUpdate_01009.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copyfile}
flq: CopyFile: ‘C:\Users\AppData\Local\Temp{02c633c4-89ec-4c1d-ea0c-fc05f26c5d5c}\MyDriver.dll’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\SETDB1D.tmp’
flq: MoveFile: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\SETDB1D.tmp’
flq: to: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\MyDriver.dll’
flq: {_commit_copyfile exit OK}
flq: {_commit_copy_subqueue exit OK}
flq: {_commit_file_queue exit OK}
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE} 20:18:42.802
! sto: Driver package does not contain a catalog file, but user wants to install anyway.
sto: {DRIVERSTORE_IMPORT_NOTIFY_VALIDATE exit(0x00000000)} 20:18:43.522
sto: Verified driver package signature:
sto: Digital Signer Score = 0xFF000000
sto: Digital Signer Name =
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN} 20:18:43.525
inf: Opened INF: ‘C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}\test.inf’ ([strings])
sto: Create system restore point:
sto: Description = Device Driver Package Install: SS_System(WDF:UMDF) Human Interface Devices
sto: Time = 6801ms
sto: Status = 0x00000000 (SUCCESS)
sto: {DRIVERSTORE_IMPORT_NOTIFY_BEGIN: exit(0x00000000)} 20:18:50.337
sto: Importing driver package files:
sto: Source Path = C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}
sto: Destination Path = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032
sto: {Copy Directory: C:\Windows\System32\DriverStore\Temp{71eb8890-5182-32c1-042d-ab3c8709d170}} 20:18:50.346
sto: Target Path = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032
sto: {Copy Directory: exit(0x00000000)} 20:18:50.353
sto: {Index Driver Package: C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf} 20:18:50.354
idb: Registered driver store entry ‘test.inf_x86_neutral_3ebdc1da01cff032’.
idb: Published ‘test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ to ‘C:\Windows\INF\oem94.inf’
idb: Published driver store entry ‘test.inf_x86_neutral_3ebdc1da01cff032’.
sto: Published driver package INF ‘oem94.inf’ was changed.
sto: Active published driver package is ‘test.inf_x86_neutral_3ebdc1da01cff032’.
sto: {Index Driver Package: exit(0x00000000)} 20:18:51.005
sto: {DRIVERSTORE_IMPORT_NOTIFY_END} 20:18:51.006
sto: Commit system restore point:
sto: Description = Device Driver Package Install: SS_System(WDF:UMDF) Human Interface Devices
sto: Time = 0ms
sto: Status = 0x00000000 (SUCCESS)
sto: {DRIVERSTORE_IMPORT_NOTIFY_END: exit(0x00000000)} 20:18:51.012
sto: {Stage Driver Package: exit(0x00000000)} 20:18:51.135
ndv: Doing device matching lookup!
inf: Opened INF: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
inf: Saved PNF: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.PNF’ (Language = 0409)
sto: Driver package was staged to Driver Store. Time = 8549 ms
sto: Imported driver package into Driver Store:
sto: Filename = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
sto: Time = 8830 ms
sto: {Import Driver Package: exit(0x00000000)} 20:18:51.455
inf: Opened INF: ‘c:\users\desktop\load\load_x32\test.inf’ ([strings])
inf: Driver Store location: C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
inf: Published Inf Path: C:\Windows\INF\oem94.inf
inf: Opened INF: ‘c:\users\desktop\load\load_x32\test.inf’ ([strings])
inf: Installing catalog WUDF.cat as: oem94.CAT
! inf: Failed to install catalog - error ignored
! inf: Error 2: The system cannot find the file specified.
inf: OEM source media location: c:\users\desktop\load\load_x32<br> inf: {SetupCopyOEMInf exit (0x00000000)} 20:18:51.770
dvi: Searching for hardware ID(s):
dvi: hid\VID_xxxx&PID_yyyy&rev_0203&mi_03
dvi: hid\VID_xxxx&PID_yyyy&mi_03
dvi: hid_device_up:ff00_u:0001
dvi: hid_device
inf: Opened PNF: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 20:18:51.777
sig: Key = test.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
sig: Catalog = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\WUDF.cat
! sig: Verifying file against specific (valid) catalog failed! (0x00000057)
! sig: Error 87: The parameter is incorrect.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000057)} 20:18:51.780
sig: {_VERIFY_FILE_SIGNATURE} 20:18:51.780
sig: Key = test.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
sig: Catalog = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\WUDF.cat
! sig: Verifying file against specific Authenticode™ catalog failed! (0x80092003)
! sig: Error 0x80092003: An error occurred while reading or writing to a file.
sig: {_VERIFY_FILE_SIGNATURE exit(0x80092003)} 20:18:51.783
dvi: Selected driver installs from section [SSS_Install] in ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’.
dvi: Class GUID of device remains: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}.
dvi: Set selected driver complete.
dvi: {Plug and Play Service: Device Install for HID\VID_xxxx&PID_yyyy&MI_03\7&2E66EC69&1&0000}
ump: Creating Install Process: DrvInst.exe 20:18:51.803
ndv: Infpath=C:\Windows\INF\oem94.inf
ndv: DriverNodeName=test.inf:TI.NTx86:SSS_Install:6.1.7600.16385:hid\VID_xxxx&PID_yyyy&mi_03
ndv: DriverStorepath=C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
ndv: Building driver list from driver node strong name…
dvi: Searching for hardware ID(s):
dvi: hid\VID_xxxx&PID_yyyy&rev_0203&mi_03
dvi: hid\VID_xxxx&PID_yyyy&mi_03
dvi: hid_device_up:ff00_u:0001
dvi: hid_device
inf: Opened PNF: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
sig: {_VERIFY_FILE_SIGNATURE} 20:18:51.927
sig: Key = test.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
sig: Catalog = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\WUDF.cat
! sig: Verifying file against specific (valid) catalog failed! (0x00000057)
! sig: Error 87: The parameter is incorrect.
sig: {_VERIFY_FILE_SIGNATURE exit(0x00000057)} 20:18:51.943
sig: {_VERIFY_FILE_SIGNATURE} 20:18:51.943
sig: Key = test.inf
sig: FilePath = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf
sig: Catalog = C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\WUDF.cat
! sig: Verifying file against specific Authenticode™ catalog failed! (0x80092003)
! sig: Error 0x80092003: An error occurred while reading or writing to a file.
sig: {_VERIFY_FILE_SIGNATURE exit(0x80092003)} 20:18:51.945
dvi: Selected driver installs from section [SSS_Install] in ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’.
dvi: Class GUID of device remains: {745a17a0-74d3-11d0-b6fe-00a0c90f57da}.
dvi: Set selected driver complete.
ndv: {Core Device Install} 20:18:51.950
inf: Opened INF: ‘C:\Windows\INF\oem94.inf’ ([strings])
inf: Saved PNF: ‘C:\Windows\INF\oem94.PNF’ (Language = 0409)
dvi: {DIF_ALLOW_INSTALL} 20:18:51.970
dvi: No class installer for ‘MYDEVICE’
dvi: No CoInstallers found
dvi: Default installer: Enter 20:18:51.971
dvi: Default installer: Exit
dvi: {DIF_ALLOW_INSTALL - exit(0xe000020e)} 20:18:51.972
ndv: Installing files…
dvi: {DIF_INSTALLDEVICEFILES} 20:18:51.974
dvi: No class installer for ‘MYDEVICE’
dvi: Default installer: Enter 20:18:51.976
dvi: {Install FILES}
inf: Opened PNF: ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
inf: {Install Inf Section [SSS_Install.NT]}
inf: CopyFiles=UMDriverCopy (test.inf line 34)
cpy: Open PnpLockdownPolicy: Err=2. This is OK. Use LockDownPolicyDefault
flq: QueueSingleCopy…
flq: Inf : ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’
flq: SourceInf: ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’
flq: SourceSection: [sourcedisksfiles]
flq: Source root path based on SourceInf
flq: SourceRootPath: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032’
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032’
flq: SourceFilename - ‘MyDriver.dll’
flq: TargetDirectory- ‘C:\Windows\system32\DRIVERS\UMDF’
flq: TargetFilename - ‘MyDriver.dll’
flq: SourceDesc - ‘SS_System Installation Media’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY exit(0x00000000)}
inf: {Install Inf Section [SSS_Install.NT] exit (0x00000000)}
dvi: Processing co-installer registration section [SSS_Install.NT.CoInstallers].
inf: {Install Inf Section [SSS_Install.NT.CoInstallers]}
inf: CopyFiles=CoInstallers_CopyFiles (test.inf line 43)
flq: QueueSingleCopy…
flq: Inf : ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’
flq: SourceInf: ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’
flq: SourceSection: [sourcedisksfiles]
flq: Source root path based on SourceInf
flq: SourceRootPath: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032’
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: {FILE_QUEUE_COPY}
flq: CopyStyle - 0x00000000
flq: SourceRootPath - ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032’
flq: SourceFilename - ‘WudfUpdate_01009.dll’
flq: TargetDirectory- ‘C:\Windows\system32’
flq: TargetFilename - ‘WudfUpdate_01009.dll’
flq: SourceDesc - ‘SS_System Installation Media’
flq: {FILE_QUEUE_COPY exit(0x00000000)}
flq: {FILE_QUEUE_COPY exit(0x00000000)}
inf: {Install Inf Section [SSS_Install.NT.CoInstallers] exit (0x00000000)}
dvi: Co-installers registered.
dvi: {Install INTERFACES}
dvi: Installing section [SSS_Install.NT.Interfaces]
dvi: {Install INTERFACES exit 00000000}
dvi: {Install FILES exit (0x00000000)}
dvi: Default installer: Exit
dvi: {DIF_INSTALLDEVICEFILES - exit(0x00000000)} 20:18:52.003
ndv: Pruning file queue…
dvi: {_SCAN_FILE_QUEUE}
flq: ScanQ flags=620
flq: SPQ_SCAN_PRUNE_COPY_QUEUE
flq: SPQ_SCAN_FILE_COMPARISON
flq: SPQ_SCAN_ACTIVATE_DRP
flq: ScanQ number of copy nodes=2
flq: File ‘C:\Windows\system32\WudfUpdate_01009.dll’ pruned from copy.
cpy: DrpSetRegFileProt ‘C:\Windows\system32\WudfUpdate_01009.dll’ Status=0 Class=OEM Legacy
flq: ScanQ action=200 DoPruning=32
flq: ScanQ end Validity flags=620 CopyNodes=1
dvi: {_SCAN_FILE_QUEUE exit(0, 0x00000000)}
ndv: Committing file queue…
flq: {_commit_file_queue}
flq: CommitQ DelNodes=0 RenNodes=0 CopyNodes=1
flq: {SPFILENOTIFY_STARTQUEUE}
flq: {SPFILENOTIFY_STARTQUEUE - exit(0x00000001)}
flq: {_commit_copy_subqueue}
flq: subqueue count=1
flq: {SPFILENOTIFY_STARTSUBQUEUE}
flq: {SPFILENOTIFY_STARTSUBQUEUE - exit(0x00000001)}
flq: source media:
flq: Description - [SS_System Installation Media]
flq: SourcePath - [C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032]
flq: SourceFile - [MyDriver.dll]
flq: Flags - 0x00000000
flq: {SPFQNOTIFY_NEEDMEDIA}
flq: {SPFILENOTIFY_NEEDMEDIA}
flq: {SPFILENOTIFY_NEEDMEDIA - exit(0x00000001)}
flq: {SPFQNOTIFY_NEEDMEDIA - returned 0x00000001}
flq: source media: SPFQOPERATION_DOIT
flq: {_commit_copyfile}
flq: {SPFILENOTIFY_STARTCOPY}
ndv: Saving LastKnownGood file C:\Windows\system32\DRIVERS\UMDF\MyDriver.dll (copy)
flq: {SPFILENOTIFY_STARTCOPY - exit(0x00000001)}
flq: CopyFile: ‘C:\Windows\System32\DriverStore\FileRepository\test.inf_x86_neutral_3ebdc1da01cff032\MyDriver.dll’
flq: to: ‘C:\Windows\system32\DRIVERS\UMDF\SETFF4D.tmp’
cpy: CopyFile Drp is active
cpy: Source File ‘C:\Windows\system32\DRIVERS\UMDF\SETFF4D.tmp’ is NOT signed NT5 Crypto.
cpy: DrpGetFileProt Status=0 dwClass=5
flq: MoveFile: ‘C:\Windows\system32\DRIVERS\UMDF\SETFF4D.tmp’
flq: to: ‘C:\Windows\system32\DRIVERS\UMDF\MyDriver.dll’
cpy: DrpSetRegFileProt ‘C:\Windows\system32\DRIVERS\UMDF\MyDriver.dll’ Status=0 Class=OEM Legacy
flq: Caller applied security to file ‘C:\Windows\system32\DRIVERS\UMDF\MyDriver.dll’.
flq: {SPFILENOTIFY_ENDCOPY}
flq: {SPFILENOTIFY_ENDCOPY - exit(0x00000001)}
flq: {_commit_copyfile exit OK}
flq: {SPFILENOTIFY_ENDSUBQUEUE}
flq: {SPFILENOTIFY_ENDSUBQUEUE - exit(0x00000001)}
flq: {_commit_copy_subqueue exit OK}
flq: {SPFILENOTIFY_ENDQUEUE}
flq: {SPFILENOTIFY_ENDQUEUE - exit(0x00000001)}
flq: {_commit_file_queue exit OK}
ndv: Registering CoInstallers…
dvi: {DIF_REGISTER_COINSTALLERS} 20:18:52.062
dvi: No class installer for ‘MYDEVICE’
dvi: Default installer: Enter 20:18:52.064
inf: Opened PNF: ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
inf: {Install Inf Section [SSS_Install.NT.CoInstallers]}
inf: AddReg=CoInstallers_AddReg (test.inf line 44)
inf: {Install Inf Section [SSS_Install.NT.CoInstallers] exit (0x00000000)}
dvi: Co-installers registered.
dvi: Default installer: Exit
dvi: {DIF_REGISTER_COINSTALLERS - exit(0x00000000)} 20:18:52.071
ndv: Installing interfaces…
dvi: {DIF_INSTALLINTERFACES} 20:18:52.072
dvi: No class installer for ‘MYDEVICE’
dvi: Using exported function ‘CoDeviceInstall’ in module ‘C:\Windows\system32\WUDFUpdate_01009.dll’.
dvi: CoInstaller 1 == WUDFUpdate_01009.dll
dvi: CoInstaller 1: Enter 20:18:52.075
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 20:18:52.076
dvi: {Install INTERFACES}
inf: Opened PNF: ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
dvi: Installing section [SSS_Install.NT.Interfaces]
dvi: {Install INTERFACES exit 00000000}
dvi: Default installer: Exit
dvi: {DIF_INSTALLINTERFACES - exit(0x00000000)} 20:18:52.079
ndv: Installing device…
dvi: {DIF_INSTALLDEVICE} 20:18:52.080
dvi: No class installer for ‘MYDEVICE’
dvi: CoInstaller 1: Enter 20:18:52.081
inf: Opened PNF: ‘C:\Windows\INF\oem94.inf’ ([strings])
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 20:18:54.850
dvi: {Install DEVICE}
inf: Opened PNF: ‘c:\windows\system32\driverstore\filerepository\test.inf_x86_neutral_3ebdc1da01cff032\test.inf’ ([strings])
dvi: Processing Registry/Property directives…
inf: {Install Inf Section [SSS_Install.NT]}
inf: {Install Inf Section [SSS_Install.NT] exit (0x00000000)}
inf: {Install Inf Section [SSS_Install.NT.Hw]}
inf: Empty section
inf: {Install Inf Section [SSS_Install.NT.Hw] exit (0x00000000)}
dvi: {Writing Device Properties}
dvi: Provider name=SS_System(WDF:UMDF)
dvi: DriverDate 02/02/2012
dvi: DriverVersion=6.1.7600.16385
dvi: Class name=HIDClass
dvi: Manufacturer=SS_System(WDF:UMDF)
dvi: Matching DeviceID=hid\VID_xxxx&PID_yyyy&mi_03
dvi: Strong Name=oem94.inf:TI.NTx86:SSS_Install:6.1.7600.16385:hid\VID_xxxx&PID_yyyy&mi_03
dvi: {Writing Device Properties - Complete}
inf: {Install Inf Section [SSS_Install.NT.Services]}
inf: AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall (test.inf line 40)
inf: ServiceType=1 (test.inf line 61)
inf: StartType=3 (test.inf line 62)
inf: ErrorControl=1 (test.inf line 63)
inf: ServiceBinary=C:\Windows\system32\DRIVERS\WUDFRd.sys (test.inf line 64)
inf: LoadOrderGroup=base (test.inf line 65)
dvi: Add Service: Modified existing service ‘WUDFRd’.
inf: {Install Inf Section [SSS_Install.NT.Services] exit(0x00000000)}
dvi: Updated reflected section names for: oem94.inf
dvi: {Install DEVICE exit (0x00000000)}
dvi: Writing common driver property settings.
dvi: DriverDescription=MYDEVICE
dvi: DeviceDisplayName=MYDEVICE
dvi: {Restarting Devices} 20:18:55.462
dvi: Query-remove: HID\VID_xxxx&PID_yyyy&MI_03\7&2E66EC69&1&0000
dvi: Query-remove complete
dvi: Restart: HID\VID_xxxx&PID_yyyy&MI_03\7&2E66EC69&1&0000
dvi: Restart complete.
! dvi: Device ‘HID\VID_xxxx&PID_yyyy&MI_03\7&2E66EC69&1&0000’ required reboot: Device has problem: 0x1f: CM_PROB_FAILED_ADD.
dvi: {Restarting Devices exit} 20:18:55.670
dvi: Default installer: Exit
dvi: CoInstaller 1: Enter (Post Processing) 20:18:55.671
dvi: CoInstaller 1: Exit (Post Processing)
dvi: {DIF_INSTALLDEVICE - exit(0x00000000)} 20:18:55.754
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 20:18:55.755
dvi: No class installer for ‘MYDEVICE’
dvi: CoInstaller 1: Enter 20:18:55.759
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 20:18:55.760
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 20:18:55.761
ndv: Device install status=0x00000000
ndv: Performing device install final cleanup…
ndv: {Core Device Install - exit(0x00000000)} 20:18:55.764
dvi: {DIF_DESTROYPRIVATEDATA} 20:18:55.764
dvi: CoInstaller 1: Enter 20:18:55.765
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 20:18:55.765
dvi: Default installer: Exit
dvi: {DIF_DESTROYPRIVATEDATA - exit(0xe000020e)} 20:18:55.766
ump: Server install process exited with code 0x00000000 20:18:55.942
ump: {Plug and Play Service: Device Install exit(00000000)}
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL} 20:18:55.951
dvi: No class installer for ‘MYDEVICE’
dvi: Using exported function ‘CoDeviceInstall’ in module ‘C:\Windows\system32\WUDFUpdate_01009.dll’.
dvi: CoInstaller 1 == WUDFUpdate_01009.dll
dvi: CoInstaller 1: Enter 20:18:55.955
dvi: CoInstaller 1: Exit
dvi: Default installer: Enter 20:18:55.956
dvi: Default installer: Exit
dvi: {DIF_NEWDEVICEWIZARD_FINISHINSTALL - exit(0xe000020e)} 20:18:55.957
ndv: {Update Driver Software Wizard exit(00000000)}
<<< Section end 2012/03/17 20:18:57.261
<<< [Exit status: SUCCESS]

All example i found, have knits this:

[WUDFRD_ServiceInstall]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\WUDFRd.sys

No DisplayName, no LoadOrder

Rest like yours…

show on the comp’s it striked if the serviece “WudfRd” is already installed?!

here are:
inf: LoadOrderGroup=base (test.inf line
65)
dvi: Add Service: Modified existing
service ‘WUDFRd’.

i think that is the problem?!

I think that is not the problem…Because i get the same message "Add Service: Modified existing " in the working system also :frowning:

please test in the console “sc qc WudfRd”

SERVICE_NAME: WudfRd  
 TYPE : 1 KERNEL_DRIVER  
 START_TYPE : 3 DEMAND_START  
 ERROR_CONTROL : 1 NORMAL  
 BINARY_PATH_NAME : system32\DRIVERS\wudfrd.sys  
 LOAD_ORDER_GROUP :  
 TAG : 0  
 DISPLAY_NAME : Windows Driver Foundation - Us  
 DEPENDENCIES :  
 SERVICE_START_NAME :  

there is no loadorder at all PC i test…

guess:
on a UM-clean PC you install WudfRd with loadorder base…
if not UM-clean, you would like modify loadorder, that’s impossible by security:
modify => restart
modify is without effect after restart => driver is not clean => Error: 23

test it…

Load order doesn’t matter for a umdf driver. Load order only matters for a boot start KM driver

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@t-online.de
Sent: Saturday, March 17, 2012 10:36 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Code 31 error

please test in the console “sc qc WudfRd”

SERVICE_NAME: WudfRd  
 TYPE : 1 KERNEL_DRIVER  
 START_TYPE : 3 DEMAND_START  
 ERROR_CONTROL : 1 NORMAL  
 BINARY_PATH_NAME : system32\DRIVERS\wudfrd.sys  
 LOAD_ORDER_GROUP :  
 TAG : 0  
 DISPLAY_NAME : Windows Driver Foundation - Us  
 DEPENDENCIES :  
 SERVICE_START_NAME :  

there is no loadorder at all PC i test…

guess:
on a UM-clean PC you install WudfRd with loadorder base…
if not UM-clean, you would like modify loadorder, that’s impossible by security:
modify => restart
modify is without effect after restart => driver is not clean => Error: 23

test it…


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

> Load order doesn’t matter for a umdf driver. Load order only matters for a boot

start KM driver

thats what i will say: you modify a ‘prohibit’ parameter, that takes no effect after restart…
i think thats a inconsistent situation for the SC driverdatabase and thats ‘mark’ driver as ‘inconsistent’

check

hi Kurt and Doron
I ran sc qc wudfrd in my system and got the following


SERVICE_NAME: WudfRd
TYPE : 1 KERNEL_DRIVER
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : system32\DRIVERS\WUDFRd.sys
LOAD_ORDER_GROUP : Base
TAG : 24
DISPLAY_NAME : WUDFRd
DEPENDENCIES :
SERVICE_START_NAME :

The LOAD_ORDER_GROUP is base in my both working and non working system :frowning: . Any suggestions ?

guess:
have a look at "system32\DRIVERS\UMDF" is there any other UMDF-Drivers…
clean it all (deinstalation!!), delete the service for “WUDFRd.sys”, install your driver without loadorder.

i’m not really sure but it’s a “gut feeling”

BTW: have you looked at the depends for your DLL on the failed PC’s (e.g. with “Dependency Walker”)

Hi Krut
I tried deleting the dirver dll that was there in "system32\DRIVERS\UMDF" folder and cleaned the services of wudfrd.sys. But still i find the same problem :frowning:

I ran dependency walker and it is giving following error

Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.

Also in the working machine , i have 4 usb ports.I connected my device to first USB port and loaded the driver successfully.I disconnected and reconnected the device to check my driver is loaded automatically and it was doing as i expected.But when i connected my device to the second USB port it is loading the default driver and not my driver :frowning:

What is the procedure to fix this?..Do i need a catalog file for that ???

Sounds like a pretty obvious error, then. Does it say what the unresolved
import is? In the worst case, I’d do a dumpbin /imports of the driver and
the see what libraries it uses, obtain their version numbers, delete all
the imports I can correlate with dumpbin /exports, and what I’d be left
with is the ubdefined import. Then I’d post the information here, so
somebody could tell me, for example, I was trying to use a feature in the
OS or WDF version thus-and-such, but using the OS or library from an
earlier release.
joe

Hi Krut
I tried deleting the dirver dll that was there in
"system32\DRIVERS\UMDF" folder and cleaned the services of
wudfrd.sys. But still i find the same problem :frowning:

I ran dependency walker and it is giving following error

Error: At least one module has an unresolved import due to a missing
export function in an implicitly dependent module.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

You need a signed driver package so that your inf is ranked higher than the default in box package.

d

debt from my phone


From: xxxxx@gmail.com
Sent: 3/19/2012 10:02 AM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] Code 31 error

Also in the working machine , i have 4 usb ports.I connected my device to first USB port and loaded the driver successfully.I disconnected and reconnected the device to check my driver is loaded automatically and it was doing as i expected.But when i connected my device to the second USB port it is loading the default driver and not my driver :frowning:

What is the procedure to fix this?..Do i need a catalog file for that ???


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer