There are several command lines you can use to control
the Unified Write Filter. Command–line arguments cannot be combined.
Use the following guidelines for the command–line option
for the Unified Write Filter. You can also use the commands if you
open the command prompt window with elevated privilege by entering
command in the Run box.
This command-line tool configures and retrieves
settings for Unified Write Filter (UWF). If there are no command-line
options available, it displays the command help.
uwfmgr filter enable
This command-line enables the Unified Write Filter
after the next system restart. The Unified Write Filter status icon
is green when the Unified Write Filter is enabled.
uwfmgr filter disable
This command-line option disables
the Unified Write Filter after the next system restart. The Unified
Write Filter status icon remains red while disabled.
uwfmgr file commit C: <file_path>
This command-line commits changes
to a specified file to overlay for a Unified Write Filter-protected
volume. Administrator-level permissions are required to use this command.
The <file> parameter must be fully qualified,
including the volume and path. uwfmgr.exe uses the volume specified in the <file> parameter to determine
which volume contains the file exclusion list for the file. There
is a single space between volume name and file_path. For example,
to commit a file C:\Program Files\temp.txt the
command would be uwfmgr commit C: \Program Files\temp.txtuwfmgr commit C: \Program Files\temp.txt.
uwfmgr file add-exclusion
C: <file_or_dir_path>
This command-line adds the specified
file to the file exclusion list of the volume protected by Unified
Write Filter. Unified Write Filter starts excluding the file from
filtering after the next system restart.
For example,
to add a registry directory HKLM\SYSTEM\WPAHKLM\SYSTEM\WPA, the
command is UWFmgr.exe registry add-exclusion HKLM\SYSTEM\WPAUWFmgr.exe registry add-exclusion HKLM\SYSTEM\WPA.
This command-line removes the specified
file from the file exclusion list of the volume protected by Unified
Write Filter. Unified Write Filter stops excluding the file from filtering
after the next system restart.
uwfmgr overlay get-config
This command-line displays configuration
settings for the Unified Write Filter overlay. Displays information
for both the current and the next session.
uwfmgr registry /?
This command-line displays configuration
settings for exclusions of registry keys.
NOTE: If
you open a command prompt window and enter uwfmgr ?uwfmgr ? or uwfmgr helpuwfmgr help, all available commands are displayed.
For information on a command, use uwfmgr help <command>uwfmgr help <command>. For example, for information on the command, volumevolume, enter uwfmgr help volumeuwfmgr help volume.
CAUTION:
Administrators should use file security
to prevent unwanted usage of these commands.
Do not attempt to flush the data to
the disk while another flush operation is in progress.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\