Share via


UWF_Filter.Enable (Industry 8.1)

7/8/2014

Review the use, syntax, parameters, and return values of the UWF_Filter.Enable method for Windows Embedded 8.1 Industry (Industry 8.1).

This method 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.

See Also

Reference

UWF_Filter

Concepts

Unified Write Filter