RE: Windows Hardware Lab Kit: Missing Driver

> You need to be associated with a device. If your driver is software

only you need to create a device node and associate with it.

I guess the following is enough right?

sc create asecdrv binPath= “C:\Windows\System32\drivers\asec.sys” type= kernel start= auto
sc start asecdrv

Ok, I haven’t yet completely figured out what exactly needs to be done in order to make the driver visible, since the driver shows sometimes, while not other times; not sure why. In any case, after the driver is visible, what kind of tests need to be run for a software security driver. If I right-click on the driver, I can click on the “Add/Modify Features” after which I can select these features for the driver:

  • Filter.Driver.AntiVirus
  • Filter.Driver.DeviceGuard
  • Filter.Driver.EarlyLaunchAntiMalwre
  • Filter.Driver.FileSystem
  • Filter.Driver.Fundamentals
  • Filter.Driver.Network.LWF
  • Filter.Driver.Security
  • Filter.Driver.vSwitchExtension
  • Filter.Driver.WindowsFilteringPlatform
  1. I guess the “Filter.Driver.AntiVirus” and “Filter.Driver.Security” need to be selected, since this is a security software driver, but are there any guidelines which options to select.
  2. If I chose only the “Filter.Driver.Security” but not others, and then submit that to WHQL, how will they determine which tests needed to be run for the type of driver? Based on ClassGuid or are there some other criteria?
  3. In order to get the driver WQHL signed, is it actually required to install every Windows version into a VM in order to run the tests on each version? Is there a cloud solution provided by Microsoft that automates that?
  4. What if there is a different driver for every Windows version, do I need to submit every driver to the WHQL for each OS version?

> I guess the following is enough right?

sc create asecdrv binPath= “C:\Windows\System32\drivers\asec.sys” type= kernel
start= auto

No, this won’t create a “device node”. You may need to create a root-enumerated device, or some fancier kind of software-enumerated device.

There’s even IoReportRootDevice function in MSDN (haven’t used it yet)

https://msdn.microsoft.com/en-us/library/windows/hardware/jj157233(v=vs.85).aspx

– pa

I also faced a similar problem where I was not able to find my driver in
the HLK studio. It turned out that the driver object was not created.

Below are my suggestions, which MAY NOT work in your case, but you can try.

  1. Check in the device manager if your driver is getting listed. If it is
    not, then probably you have to add it. HLK studio is just a replica of the
    SUTs device manager.
  2. You could try to Add your driver as a legacy driver ( and see if you are
    able to see in the HLK studio)
  3. Another way is to use the DEVCON.exe utility to install the driver
    manually as follows:
    devcon.exe install <your_driver_file.inf>
    <device_id_which_you_could_get_from_your_inf_file>

    3.1) the you can make sure if the driver is installed properly using
    devcon find <prefix_of_device_id_used_followed_by_> for example,
    devcon find {212323*

    Check for your added driver in the list of devices return by the above
    command.

    Regards,

    On 28 July 2017 at 18:10, xxxxx@fastmail.fm wrote:

    > > I guess the following is enough right?
    > > sc create asecdrv binPath= “C:\Windows\System32\drivers\asec.sys” type=
    > kernel
    > start= auto
    >
    > No, this won’t create a “device node”. You may need to create a
    > root-enumerated device, or some fancier kind of software-enumerated device.
    >
    > There’s even IoReportRootDevice function in MSDN (haven’t used it yet)
    >
    > https://msdn.microsoft.com/en-us/library/windows/hardware/
    > jj157233(v=vs.85).aspx
    >
    >
    > – pa
    >
    >
    > —
    > NTDEV is sponsored by OSR
    >
    > Visit the list online at: http:> showlists.cfm?list=ntdev>
    >
    > MONTHLY seminars on crash dump analysis, WDF, Windows internals and
    > software drivers!
    > Details at http:
    >
    > To unsubscribe, visit the List Server section of OSR Online at <
    > http://www.osronline.com/page.cfm?name=ListServer&gt;
    >


    *Utkal Sinha *
    M.Tech (CS), NIT Rourkela
    Website: www.utkalsinha.com http:</http:></http:></http:></prefix_of_device_id_used_followed_by_></device_id_which_you_could_get_from_your_inf_file></your_driver_file.inf>