When you create a new process matching criterion or edit an existing one, you can add a new rule by clicking Add on the Rules tab of the properties page of a process matching criterion.

Common tasks in the Add Rule dialog box

Task Procedure

Include a file or command line:

  • By typing the full path and file name.

  • By typing a regular expression statement.

On the Files or Command Lines tab, under Included files or command lines, click a blank line and then type the file name or regular expression that you want to match.

For more information about file and command-line matching, see Create a Process Matching Criterion by Using Path Matching.

Choose an application or service to include from a list

On the Files or Command Lines tab, select Registered Service, Running Process, Application, or IIS App-Pool from the drop-down list, and then click Select.

Click the name of the matched process that you want to include, and then click OK.

Note

You cannot select multiple processes. You must complete this procedure once for each process that you want to include.

Exclude a file or command line:

  • By typing the full path and file name.

  • By typing a regular expression statement.

On the Files or Command Lines tab, select the Excluded files or command lines check box.

Next, under Excluded files or command lines, click a blank line, and then type the file name or regular expression that you want to match.

For more information about file and command-line matching, see Create a Process Matching Criterion by Using Path Matching.

Note

Excluding a file or command line in a process matching criterion will only exclude it from management by resource allocations that depend on the process matching criterion. To exclude a file or command line from all management by Windows System Resource Manager, see Work with the User-Defined Exclusion List.

Choose an application or service to exclude from a list

On the Files or Command Lines tab, select the Excluded files or command lines check box.

Next, select Registered Service, Running Process, Application, or IIS App-Pool from the drop-down list, and then click Select.

Click the name of the matched process that you want to exclude, and then click OK.

Note

You cannot select multiple processes. You must complete this procedure once for each process that you want to exclude.

Include a user or group

On the Users or Groups tab, under Included users and groups, click Add.

Note

You might be prompted to enter a user name and password with permission to look up users or groups in your domain.

In the Select Users or Groups dialog box, choose users or groups to include.

Note

Windows System Resource Manager validates users and groups added from the Add Rule dialog box. However, users and groups that are part of an imported process matching criterion are not validated.

For more information about user and group matching, see Create a Process Matching Criterion by Using User or Group Matching.

Exclude a user or group

On the Users or Groups tab, select the Excluded users and groups check box, and then click Add.

Note

You might be prompted to enter a user name and password with permission to look up users or groups in your domain.

In the Select Users or Groups dialog box, choose users or groups to exclude.

Note

Windows System Resource Manager validates users and groups added from the Add Rule dialog box. However, users and groups that are part of an imported process matching criterion are not validated.

Remove a rule

Click the name of the rule that you want to remove, and then click Remove.