UWF_Volume.Protect

Enables Unified Write Filter (UWF) to protect the volume after the next system restart, if UWF is enabled after the restart.

Syntax

UInt32 Protect();

Parameters

None.

Return Value

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

Remarks

UWF starts protecting the volume after the next device restart in which UWF is enabled.

This method does not enable UWF if it is disabled; you must explicitly enable UWF for the next session to start volume protection.

Requirements

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

UWF_Volume

Unified Write Filter