Implementing Account and Security Policies

Understanding Security Policy Types

With Windows Server 2003, you can implement and manage security settings at the following levels:

Local security policies are managed through Local Computer Group Policy Objects (GPOs), and domain security policies are managed through Group Policy with the Active Directory Domain Controller GPOs. However, domain security policies override local security policies.

In Windows Server 2003 Active Directory environments, group policies include configuration settings for the following:

What is Group policy and GPOs?

Group Policy settings are stored in a Group Policy Object (GPO). Group Policy is an Active Directory feature that provides the means for you to effectively and efficiently manage large numbers of computers. You can manage both user and computer configuration settings centrally. You can define group policies that affect a computer, irrespective of the particular user logging on to the computer. For instance, you can through a policy, configure the proxy server settings for a computer. You can define group policies that affect a user, irrespective of the computer which the user utilizes to log on to the system. For instance, you can use group policies to specify the applications or programs which are available to the user, and the programs which should exist on the user's desktop

You can define group policies as being a collection of user and computer configuration settings which you can link to computers, sites, domains and organizational units (OUs). Once linked, Group Policy defines the manner in which the operating system, network resources, and applications and programs operate for users within the organization.

A group policy object (GPO) is an Active Directory object which contains one or more Group Policy settings which affect the configuration settings for users or computers. A GPO acts as a container for the settings configured in Group Policy files. The Active Directory components that can be linked to a GPO are computers, sites, domains, organizational units (OUs). By linking a GPO to sites, domains, and OU actually applies the GPO settings to any user or computer objects within that particular container.

An important Group Policy concept is that Group Policy settings are hierarchical. What this means is that it can be linked and applied at different levels, as illustrated below:

All computers and users located beneath the container that the GPO is linked to, is automatically within the scope of the particular GPO. They will therefore be affected by each and every Group Policy setting specified in the GPO.

Because multiple GPOs can be linked to sites, domains, and OUs, they are applied to either the user or to the computer in a particular sequence or order. This concept is illustrated below:

  1. Local GPO: A computer running Windows Server 2003 has a local GPO. The local GPO is applied first and therefore has the least precedence when group policies are applied. They are always overridden by Active Directory based GPOs. Active Directory based GPOs are also referred to as nonlocal GPOs.
  2. Site GPOs: A GPO linked to a site in Active Directory is applied after the local GPO is applied. Because multiple GPOs can be linked to a particular site, the site GPOs are applied in the order as specified by the Administrator.
  3. Domain GPOs: Domain GPOs are applied next, and therefore have higher precedence than site GPOs and the local GPO. Again, when multiple GPOs are linked to a particular domain, they are applied in the order as defined by the Administrator.
  4. OU GPOs: OU GPOs have the highest precedence. Group Policy application starts at the top of the tree, and then moves down to the OU containing the user object or computer object.

Group Policy settings are usually passed from a parent OU to a child OU. This is known as Group Policy inheritance. When Group Policy settings are specified for a parent OU, the Group Policy settings are applied to each child OU associated with the particular parent OU. If the same Group Policy setting is specified for a parent OU and a child OU, the setting of the child OU overrides the setting of the parent OU. You can however override Group Policy inheritance to prevent a child OU from receiving the Group Policy settings of its parent OU.

To configure and manage policy settings in GPOs, and link GPOs to computers, sites, domains and organizational units (OUs), Windows Server 2003 provides the following set of management tools:

Understanding and Configuring Account Policies

Through account policies, you can configure security settings for passwords, account lockout options, and Kerberos authentication.

Account policies can be accessed by expanding Local Computer Policy, Computer Configuration, Windows Settings, Security Settings, then expanding Account Policies.

Password Policies

Passwords are probably the component that presents the most vulnerability in an authentication implementation. Passwords that are weak can easily be identified, even when password encryption is used. Password policies dictate the characteristics of passwords which are allowed for user accounts and ensure that they are enforced on the computer. Password policies are configured on a computer, and not for individual user accounts.

How to configure password policy on a computer

  1. Click Start, click Run, enter mmc in the Run dialog box, and click OK
  2. A blank MMC console is opened
  3. Click Add/Remove Snap-In from the File menu. Click Add
  4. When the Add Standalone Snap-In dialog box is displayed, choose Group Policy. Click Add
  5. The Select Group Policy Object dialog box is displayed next. This is where you point the Group Policy snap-in at either the local computer or at a remote computer
  6. The Allow The Focus Of The Group Policy Snap-In To Be Changed When Launching From The Command Line check box is where you set whether the option should be given when you launch the MMC to select the computer on which to use Group Policy.
  7. Click Finish to have the Group Policy pointed at the local computer.
  8. Click Close to exit the Add Standalone Snap-In dialog box
  9. Click OK in the Add/Remove Snap-In dialog box, and save the console with Local Group Policy
  10. Proceed to expand Local Computer Policy and beneath Computer Configuration expand Windows Settings, expand Security Settings, then expand Account Policies and click Password Policy.
  11. 1
  12. You can configure the following settings in the details pane: Enforce Password History, Maximum Password Age, Minimum Password Age, Minimum Password Length, Passwords Must Meet Complexity Requirements, Store Password Using Reversible Encryption For All Users In The Domain.

How to configure a domain password policy

  1. Open the Active Directory Users and Computers console under the Administrative Tools Menu.
  2. In the console tree, locate and right-click the domain for which you want to implement a password policy, and then select Properties from the shortcut menu.
  3. When the Properties dialog box for the domain opens, select the Group Policy tab.
  4. From Group Policy tab, you can create a new password policy for the domain, or you can change the default domain policy.
  5. To create a new policy, click New; or alternatively click Edit to change the default policy.
  6. Click Edit to change the default policy.
  7. Click Computer Configuration, expand Windows Settings, Security Settings, Account Policies, and then expand Password Policy.
    • Right-click the password policy that you want to implement and then select Properties from the shortcut menu. You can configure the following password policies from here:

      Enforce password history, Maximum password age, Minimum password age, Minimum password length, Password must meet complexity requirements, Store passwords using reversible encryption.

Account Lockout Policies

Account lockout policies should be implemented if your networking environment is particularly vulnerable to threats arising from passwords which are being guessed. Implementing an account lockout policy basically ensures that the account of a user is locked after an individual has unsuccessfully tried for several times to provide the correct password.

The important factor to remember when defining an account lockout policy is that you should implement a policy that permits some degree of user error, but that also prevents unauthorized usage of your user accounts.

The following account lockout settings are located in the Account Lockout Policy area of the Account Policies node:

How to configure an account lockout policy for a domain

  1. Open the Active Directory Users and Computers console under the Administrative Tools Menu.
  2. In the console tree, locate and right-click the domain that you want to work with, and then select Properties from the shortcut menu.
  3. Select Default Domain Policy, and then click Edit.
  4. Click Computer Configuration, expand Windows Settings, Security Settings, Account Policies, and then expand Account Lockout Policy.
    • Right-click the account lockout policy that you want to implement and then select Properties from the shortcut menu. You can configure the following password policies from here:

      Account lockout duration, Account lockout threshold, Reset account lockout counter after.

How to reset a locked out user account

  1. Access the workstation using a Domain Admins account, or the local Administrator account.
  2. Click Start, All Programs, Administrative Tools and then click Computer Management.
  3. This action opens the Computer Management console.
  4. In the left console tree, click Computer Management, click System Tools, click Local Users and Groups, and then click Users.
  5. Right-click the user account that you want to reset the password of, and select Set Password from the shortcut menu.
  6. When a message dialog appears, warning that the user could possibly lose data as a result of the password reset process, click the Proceed button.
  7. Set the new password for the user.
  8. Click OK.
  9. The system next informs you that the password of the local user account was successfully reset. Click OK.
  10. In the Computer Management console, right-click the user account that you just reset the password for, and then select Properties from the shortcut menu.
  11. 1
  12. Enable the User Must Change Password at Next Logon option
  13. 1
  14. Click OK.

Kerberos Policies

The Kerberos authentication does not transmit passwords during the authentication process. Instead, it uses tickets. Tickets are specially formatted data packets that allow a client to access a resource. The Kerberos authentication type is dependant on the Key Distribution Center (KDC) to issue tickets. Each network client makes use of DNS to find the closest available KDC to obtain a Kerberos ticket. The ticket usually remains active for about 8 or 10 hours. The Key Distribution Center (KDC) is a service which runs as a component of Active Directory. In fact, each domain controller in a Windows Server 2003 domain operates as a Key Distribution Center (KDC). It is the Key Distribution Center (KDC) which manages the database of security account information for each security principal within a domain. Security principals that form the foundation of the Active Directory security architecture are user accounts, security groups, and computer accounts.

Understanding and Configuring Local Policies

Local policies can be accessed by expanding Local Computer Policy, Computer Configuration, Windows Settings, Security Settings, then expanding Local Policies.

Audit Policies

How to configure an audit policy for the local computer

  1. Click Start, Programs, Administrative Tools, and then click Local Security Policy.
  2. Expand the Local Policies in the left pane.
  3. Click Audit Policy.
  4. The options which you can define audit policy for are listed in the right pane.
  5. Proceed to select and double-click the desired option.
  6. When the Properties dialog box for the policy which you have selected opens, enable success audit, failure audit, or both success and failure audits.
  7. Click OK.

How to configure an audit policy for a domain controller

  1. Click Start, Programs, Administrative Tools, and then click Domain Controller Security Policy.
  2. Expand the appropriate nodes in the left pane to move to Computer Configuration, Windows Settings, Security Settings, Local Policies, and then Audit Policy.
  3. Click Audit Policy.
  4. Proceed to select and double-click the desired option.
  5. When the Properties dialog box for the policy which you have selected opens, enable success audit, or failure audit, or both success and failure audits.
  6. Click OK.

User Rights Assignment Policies

It is important not to confuse user rights with permissions. Permissions determine which users are allowed to access specific objects such as files and folders. User rights determine which actions a user is allowed to perform.

How to configure user right assignment policies

  1. Click Start, click Administrative Tools, and then Security.
  2. Expand the Local Computer Policy snap-in, expand Computer Configuration, Windows Settings, Security Settings, Local Policies, and then expand User Rights Assignment.
  3. Open the user rights assignment policies that you want to configure.

Security Options Policies

You can enable Security Options policies to secure server components from a number of threats and accidents. Security Options policies is used to define security for the computer.

Public Key Policies

These policies are used to define how computers send requests to Certificate Authorities (CAs) so that they can install public keys.

Defining System Policies

Configuring and Applying Security Templates

A security template is a collection of security configuration settings that can be applied to a domain controller, member server or a workstation. The settings within a security template are used to control the security configuration of a computer through both local policies and group policies. The security configuration settings contained within security templates are stored in text files. A security template can be applied to a local computer, or incorporated into a Group Policy object in Active Directory. Security templates enable administrators to create consistent security settings within the organization. In addition, the security settings can also be reproduced.

The Security Configuration and Analysis feature, initially introduced in Windows 2000, enables you to create, modify and apply security settings in the Registry through the use of security templates. The tool is useful for scanning, analyzing, and setting local system security. A security template makes it possible for you to configure security settings and store these settings in a file. You can apply security templates which were created in the Security Templates console to the local computer by importing them into a GPO.

  1. The common process for using the Security Configuration and Analysis tool is listed below: Create, or open an existing security configuration and analysis database. This is the database that the Security Configuration And Analysis feature would compare the current security settings of the local computer to.
  2. Analyze the system security of the local computer.
  3. Examine the results of the security analysis, and resolve any reported discrepancies.
  4. Export the security database settings to a security template

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

To avoid settings implemented through the Security Configuration And Analysis tool from overriding local Group Policy settings, you should only use the Security Configuration And Analysis tool to configure security settings for system services, local files/folders, and registry keys.

How to open the Security Configuration and Analysis console

  1. Click Start, Run, and enter mmc in the Run dialog box. Click OK.
  2. In the Console menu, click Add/Remove Snap-In, and click Add.
  3. Click Security Configuration And Analysis, and then click Add
  4. Click Close, click OK,
  5. In the Console menu, click Save.
  6. Enter a name for the console, and then click Save.
  7. You can now access the Security Configuration And Analysis console from the Administrative Tools menu.

How to analyze the security settings of the local computer

  1. Open the Security Configuration And Analysis console
  2. Right-click Security Configuration And Analysis and then select Analyze Computer Now on the shortcut menu.
  3. When the Perform Analysis dialog box opens, verify that the path specified for the log file is correct. If not, enter the proper path for the log file.
  4. Click OK to start the analysis of the computer.
  5. You can view the contents of the log file by right-clicking the Security Configuration And Analysis, and then clicking View Log File on the shortcut menu.


Top 5 Free Networking Tools

Bookmark Implementing Account and Security Policies

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.