Wildcards in firewall rules

You can use wildcards to represent characters for some values in firewall rules.

Wildcards in path and address values

For paths of files, registry keys, executables, and URLs, use these wildcards.

Note: Registry key paths for firewall group locations don't recognize wildcard values.
? Question mark A single character.
* Asterisk Multiple characters, excluding slash (/) and backslash (\). Use this character to match the root-level contents of a folder with no subfolders.
** Double asterisk Multiple characters, including slash (/) and backslash (\).
| Pipe Wildcard escape.
Note: For the double asterisk (**), the escape is |*|*.

Wildcards in all other values

For values that normally don't contain path information with slashes, use these wildcards.

? Question mark A single character.
* Asterisk Multiple characters, including slash (/) and backslash (\).
| Pipe Wildcard escape.