Partager via


CATEGORY

Categories appear under Computer Settings or User Settings in the Group Policy Object Editor, depending on which class the category is in. A category is specified as follows. Brackets indicate optional parameters.

CATEGORY name

[KEYNAME key name]

[policy definition statements]

END CATEGORY

name

Category name as it should appear in the Group Policy Object Editor.

key name

Optional path to the registry key to use for the category. Do not include HKEY_LOCAL_MACHINEor HKEY_CURRENT_USER in the registry path. The preceding CLASS statement determines which of these keys will be used.

If a key name is specified, it will be used by all child categories, policies, and parts, unless they specifically provide a key name of their own.

policy definition statements

Each category can contain zero or more POLICY statements. A policy definition statement cannot appear more than once in a single category.

Group Policy Overview

Group Policy File Formats