DRVSTORE vs DriverStore\FileRepository

I encountered a problem when installing my drivers into the system. My drivers are simply file system filter driver, storage class upper filter driver, and USB controller upper filter driver. And I am using DIFx tool version 2.1 to install the drivers on Windows 10.

After the drivers were installed I found out the drivers were actually installed under system32\DRVSTORE rather than system32\DriverStore\FileRepository. Then I tried to upgrade the Windows 10 system to the latest 1511 version. After the system upgraded all my drivers were not copied to the new system. But all the drivers under DriverStore\FileRepository were moved and copied to the new system. So my questions are.

  1. Why this happens? Why the system upgrade didn’t move the drivers under system32\DRVSTORE?
  2. Under what condition the system will pre-install the driver under system32\DRVSTORE?
  3. How to force my driver to be installed under system32\DrvStore\FileRespository?

Thanks.

Michael

I think you need PnP INFs to install the drivers to DriverStore\FileRepository

I don’t think FltMgr minifilters have one

Are your driver binaries surviving in system32\drivers?


Maxim S. Shatskih
Microsoft MVP on File System And Storage
xxxxx@storagecraft.com
http://www.storagecraft.com

wrote in message news:xxxxx@ntdev…
>I encountered a problem when installing my drivers into the system. My drivers are simply file system filter driver, storage class upper filter driver, and USB controller upper filter driver. And I am using DIFx tool version 2.1 to install the drivers on Windows 10.
>
> After the drivers were installed I found out the drivers were actually installed under system32\DRVSTORE rather than system32\DriverStore\FileRepository. Then I tried to upgrade the Windows 10 system to the latest 1511 version. After the system upgraded all my drivers were not copied to the new system. But all the drivers under DriverStore\FileRepository were moved and copied to the new system. So my questions are.
>
> 1. Why this happens? Why the system upgrade didn’t move the drivers under system32\DRVSTORE?
> 2. Under what condition the system will pre-install the driver under system32\DRVSTORE?
> 3. How to force my driver to be installed under system32\DrvStore\FileRespository?
>
> Thanks.
>
> Michael
>

Thanks Max. Yes. All my drivers survives under system32\drivers. If I prepare a PnP INF, that means I need to add manufacturer section and HWID to my INF, right? And does this mean, by default, all non-PnP drivers will be pre-installed under system32\DRVSTORE? Thanks again.

xxxxx@gmail.com wrote:

Thanks Max. Yes. All my drivers survives under system32\drivers. If I prepare a PnP INF, that means I need to add manufacturer section and HWID to my INF, right? And does this mean, by default, all non-PnP drivers will be pre-installed under system32\DRVSTORE? Thanks again.

Non-PnP drivers don’t usually need an INF file. In those cases when
they use a [DefaultInstall] section, they are not pre-installed, and
should not be present in the driver store at all.

DRVSTORE was the official name of the driver store on Windows XP. My
guess is that any drivers you have in DRVSTORE were installed by some
older installer that was trying to game the system.

Having said that, I see that my Windows 10 system contains three
packages in DRVSTORE, but they are all from VirtualBox. I’m guessing
they don’t serve any purpose there.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.