Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 Home | No |
Windows Pro | No |
Windows Enterprise | Yes |
Windows Education | Yes |
Windows IoT Enterprise | Yes |