UWF_Volume.Unprotect

Disables UWF protection of the volume after the next system restart.

Syntax

UInt32 Unprotect();

Parameters

None.

Return Value

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

Remarks

Unprotecting the volume does not remove the UWF_Volume entry or any configuration settings from the UWF configuration registry. This means that you can unprotect a volume, and then protect it again later, while keeping any file exclusions or volume configurations that you have defined.

Requirements

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