UWF_Volume.RemoveExclusion

Removes a specific file or folder from the file exclusion list for a volume protected by Unified Write Filter (UWF).

Syntax

UInt32 RemoveExclusion(
    string FileName
);

Parameters

FileName A string that contains the full path of the file or folder relative to the volume.

Return Value

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

Remarks

You must use an administrator account to remove file or folder exclusions, and you must restart the device for this change to take effect.

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