enhance fltMc with custom filter? Is it possible?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

enhance fltMc with custom filter? Is it possible?

#1 Post by npocmaka_ » 30 Oct 2013 12:16

fltMc does not like like too useful command (not provides more information than fsutil fsinfo or wmic logicaldisk )
but from it help it looks like its possible to load filters that could eventually provide more information about the drives.
But couldn't find much easy readable information how a filter could be created ....

Does anybody has an idea?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: enhance fltMc with custom filter? Is it possible?

#2 Post by foxidrive » 30 Oct 2013 13:36

I hadn't used that command before.

This is what I get with this command - but it requires admin permissions to use in Windows 8, which would limit its usefulness.

Code: Select all

d:\>fltmc volumes |find ":"
C:                              \Device\HarddiskVolume1                  NTFS
M:                              \Device\00000043                         NTFS
D:                              \Device\HarddiskVolume7                  NTFS
Z:                              \Device\HarddiskVolume6                  NTFS

penpen
Expert
Posts: 2009
Joined: 23 Jun 2013 06:15
Location: Germany

Re: enhance fltMc with custom filter? Is it possible?

#3 Post by penpen » 30 Oct 2013 13:53

You have to create a dll with the filter, using MS Visual Studio (C++) or similar, see here:
http://msdn.microsoft.com/en-us/library/windows/hardware/ff548143(v=vs.85).aspx
You have to click through:
- File System Filter Drivers, and/or
- File System Minifilter Drivers

penpen

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: enhance fltMc with custom filter? Is it possible?

#4 Post by foxidrive » 30 Oct 2013 14:24

It's still going to be a limiting issue that only ADMIN can use it.

npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: enhance fltMc with custom filter? Is it possible?

#5 Post by npocmaka_ » 30 Oct 2013 15:43

Yeah.I saw that....I hoped there's a way to avoid C++-ing .Will see what I can do with this.
Last edited by npocmaka_ on 30 Oct 2013 22:28, edited 1 time in total.

npocmaka_
Posts: 517
Joined: 24 Jun 2013 17:10
Location: Bulgaria
Contact:

Re: enhance fltMc with custom filter? Is it possible?

#6 Post by npocmaka_ » 30 Oct 2013 15:53

foxidrive wrote:I hadn't used that command before.

This is what I get with this command - but it requires admin permissions to use in Windows 8, which would limit its usefulness.

Code: Select all

d:\>fltmc volumes |find ":"
C:                              \Device\HarddiskVolume1                  NTFS
M:                              \Device\00000043                         NTFS
D:                              \Device\HarddiskVolume7                  NTFS
Z:                              \Device\HarddiskVolume6                  NTFS


If I can put more information here I'll able to see supported also operations per drive and check which one is a flash drive (e.g.) ...

Post Reply