Redigera

Dela via


Unified Write Filter (UWF) feature

Unified Write Filter (UWF) is an optional Windows 10 feature that helps to protect your drives by intercepting and redirecting any writes to the drive (app installations, settings changes, saved data) to a virtual overlay. The virtual overlay is a temporary location that is cleared during a reboot or when a guest user logs off.

Benefits

  • Provides a clean experience for thin clients and workspaces that have frequent guests, like school, library or hotel computers. Guests can work, change settings, and install software. After the device reboots, the next guest receives a clean experience.

  • Increases security and reliability where new apps aren't frequently added.

  • Can be used to reduce wear on solid-state drives and other write-sensitive media.

  • Optimizing Application load timing on boot – it can be faster to resume from a HORM file on every boot rather than reloading the system on each boot

UWF replaces the Windows 7 Enhanced Write Filter (EWF) and the File Based Write Filter (FBWF).

Features

  • UWF can protect most supported writable storage types, including physical hard disks, solid-state drives, internal USB devices, and external SATA devices. You can't use UWF to protect external removable drives, USB devices or flash drives. Supports both master boot record (MBR) and GUID partition table (GPT) volumes.

  • You can use UWF to make read-only media appear to the OS as a writable volume.

  • You can manage UWF directly on a Windows 10 device using uwfmgr.exe, or remotely using MDM tools with the UnifiedWriteFilter CSP or the UWF WMI.

  • You can update and service UWF-protected devices by using UWF servicing mode or adding file and registry exclusions to specific system areas.

  • On Windows 10, version 1803, you can use a persistent overlay to allow data saved in the virtual overlay to remain even after a reboot.

  • On devices with a disk overlay, you can use free space passthrough) to access your drive's free space.

  • UWF supports paging to increase virtual memory, if the page file exists on an unprotected volume. When paging is used together with a RAM-based overlay, the uptime of the system can be increased.

Requirements

Windows Edition Supported
Windows Home No
Windows Pro No
Windows Enterprise Yes
Windows Education Yes
Windows IoT Enterprise Yes

Limitations

  • File systems:

    • FAT: fully supported.
    • NTFS: fully supported. However, during device startup, NTFS file system journal files can write to a protected volume before UWF has started protecting the volume.
    • Other file systems (example: exFAT): You can protect the volume, but can't create file exclusions or do file commit operations on the volume. Writes to excluded files still influence the growth of the Overlay.
  • The overlay doesn't mirror the entire volume, but dynamically grows to keep track of redirected writes.

  • UWF supports up to 16 terabytes of protected volumes.

  • UWF doesn't support the use of fast startup when shutting down your device. If fast startup is turned on, shutting down the device doesn't clear the overlay. You can disable fast startup in Control Panel by navigating to Control Panel > All Control Panel Items > Power Options > System Settings and clearing the checkbox next to Turn on fast startup (recommended).

  • UWF doesn't support Storage Spaces.

  • On a computer on which UWF is enabled and used to protect drive C, you can't permanently set the date and time to a past time. If you make such a change, the original date and time settings will be restored after the computer restarts.

    To work around this issue, you must disable UWF before you change the date and time with th the following command.

    uwfmgr.exe filter disable
    

    Note

    Do not add the file that retains date and time settings ("%windir%\bootstat.dat") to the write filter exclusions to work around this issue. Doing this causes Stop error 0x7E (SYSTEM_THREAD_EXCEPTION_NOT_HANDLED) to occur.

Turn on and configure UWF

UWF is an optional component and isn't enabled by default in Windows 10. You must turn on UWF before you can configure it.

UWF overlay

You can choose the type of overlay, reserved space and persistence after a reboot.

To increase uptime, set up monitoring to check if your overlay is filling up. At certain levels, your device can warn users and/or reboot the device.

To learn more, see UWF Overlay location and size.

Volumes

A volume is a logical unit that represents an area of persistent storage to the file system that is used by the OS such as:

  • A single physical storage device, such as a hard disk
  • A single partition on a physical storage device with multiple partitions
  • Span across multiple physical storage devices

For example, a collection of hard disks in a RAID array can be represented as a single volume to the OS.

When you configure UWF to protect a volume, you can specify the volume by using either a drive letter or the volume device identifier. To determine the device identifier for a volume, query the DeviceID property in the Win32_Volume WMI class.

If you specify a volume using a drive letter, UWF uses loose binding to recognize the volume. With loose binding, drive letters are assigned dynamically as the volume configuration changes.

If you specify a volume using the volume device identifier, UWF uses tight binding to recognize the volume. With tight binding, the device identifier is unique to the storage volume and is independent from the drive letter assigned to the volume by the file system.

Exclusions

You can add specific files, folders, and registry keys to the write filter exclusion list to prevent them from being filtered.

UWF servicing mode

When a device is protected with UWF, you must use UWF servicing mode commands to service the device and apply updates to an image. You can use UWF servicing mode to apply Windows updates, antimalware signature file updates, and custom software or third-party software updates.

For more information about how to use UWF servicing mode to apply software updates to your device, see Service UWF-protected devices.

Troubleshooting UWF

UWF uses Windows Event Log to log events, errors and messages related to overlay consumption, configuration changes, and servicing.

For more information about how to find event log information for troubleshooting problems with Unified Write Filter (UWF), see Troubleshooting Unified Write Filter (UWF).