Defining a Baseline Security Template

Security Templates Review

A security template is collection of security configuration settings that can be applied to a domain controller, member server or a workstation. The settings within a security template control the security configuration of a computer through both local policies and group policies. A security template can be applied to a local computer, or incorporated into a Group Policy object in Active Directory. You can manage one computer or multiple computers through the security settings contained within a security template. For computers that do not belong to an Active Directory domain, you can use the Security Templates snap-in and the Security Configuration and Analysis feature to both create and apply security templates to specific computers. Security templates can be used to apply a number of security policies and also customize a number of security policies to suit the security requirements of your organization.

Windows Server 2003 includes predefined security templates that hold security settings for different levels of security. The security level is determined by the type of server that the template is applied to.

The Security Template areas where you can configure security for Windows 2000, Windows XP, and Windows Server 2003 networking environments are listed here:

There are a number of predefined security templates as well:

You can use the Security Templates snap-in to create a security template file which can be deployed using either of these methods:

To create a new security template

  1. First create a MMC console and add the Security Templates snap-in to it.
  2. Open the Security Templates management console.
  3. Proceed to expand the Security Templates node.
  4. Right-click the Security Templates node and then select New Template Search Path from the shortcut menu.
  5. Enter the location which will be used to store your new security template. Click OK.
  6. Now, right-click the security template search path, and then click New Template from the shortcut menu.
  7. Enter a name and description for the new security template.
  8. Click OK.
  9. You should now edit your new security template. Through the Security Templates snap-in, you can add security policies to the template.

To customize an existing security template

  1. First create a MMC console and add the Security Templates snap-in to it.
  2. Open the Security Templates management console.
  3. Proceed to expand the Security Templates node.
  4. Select the default path folder
  5. Right-click the security template you want to change in the right pane.
  6. Click Save As
  7. Enter a name for the security template.
  8. Click Save,
  9. The security template you have just created is displayed in the right pane.
  10. Double-click the new security template to change the security settings.
  11. To change a setting, right-click the appropriate attribute, and then select Properties from the shortcut menu.

Defining Baseline Security Templates

You can use the Security Configuration And Analysis console included in Windows Server 2003 to define a baseline security template. The Security Configuration And Analysis console utilizes a database specific to the computer to analyze computer security.

The features of Security Configuration And Analysis allow you to perform a number activities and functions to define a baseline security template, including the following:

The typical activities which you need to perform to define a baseline security template through the Security Configuration and Analysis console are listed here:

A few best practices for using the Security Configuration and Analysis feature are listed here:

To add the Security Configuration And Analysis console to a MMC

  1. Click Start, Run, and enter mmc in the dialog box. Click OK.
  2. Using the Console menu, click Add/Remove Snap-In, and then click Add.
  3. When the Add Standalone Snap-In dialog box opens, select the Security Configuration And Analysis feature, and then click Add.
  4. Click Close. Click OK.
  5. Using the Console menu, click Save and enter a name for the console.
  6. Click Save.
  7. The Security Configuration And Analysis console can now be accessed from the Administrative Tools menu.

How to create a security database

Before you can analyse system security and define a baseline security template, you first have to create a security database:

  1. Open the Security Configuration And Analysis console.
  2. Right-click Security Configuration And Analysis, and then select Open Database from the shortcut menu.
  3. When the Open Database dialog box opens, enter the name of the file in File Name, and then click Open.
  4. When the Import Template dialog box opens, choose the security template that should be imported into the new security database.
  5. Click Open.

How to analyze system security settings

  1. Open the Security Configuration And Analysis console.
  2. You need to have already created the security configuration and analysis database.
  3. Right-click Security Configuration And Analysis and then select Analyze Computer Now on the shortcut menu.
  4. When the Perform Analysis dialog box opens, verify that the path specified for the log file is correct.
  5. Click OK to start the analysis of the computer.

How to view the security analysis results

  1. Open the Security Configuration And Analysis console.
  2. Expand the Security Configuration And Analysis node, expand the appropriate security policies node such as Account Polices or Local Policies, and then select the policy whose results you want to examine.
  3. The analysis results are displayed in the details pane of the Security Configuration And Analysis console, together with flags that indicate whether issues were detected or not.
  4. The columns displayed in the details pane of the Security Configuration And Analysis console are:
    • Policy column; contains the policy name for the results.
    • Database Setting; contains the value within the security template.
    • Computer Setting; displays the security setting configured for the system.
  5. The different flags which can be displayed are:
    • Red X; signifies a disparity from the security database.
    • Green checkmark; signifies consistency with the security database.
    • Red exclamation; signifies an entry which was specified in the security database, but which does not exist in the system which was analyzed.
    • Black question mark; signifies an entry which was not specified in the security database. The item was therefore not included in the analysis.
    • No icon; signifies a policy that was not in the template.

How to examine the Security Analysis log file

  1. Open the Security Configuration And Analysis console.
  2. Right-click Security Configuration And Analysis and then select View Log File from the shortcut menu.
  3. Any discrepancies between the security template and the existing security settings on the computer are specified as a mismatch.

How export the security database settings to a security template

  1. Open the Security Configuration And Analysis console.
  2. Right-click Security Configuration And Analysis and then select Export Template on the shortcut menu.
  3. The Export Template To dialog box opens.
  4. Enter a name for the file in the File Name box.
  5. In the Save In box enter the path wherein the template should be saved.
  6. In the Save As Type list, select the type of file which should be saved.
  7. Click Save.

How to resolve security configuration discrepancies

There are a number of options which you can consider to resolve security discrepancies detected from the security analysis:

To edit the security database to reflect the existing system security configuration,

  1. Open the Security Configuration And Analysis console.
  2. In the details pane of the console, double-click the particular security setting that you want to change.
  3. Enable the Define This Policy In The Database checkbox.
  4. Specify the security value which should be reflected in the security database.
  5. Click OK.

To import a more suitable template to the security database,

  1. Open the Security Configuration And Analysis console.
  2. Right-click Security Configuration And Analysis and then select Open Database from the shortcut menu.
  3. When the Open Database dialog box opens, select the security database that the security template should be imported to, and then click Open.
  4. Right-click Security Configuration And Analysis in the left pane again and then select Import Template from the shortcut menu.
  5. When the Import Template dialog box opens, select the security template file which you want to import.
  6. Click Open.

To configure system security to match the security configuration and analysis database,

  1. Open the Security Configuration And Analysis console.
  2. The security database should be set already.
  3. Right-click Security Configuration And Analysis and then select Configure Computer Now from the shortcut menu.
  4. The Configure System dialog box opens.
  5. In the Error Log File Path box specify the path for the Security Analysis log file.
  6. Click OK.

Troubleshooting Security Configuration And Analysis

A few typical issues encountered when using Security Configuration And Analysis are listed here, together with a few recommendations for resolving the issues:



Top 5 Free Networking Tools

Bookmark Defining a Baseline Security Template

Latest Blog Posts


English English GermanGerman SpanishSpanish FrenchFrench ItalianItalian PortuguesePortuguese RussianRussian DutchDutch
GreekGreek HindiHindi JapaneseJapanese KoreanKorean ChineseChinese Chinese (Simplified)Chinese (Simplified) ArabicArabic

Copyright 2009 Tech-FAQ. All rights reserved. Privacy Policy.