none
Error installing filesystem minifilter template: System has no device the driver package can be installed onto RRS feed

  • Question

  • I'm trying to get the out of the box filesystem filter sample running and get the following error when the default deployment and install runs.  The pre/prep/post install tasks work without issue.  I figure this can't be a correct error since the VM has a filesystem, but I can't get it to force recognize the driver so I can debug it.  I've been banging my head against it for days driving different things and can't figure it out.  The environment pops up a box saying deployment failed.

    "System has no device the driver package can  be installed onto."

    Running:

    Visual Studio 2013

    WDK 8.1

    VMware 6.0.1

    Host: Win 8 Enterprise x64

    Target: Win 8 Enterprise x64

    Inf file contents:  (All I did was modify the "_TODO*" sections with what I think are reasonable values)

    [Version]
    Signature   = "$Windows NT$"
    Class = "ActivityMonitor"
    ClassGuid = {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2}
    Provider    = %ManufacturerName%
    DriverVer   = 
    CatalogFile = FilesystemDriver.cat
    
    [DestinationDirs]
    DefaultDestDir          = 12
    MiniFilter.DriverFiles  = 12            ;%windir%\system32\drivers
    
    [DefaultInstall]
    OptionDesc          = %ServiceDescription%
    CopyFiles           = MiniFilter.DriverFiles
    
    [DefaultInstall.Services]
    AddService          = %ServiceName%,,MiniFilter.Service
    
    [DefaultUninstall]
    DelFiles   = MiniFilter.DriverFiles
    
    [DefaultUninstall.Services]
    DelService = %ServiceName%,0x200      ;Ensure service is stopped before deleting
    
    [MiniFilter.Service]
    DisplayName      = %ServiceName%
    Description      = %ServiceDescription%
    ServiceBinary    = %12%\%DriverName%.sys        ;%windir%\system32\drivers\
    Dependencies     = "FltMgr"
    ServiceType      = 2                            ;SERVICE_FILE_SYSTEM_DRIVER
    StartType        = 3                            ;SERVICE_DEMAND_START
    ErrorControl     = 1                            ;SERVICE_ERROR_NORMAL
    LoadOrderGroup = "FSFilter Activity Monitor"
    AddReg           = MiniFilter.AddRegistry
    
    [MiniFilter.AddRegistry]
    HKR,,"DebugFlags",0x00010001 ,0x0
    HKR,,"SupportedFeatures",0x00010001,0x3
    HKR,"Instances","DefaultInstance",0x00000000,%DefaultInstance%
    HKR,"Instances\"%Instance1.Name%,"Altitude",0x00000000,%Instance1.Altitude%
    HKR,"Instances\"%Instance1.Name%,"Flags",0x00010001,%Instance1.Flags%
    
    [MiniFilter.DriverFiles]
    %DriverName%.sys
    
    [SourceDisksFiles]
    FilesystemDriver.sys = 1,,
    
    [SourceDisksNames]
    1 = %DiskId1%,,,
    
    [Strings]
    ManufacturerName        = "Template"
    ServiceDescription      = "FilesystemDriver Mini-Filter Driver"
    ServiceName             = "FilesystemDriver"
    DriverName              = "FilesystemDriver"
    DiskId1                 = "FilesystemDriver Device Installation Disk"
    
    DefaultInstance         = "FilesystemDriver Instance"
    Instance1.Name          = "FilesystemDriver Instance"
    Instance.Altitude       = "360001"
    Instance1.Flags         = 0x0              ; Allow all attachments
    

    Friday, November 29, 2013 4:15 PM