DevCon.exe UpdateDriverForPlugAndPlayDevicesW API logs Error in event viewer even on success.

  • Thread starter Thread starter Saurabh Singh Rathour
  • Start date Start date
S

Saurabh Singh Rathour

Guest
Hi, I have recently noticed that if we use devcon.exe for kernel mode driver installation then it always logs an error entry in event viewer. Refer belowDevice ROOT\MYSAMPLECLASS\0000 had a problem starting.Driver Name: xxxxxx.infClass Guid: xxxxxxxxxxxxxxxxxxxxService: MyECHO (This is from Microsoft sample)Lower Filters: Upper Filters: Problem: 0x0Problem Status: 0xC00000E5I have noticed this issue with windows 11, with windows 10 it is not there.On debug, found that UpdateDriverForPlugAndPlayDevicesW(NULL,&n

Continue reading...
 
Back
Top