Skip to content

All About FLTMC Windows command

The Windows fltmc command allows users to manage filter drivers, such as loading, unloading, and controlling their state. Filter drivers are essential for monitoring and modifying input/output requests between a device and its driver. The fltmc command provides various functions to interact with filter drivers, including displaying information about loaded filters, attaching and detaching filters to volumes, and controlling their operation. With the fltmc command, users can efficiently manage filter drivers and troubleshoot issues related to them.

FLTMC Syntax:

Terminal window
fltmc [command] [options] [parameters]

Options:

OptionDescription
loadLoad a minifilter driver
unloadUnload a minifilter driver
instancesList all instances of a minifilter
filtersList all loaded minifilters
volumesList all volumes with attached minifilters
contextsList all contexts of minifilters
altitudesList all minifilter altitudes
querylocksQuery minifilter locks
detachDetach a minifilter from a volume
attachAttach a minifilter to a volume
disableruleDisable a minifilter driver rule
enableruleEnable a minifilter driver rule

Parameters:

ParameterDescription
minifilterSpecifies the minifilter driver name
instanceIDSpecifies the instance ID of the minifilter
volumeNameSpecifies the volume name to attach or detach
altitudeSpecifies the altitude of the minifilter
RuleIDSpecifies the Rule ID to enable or disable

FLTMC CMD Examples:

List all Filter Drivers

Terminal window
fltmc instances

Displays a list of all loaded filter drivers on the system.

Load a Filter Driver

Terminal window
fltmc load MyFilterDriver

Loads a filter driver with the specified name (e.g., MyFilterDriver).

Unload a Filter Driver

Terminal window
fltmc unload MyFilterDriver

Unloads a filter driver with the specified name (e.g., MyFilterDriver).

Display Filter Driver Details

Terminal window
fltmc filters MyFilterDriver

Shows detailed information about the specified filter driver (e.g., MyFilterDriver).

Start a Filter Driver Communication Server

Terminal window
fltmc communications

Initiates a communication server for the filter manager, allowing filter drivers to communicate with each other.

Restart a Filter Manager

Terminal window
fltmc detach
fltmc attach

Restarts the filter manager. Running “fltmc detach” unloads all filter drivers and “fltmc attach” reloads them.

How do I start a filter driver in Windows using fltmc?

To start a filter driver in Windows using fltmc, run the following command:

Terminal window
fltmc start MyFilterDriver

How do I stop a filter driver in Windows using fltmc?

To stop a filter driver in Windows using fltmc, execute the command:

Terminal window
fltmc unload MyFilterDriver

How do I display all loaded filter drivers in Windows with fltmc?

To display all loaded filter drivers in Windows using fltmc, use the following command:

Terminal window
fltmc filters

How do I show detailed information about a specific filter driver in Windows using fltmc?

To show detailed information about a specific filter driver in Windows using fltmc, enter the command:

Terminal window
fltmc instances MyFilterDriver

How do I list all registered mini-filter driver instances in Windows with fltmc?

To list all registered mini-filter driver instances in Windows using fltmc, run the command:

Terminal window
fltmc instances

How do I get general help information about fltmc command in Windows?

To get general help information about the fltmc command in Windows, run:

Terminal window
fltmc help

How do I get detailed help for a specific fltmc command option in Windows?

To get detailed help for a specific fltmc command option in Windows, use the following command:

Terminal window
fltmc help --option

Applications of the FLTMC Command

  1. Load a minifilter driver.
  2. Unload a minifilter driver.
  3. Retrieve information about the minifilter drivers loaded on the system.
  4. Control minifilter driver instances.
  5. Control communication ports for minifilter drivers.