The Unified Write Filter, UWF, is the feature that turns a Windows device into a stateless appliance. When UWF is enabled on a volume, all writes go to a RAM overlay instead of the physical disk, and a reboot discards the overlay, returning the volume to the exact state it had when UWF was enabled. The kiosk that survives a power loss, the thin client that never accumulates user debris, the secure browser that starts fresh every session: all of them run on UWF. This article explains how UWF works, how to configure it, the exclusions that make it usable, the servicing discipline that keeps it updated, and the traps that catch the first-time deployer.
The Way UWF Works at the Volume Level
UWF sits in the storage stack above the file system and below the volume manager. When a write request reaches the volume, UWF intercepts it and redirects it to the overlay, a region of RAM or a reserved disk area that holds the difference between the protected state and the current state. The read request checks the overlay first; if the data is there, it is served from the overlay, otherwise it is served from the physical volume. The physical volume is never modified while UWF is active. The overlay is discarded on reboot, or committed when the admin explicitly disables UWF for servicing. The overlay size is configured at enable time, and the system tracks the consumption; when the overlay fills, the system either halts or switches to a pass-through mode depending on the configuration, both of which are visible in the event log.
The overlay can be RAM-backed or disk-backed. RAM-backed is the default and the faster option; the overlay lives in system memory, and the consumption is limited by the available RAM. Disk-backed writes the overlay to a reserved file on the same or another volume, which survives a reboot if the admin chooses, but the standard mode discards on reboot regardless. The choice is made at enable time and cannot be changed without disabling and re-enabling UWF. The RAM-backed overlay is the standard for kiosks and thin clients because the write pattern is small and the speed matters; the disk-backed overlay is the choice for devices with limited RAM or heavy write workloads that would exhaust the RAM overlay.
Configuring UWF and the Exclusions That Make It Usable
UWF is configured through the WMI provider root\standardcimv2\embedded. The supported command-line surface is uwfmgr.exe; scripts that need more control call the CIM classes directly, including UWF_Filter, UWF_Volume, UWF_OverlayConfig, and UWF_RegistryFilter. The workflow is: enable UWF on the volume, configure the overlay size and type, add file and registry exclusions, enable the filter, and reboot. The configuration persists across reboots because it is stored in the registry under the UWF configuration key, which is on the protected volume but written before UWF locks it down.
The typical sequence for a kiosk volume is:
uwfmgr.exe volume protect C:
uwfmgr.exe overlay set-type RAM
uwfmgr.exe overlay set-size 2048
uwfmgr.exe file add-exclusion "C:\ProgramData\MyApp\Logs"
uwfmgr.exe registry add-exclusion "HKEY_LOCAL_MACHINE\SOFTWARE\MyApp"
uwfmgr.exe filter enable
The reboot after uwfmgr.exe filter enable activates the filter, and the volume is protected from that boot forward. The exclusions are the escape hatches that make the protected volume usable: the application writes its logs, its configuration, and its user data to the excluded paths, and those writes hit the physical volume directly, surviving the reboot. The exclusion list is the design surface of the UWF deployment, and the admin who designs it well has a kiosk that works; the admin who forgets an exclusion has a kiosk that loses its configuration on every reboot.
The exclusion list is the contract between the protected operating system and the applications that must persist data. File exclusions are paths on the protected volume; registry exclusions are keys under HKLM or HKCU. A file exclusion covers the folder and its children, while a registry exclusion targets one key path, so an application that writes under two roots needs two entries. The exclusion list is managed dynamically: a new file exclusion takes effect immediately for new writes, but the file must not be open by a process that cached the old path; a reboot after adding exclusions is the safe practice.
The typical exclusions for a kiosk are: the application's data folder in ProgramData, the application's registry key under HKLM\SOFTWARE, the user profile folder if the kiosk has a persistent user, the Windows Update log folder if the device updates through WU, and the event log folder if the device forwards logs. The exclusion list is the design document of the UWF deployment, and it should be version-controlled, reviewed, and tested on the test rack before the fleet rollout. The admin who treats exclusions as an afterthought spends the first month adding them one by one as the kiosks fail; the admin who designs the exclusion list up front has a fleet that works from day one.
Servicing a UWF-Protected Device and the Traps That Catch Deployers
A protected device cannot be updated while UWF is active: the update writes to the protected volume, the writes land in the overlay, and a reboot discards them. The workflow is disable, reboot, update, verify, enable, reboot. uwfmgr.exe filter disable returns the volume to write-through mode, and the reboot that follows completes the change.
The monthly cumulative runs inside a maintenance window. The management service or an on-premises script disables UWF, triggers the update, waits for completion, verifies the application, re-enables UWF, and reboots. The device is unprotected for roughly twenty minutes, which is the risk the fleet accepts in exchange for staying patched. A good script is idempotent: it checks the state first, disables only when needed, and re-enables in a finally block even if the update fails.
Most failures are exclusions that were never added. An application writes its configuration under Program Files, the write goes to the overlay, the reboot discards it, and the application starts with defaults. The same pattern appears with aggressive log writers that fill the RAM overlay in days, with 32-bit applications that write under Wow6432Node, and with open file handles that keep writing to the old path after an exclusion is added. Add the exclusion, restart the application, and size the overlay for the logs; a reboot after the change is cheaper than a second ticket.
Deploying UWF at Scale with Overlay Management and Registry Exclusion Patterns
The fleet of ten thousand kiosks deploys UWF through the cloud management service. The provisioning package enables UWF, sets the overlay size, adds the exclusions, and enables the filter, all in one package applied at first boot. The cloud management service pushes the provisioning package through Autopilot or MDM, and the device is protected from the first boot. The exclusion list is a parameter in the provisioning package, and the exclusion list for the fleet is a configuration file in the cloud management service, versioned and reviewed. The test rack validates the exclusion list against the application, the pilot ring validates it against the real peripherals, and the fleet rollout is the cloud management service pushing the package to the enrollment group.
The monitoring dashboard tracks the UWF state for every device: protected, unprotected, overlay consumption, exclusion list version, and last servicing date. The alert rules fire when a device is unprotected for more than twenty-four hours, when the overlay consumption exceeds eighty percent, when the exclusion list version differs from the current, and when the last servicing date is older than sixty days. The admin who watches the dashboard catches the drift before the kiosk fails; the admin who does not discovers the drift when the customer calls support.
The overlay is the finite resource that decides whether UWF survives the week or fails on day three. The admin monitors the overlay consumption through uwfmgr.exe overlay get-consumption, which reports the current usage and the maximum size. The alert threshold is eighty percent: when the overlay exceeds eighty percent, the monitoring dashboard alerts, and the admin investigates whether the consumption is a log leak, a missing exclusion, or a legitimate workload increase. The legitimate increase is handled by increasing the overlay size, which requires disabling UWF, resizing, and re-enabling, a maintenance window operation. The log leak is handled by adding the exclusion that was missed. The overlay that is watched is the overlay that survives; the overlay that is ignored is the overlay that fills and halts the kiosk.
The overlay type decision is made at deployment and rarely changed. RAM-backed is the default for kiosks because the write pattern is small and the speed matters; the overlay lives in system memory, and the consumption is limited by the available RAM. Disk-backed is the choice for devices with limited RAM or heavy write workloads that would exhaust the RAM overlay. The disk-backed overlay writes to a reserved file on the same or another volume, and the file size is the configured maximum. The disk-backed overlay survives a reboot if the admin configures it to persist, but the standard mode discards on reboot regardless.
The 64-bit application writes to HKLM\SOFTWARE\MyApp; the 32-bit application on 64-bit Windows writes to HKLM\SOFTWARE\Wow6432Node\MyApp. The exclusions that cover both are one entry for each path. The admin who knows this pattern adds both at deployment; the admin who does not discovers the missing exclusion when the 32-bit application loses its settings on reboot. The exclusion list should be audited for both paths before the fleet rollout, and the test rack should exercise both the 64-bit and the 32-bit application paths.
UWF is configured from the command line on the device: