Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 2.47 KB

File metadata and controls

75 lines (53 loc) · 2.47 KB
title description MSHAttr ms.assetid author ms.author ms.service ms.subservice ms.date ms.topic
UWF_Filter.Enable
UWF_Filter.Enable
PreferredSiteName:MSDN
PreferredLib:/library/windows/hardware
12b8c976-c032-43f4-98d2-a237befd3ed5
TerryWarwick
twarwick
windows-iot
iot
05/20/2024
article

UWF_Filter.Enable

Enables Unified Write Filter (UWF) on the next restart.

Syntax

UInt32 Enable();

Parameters

None.

Return Value

Returns an HRESULT value that indicates WMI status or a WMI error.

Remarks

You must use an administrator account to enable UWF.

You must restart your device after you enable or disable UWF before the change takes effect.

The first time you enable UWF on your device, UWF makes the following changes to your system to improve the performance of UWF:

  • Paging files are disabled.
  • System restore is disabled.
  • SuperFetch is disabled.
  • File indexing service is turned off.
  • Defragmentation service is turned off.
  • Fast boot is disabled.
  • BCD setting bootstatuspolicy is set to ignoreallfailures.

You can change these settings after you enable UWF if you want to. For example, you can move the page file location to an unprotected volume and re-enable paging files.

Additionally, after you run uwfmgr filter enable, restart the computer and exit the servicing mode, the following things are disabled:

  • Windows Update by setting HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\NoAutoUpdate
  • Windows Store Update by setting HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsStore\AutoDownload
  • Registry Reorganization by setting HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Configuration Manager\RegistryReorganizationLimitDays
  • Maintenance Hour by setting HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\Maintenance\MaintenanceDisabled

After you run uwfmgr filter disable, restart the computer and enter the serving mode, the changes are reverted.

Requirements

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

Related topics