title | description | MSHAttr | ms.assetid | author | ms.author | ms.service | ms.subservice | ms.date | ms.topic | ||
---|---|---|---|---|---|---|---|---|---|---|---|
UWF_RegistryFilter.AddExclusion |
UWF_RegistryFilter.AddExclusion |
|
65eba07c-1ef4-426c-8741-b9ec31817768 |
TerryWarwick |
twarwick |
windows-iot |
iot |
05/20/2024 |
article |
Adds a registry key to the registry exclusion list for Unified Write Filter (UWF).
Important
Only registry subkeys under the following registry keys can be added to the exclusion list.
- HKEY_LOCAL_MACHINE\BCD00000000
- HKEY_LOCAL_MACHINE\SYSTEM
- HKEY_LOCAL_MACHINE\SOFTWARE
- HKEY_LOCAL_MACHINE\SAM
- HKEY_LOCAL_MACHINE\SECURITY
- HKEY_LOCAL_MACHINE\COMPONENTS
Important
Excluding a registry key from filtering also excludes all subkeys from filtering.
UInt32 AddExclusion(
string RegistryKey
);
RegistryKey
A string that contains the full path of the registry key.
Returns an HRESULT value that indicates WMI status or a WMI error.
You must restart the device before the registry key is excluded from UWF filtering.
Windows Edition | Supported |
---|---|
Windows Home | No |
Windows Pro | No |
Windows Enterprise | Yes |
Windows Education | Yes |
Windows IoT Enterprise | Yes |