How to install diskperf.sys using addfilter?

hello all,

In DDK, addfilter can install diskperf.sys to a vulume as a upper volume filter driver. But I try several time, addfilter tells me that very thing complete normally. But when I reboot the system, the volume which I have attach diskperf.sys to was disappeared. It seems diskperf.sys can not work well. Is there anything wrong when I install diskperf.sys using addfilter?

The command I used is:
addfilter /device \HarddiskVolume3 /add diskperf.sys

Thanks!

AddFilter first get filter list form registry, then add your driver to the
list, at last save the list to the registry.
Open the registry, under
‘HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E967-E325-11CE-BFC1-08002BE10318}’
you will found the multi-string ‘UpperFilters’ was the filter list.

I hope these information could give you some help.
On Nov 12, 2007 4:28 PM, wrote:

> hello all,
>
> In DDK, addfilter can install diskperf.sys to a vulume as a upper volume
> filter driver. But I try several time, addfilter tells me that very thing
> complete normally. But when I reboot the system, the volume which I have
> attach diskperf.sys to was disappeared. It seems diskperf.sys can not work
> well. Is there anything wrong when I install diskperf.sys using addfilter?
>
> The command I used is:
> addfilter /device \HarddiskVolume3 /add diskperf.sys
>
> Thanks!
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>


Best regards,
Leo Jiang

MSN: xxxxx@live.com
http://www.shamuma.net/

I can use addfilter to install diskperf as a disk upper filter driver. But when I install diskperf as a volume upper filter, it can not work well and system will crash when install diskperf as a volume upper filter to the OS boot volume.

How can I fix it?