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.
|uwfmgr||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.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\WPA, the command is UWFmgr.exe registry add-exclusion HKLM\SYSTEM\WPA.
|uwfmgr file remove-exclusion C: <file_or_dir_path>|
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.