For convenience, this document includes a set of Windows 2000 Hardening Guide security configuration templates. The templates may be used to automate the application of recommended security settings defined in this document. However, it is highly recommended that all settings be carefully reviewed prior to applying a security configuration template, since an organization's local security policies may require adjustments to the recommended values or security settings defined in the templates.
The templates supporting this document are listed in the table below and are included as separate files in the download package. The templates are cumulative, in the sense that the baseline template applies to all systems while the individual templates must only be used on the systems they are designed for. The baseline template is not designed to be applied in isolation. It should always be applied in conjunction with one of the other templates, as appropriate. In a domain environment the baseline template contains settings which need to be applied to the domain policy, while the other templates have settings to be applied to various OU's in the domain.
Accompanying this document is a set of security templates that can be used to apply these settings. The following templates are included:
| • | W2KHG_baseline.inf – Common settings that should be applied to all computers |
| • | W2KHG_MemberWks.inf – Settings that are unique to workstations that are members of a domain |
| • | W2KHG_MemberLaptop.inf – Settings that are unique to laptops that are members of a domain |
| • | W2KHG_MemberServer.inf – Settings that are unique to a server joined to a domain |
| • | W2KHG_DomainController.inf – Settings that are unique to domain controllers |
| • | W2KHG_StandaloneWKS.inf – Settings that are unique to standalone workstations |
| • | W2KHG_StandaloneSrv.inf – Settings that are unique to standalone servers |
The templates are included in the downloadable version of the guide. To download the guide and the templates go to http://www.microsoft.com/downloads/details.aspx?FamilyID=15E83186-A2C8-4C8F-A9D0-A0201F639A56&DisplayLang=en.
In a domain environment, we recommend using Group Policy to deploy the settings.
On This Page
Template Modifications and Manual SettingsThe settings below must be manually modified by the implementer of the settings. We have included boilerplate settings. However, you must modify these to reflect the security policy of your organization. You can perform these modifications through the Security Templates snap-in tool, as described in the "Viewing and editing a security configuration template" subsection below. Alternately, you can also modify the INF files themselves directly, although this is not recommended unless you are familiar with their format. Incorrect modification of the INF files may result in serious problems with your system!
The following recommended User and group account modifications should be applied:
Additional configuration procedures:
Security Configuration Template Application ToolsAuthorized administrators can use the following tools to edit and apply the security configuration templates.
At the Domain level, the Domain Security Policy and Domain Controller Security Policy templates must be applied using the Domain Controller's Domain Security Policy and Domain Controller Security Policy GUIs described in the "Windows 2000 Security Policies" subsection of this document. Managing and Applying Security Configuration Security TemplatesThis subsection provides procedures for editing and applying the security configuration templates. Extending the security configuration editor interfaceThe SCE interface can be extended to display and allow the configuration of security settings that are not displayed by default but that may be relevant to your organization via a new sceregvl.inf template. Complete instructions are available in Microsoft knowledgebase article 214752. A template which includes the settings made in this guide is included in the guide download package. To install it simply run the batch file "installSceregvl.bat" also included in the guide. Note that you only need to install this template on the computer you use to make the settings. It does not need to be installed on all the target computers. Viewing and editing a security configuration templateThe security configuration templates may be edited by opening them in a text editor, such as Notepad.exe, or by opening them in the Security Templates snap-in tool. Notepad.exe is recommended if additional recommended registry settings will be added to the template that are not visible via the Security Templates snap-in tool, such as those defined in the "Additional Security Settings" subsection of this document. Use the following procedures to edit a template using the Security Templates snap-in tool:
Applying a security template to a local computerUse the following procedures to apply the security templates locally on a computer running Windows 2000 Server or Professional. If computers that are Domain members are to inherit all the security settings from the Domain, these procedures are not needed on the local computer.
A faster way to configure a computer once a template has been created is to use the secedit.exe command line tool.
Deploying a security template to an Active Directory object security policyThe following procedure imports the security templates included with this guide into the OU structure suggested in this chapter. Before implementing the following procedure on a domain controller, the specific policy (.inf) files must be located on a Windows 2000 Server in your environment. Warning: The security templates in this guide are designed to increase security in your environment. It is quite possible that by installing the templates included with this guide, some functionality in the environment of your organization may be lost. This could include the failure of mission critical applications. It is therefore essential to thoroughly test these templates before deployed them in a production environment. Back up each DC and server in your environment prior to applying any new security settings. Ensure the system state is included in the backup to enable registry settings or Active Directory objects to be restored. Before continuing with the procedure to import the security templates, if the servers in your environment are not running at least Windows 2000 SP3 as recommended in this guide, apply the hotfix discussed in Knowledge Base article 295444, "SCE Cannot Alter a Service's SACL Entry in the Registry." If this hotfix is not applied, the Group Policy templates will not be able to disable any services. A hotfix is a single cumulative package composed of one or more files used to address a defect in a product. Hotfixes address a specific customer situation and may not be distributed outside the customer organization without written legal consent from Microsoft. The terms QFE, patch, and update have also been used as synonyms for hotfix. To import the policy, follow these steps:
Secedit.exe is a command line tool that when called from a batch file or automatic task scheduler, can be used to automatically create and apply templates and analyze system security. It can also be run dynamically from a command line. It is important to note that this policy should be imported into any additional domains in the organization. However, it is not uncommon to find environments where the root domain password policy is much more strict than any of the other domains. Additionally, care should be taken to ensure that any other domains that will use this same policy have the same business requirements. Because the password policy can only be set at the domain level, there may be business or legal requirements that segment some users into a separate domain simply to enforce the use of a stricter password policy on that group. Import a Domain security configuration templateUse the following procedures to import a security template for Domains:
Import a Domain Controller security configuration templateUse the following procedures to import a security template for Domain Controllers:
| In This Article |