116 lines
3.3 KiB
INI
116 lines
3.3 KiB
INI
;;;
|
||
;;; bs1flt.inf
|
||
;;;
|
||
|
||
[Version]
|
||
Signature = "$Windows NT$"
|
||
; TODO - Change the Class and ClassGuid to match the Load Order Group value, see https://msdn.microsoft.com/en-us/windows/hardware/gg462963
|
||
Class = "ActivityMonitor" ;This is determined by the work this filter driver does
|
||
ClassGuid = {b86dff51-a31e-4bac-b3cf-e8cfe75c9fc2} ;This value is determined by the Load Order Group value
|
||
;Class = "ActivityMonitor"
|
||
;ClassGuid = {AE71EC8D-C1FD-4564-8AA9-D56ADE722321}
|
||
Provider = %ManufacturerName%
|
||
DriverVer = 03/09/2026,18.21.59.681
|
||
CatalogFile = bs1flt.cat
|
||
PnpLockdown = 1
|
||
|
||
[DestinationDirs]
|
||
DefaultDestDir = 12
|
||
MiniFilter.DriverFiles = 12 ;%windir%\system32\drivers
|
||
|
||
;;
|
||
;; Default install sections
|
||
;;
|
||
|
||
;[DefaultInstall]
|
||
;OptionDesc = %ServiceDescription%
|
||
;CopyFiles = MiniFilter.DriverFiles
|
||
|
||
;[DefaultInstall.Services]
|
||
;AddService = %ServiceName%,,MiniFilter.Service
|
||
|
||
[DefaultInstall.NTamd64]
|
||
OptionDesc= %ServiceDescription%
|
||
CopyFiles= MiniFilter.DriverFiles
|
||
|
||
[DefaultInstall.NTamd64.Services]
|
||
AddService= %ServiceName%,,MiniFilter.Service
|
||
|
||
|
||
;;
|
||
;; Default uninstall sections
|
||
;;
|
||
|
||
;[DefaultUninstall]
|
||
;DelFiles = MiniFilter.DriverFiles
|
||
|
||
;[DefaultUninstall.Services]
|
||
;DelService = %ServiceName%,0x200 ;Ensure service is stopped before deleting
|
||
|
||
[DefaultUninstall.NTamd64]
|
||
DelFiles= MiniFilter.DriverFiles
|
||
LegacyUninstall=1
|
||
|
||
[DefaultUninstall.NTamd64.Services]
|
||
DelService = %ServiceName%,0x200 ;Ensure service is stopped before deleting
|
||
|
||
;
|
||
; Services Section
|
||
;
|
||
|
||
[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
|
||
; TODO - Change the Load Order Group value
|
||
LoadOrderGroup = "FSFilter Activity Monitor"
|
||
;LoadOrderGroup = "_TODO_Change_LoadOrderGroup_appropriately_"
|
||
AddReg = MiniFilter.AddRegistry
|
||
|
||
;
|
||
; Registry Modifications
|
||
;
|
||
|
||
[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%
|
||
|
||
;
|
||
; Copy Files
|
||
;
|
||
|
||
[MiniFilter.DriverFiles]
|
||
%DriverName%.sys
|
||
|
||
[SourceDisksFiles]
|
||
bs1flt.sys = 1,,
|
||
|
||
[SourceDisksNames]
|
||
1 = %DiskId1%,,,
|
||
|
||
;;
|
||
;; String Section
|
||
;;
|
||
|
||
[Strings]
|
||
; TODO - Add your manufacturer
|
||
ManufacturerName = "Template"
|
||
ServiceDescription = "cds_flt Mini-Filter Driver"
|
||
ServiceName = "bs1flt"
|
||
DriverName = "bs1flt"
|
||
DiskId1 = "bs1flt Device Installation Disk"
|
||
|
||
;Instances specific information.
|
||
DefaultInstance = "bs1flt Instance"
|
||
Instance1.Name = "bs1flt Instance"
|
||
; TODO - Change the altitude value, see https://msdn.microsoft.com/en-us/windows/hardware/drivers/ifs/load-order-groups-and-altitudes-for-minifilter-drivers
|
||
Instance1.Altitude = "_TODO_Change_Altitude_appropriately_"
|
||
Instance1.Flags = 0x0 ; Allow all attachments
|