UWF_RegistryFilter.RemoveExclusion

Removes a registry key from the registry exclusion list for Unified Write Filter (UWF).

Syntax

UInt32 RemoveExclusion(
    string RegistryKey
);

Parameters

RegistryKey
A string that contains the full path of the registry key.

Return Value

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

Remarks

You must restart the device before the registry key is excluded from UWF filtering.

Requirements

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