Security TemplatesTasks |
To speed the process of configuring security settings, you can create a template containing predefined security settings. WS2003 includes a number of default templates, but you can also create your own security templates using the Security Templates snap-in. Add this snap-in to a new or existing MMC console and do the following:
Right-click the template search path node
Once you create a new security template, you can import it into a GPO to apply it to computers in a domain or OU (see the next task) or use it to analyze security on a local computer (see the later task).
You can import into a GPO either one of the default security templates included in WS2003 or a custom template you have created. To do this, open the desired GPO using Active Directory Users and Computers and then:
Computer Configuration
.inf file for template
Several steps are involved. First, you create a security-configuration database and specify a template to be imported into the database:
Security Configuration and Analysis console
In the previous steps, if you don't select "Clear this database" before importing, then the settings you import will be merged with the existing security settings instead of overwriting them. If you already have a database, you can open it instead of creating a new one (specifying a new name creates a new database) and then import a template into the database. Next, you need to configure your computer to use the imported template:
Right-click Security Configuration and Analysis
A dialog box will show progress as the settings are applied. Once this is finished, you should analyze your settings as follows:
Right-click Security Configuration and Analysis
This compares the security configuration of your machine with the information stored in the configuration database file (
.sdb file). Once this process is finished, you can either read the log file created by doing this:
Right-click Security Configuration and Analysis
or you can view the comparison information by doing this:
Expand the Security Configuration and Analysis container
A green check mark means a setting is consistent; a red flag means a discrepancy; nothing means the setting is not configured.
You can either create a new template from scratch or copy an existing one, which may be less work if the configuration you desire is close to one of the default configurations included in the template search path,
C:\Windows\Security\Templates .
To create a new template from scratch:
Security Templates console
To copy an existing template and modify the copy:
Security Templates console