This step-by-step article describes how to use the Secedit.sdb database to analyze your security settings. This analysis can identify security holes that may exist in your current configuration, and can also identify changes that will occur if you use a security template to configure your computer.
You can analyze your current settings against a baseline template at any time. This analysis is useful for several reasons:
- To identify security holes that may exist in a current configuration.
- To identify the changes that a security policy may make before you actually deploy the security policy.
- To identify deviations from a policy that is currently imposed on a computer.
How to Start the Security Configuration and Analysis Snap-In
- Click Start, click Run, type mmc in the Open box, and then click OK.
- On the Console menu, click File, click Add\Remove Snap-in, and then click Add.
- In the list of available stand-alone snap-ins, click Security Configuration and Analysis, and then click Add.
- In the list of available stand-alone snap-ins, click Security Templates, and then click Add.
- Click Close, and then click OK.
How to Perform the Security Analysis
You can use the Secedit.sdb database to compare local security settings against Group Policy settings that are downloaded from a domain:
- Start Windows Explorer, and then open the WINDOWS\Security\Database folder.
- Make a copy of the Secedit.sdb database.
That database contains local security settings.
- Quit Windows Explorer, and then switch to the Microsoft Management Console (MMC) window.
- Right-click Security Configuration and Analysis, and then click Open Database.
- Click the copy of the Secedit.sdb file that you created in the WINDOWS\Security\Database folder, and then click Open.
Note that you receive an error message if you try to load the original Secedit.sdb file.
- Right-click Security Configuration and Analysis, and then click
Analyze Computer Now.
- In the Error log file path box, type C:\WINDOWS\Security\Logs\Mysecure.log.
NOTE: If Windows Server 2003 is installed in a folder other than the C:\WINDOWS folder, modify the path that you type to match your installation.
- Click OK. After the analysis is complete, the security areas are available under the Security Configuration and Analysis node.
How to View the Results
- In the left pane, expand the Security Configuration and Analysis node.
- Click the Description bar to expose the database with which you are working. If the Description bar is not visible, click Customize on the View menu, and then click to select the Description bar check box.
- Expand the Local Policies node, and then click Security Options .
Notice that both the database setting and the actual system setting are displayed in the right pane for each object.
- Differences are marked with a red flag.
- Consistencies are marked with a green check mark.
- If there is no flag or check mark, the security setting is not specified in the security database.
You can double-click any setting to investigate differences.
Article ID: 816119 - Last Review: February 28, 2007 - Revision: 3.3
- Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
- Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
- Microsoft Windows Server 2003, Standard Edition (32-bit x86)
|kbsecurityservices kbinfo kbhowto KB816119|