Skip to main content

May 21, 2026 Archived

Wildcard Support in Exclude Section Headers

Folder and registry key paths in exclude section headers can contain wildcards using the special [MATCHALL] and [MATCHONE] tokens, which correspond to the * and ? wildcards.

Wildcard tokens exclude settings for applications that use a random name for one of their folders or registry keys.

Note: Do not use tokens in the filename or registry value parts of paths.

Manage the Settings of an App Without Including the Caches

If you have an application that stores its settings in <AppData>\Vendor\App and HKCU\Software\Vendor\App, supports multiple configurations with randomly named subfolders and subkeys, and maintains a large cache for each configuration as a performance optimization, you must configure the sections in the following way:

[IncludeFolderTrees]
<AppData>\Vendor\App
[ExcludeFolderTrees]
<AppData>\Vendor\App\[MATCHALL]\Cache

[IncludeRegistryTrees]
HKCU\Software\Vendor\App
[ExcludeRegistryTrees]
HKCU\Software\Vendor\App\[MATCHALL]\Cache

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…