Showing posts with label Windows Server. Show all posts
Showing posts with label Windows Server. Show all posts

Sunday, December 2, 2012

Configuring Password and Lockout Policies


Configuring Password and Lockout Policies

In a Windows Server 2008 domain, users are required to change their password every 42 days, and a password must be at least seven characters long and meet complexity requirements including the use of three of four character types: uppercase, lowercase, numeric, and nonalphanumeric.
Use the buttons below to navigate through the lesson


Three password policies—maximum password age, password length, and password complexity—are among the first policies encountered by administrators and users alike in an Active Directory domain. Rarely do these default settings align precisely with the password security requirements of an organization. Your organization might require passwords to be changed more or less frequently or to be longer.
There are exceptions to every rule, and you likely have exceptions to your password policies.
To enhance the security of your domain, you can set more restrictive password requirements for accounts assigned to administrators, for accounts used by services such as Microsoft SQL Server, or for a backup utility. In earlier versions of Windows, this was not possible; a single password policy applied to all accounts in the domain.In this lesson, you will learn to configure fine-grained password policies, a new feature in Windows Server 2008 that enables you to assign different password policies to users and groups in your domain.
If the new password meets requirements, Active Directory puts the password through a mathematical algorithm that produces a representation of the password called the hash code. The hash code is unique; no two passwords can create the same hash code. The algorithm used to create the hash code is called a one-way function. You cannot put the hash code through a reverse function to derive the password. The fact that a hash code, and not the password itself, is stored in Active Directory helps increase the security of the user account.
The password settings configured in the Default Domain Policy affect all user accounts in the domain. The settings can be overridden, however, by the password-related properties of the individual user accounts. On the Account tab of a user’s Properties dialog box, you can specify settings such as Password Never Expires or Store Passwords Using Reversible Encryption. For example, if five users have an application that requires direct access to their passwords, you can configure the accounts for those users to store their passwords, using reversible encryption.
In this lesson, you will learn how to implement your enterprise’s password and lockout policies by modifying the Default Domain Policy Group Policy object (GPO).
Click Group Policy Management. Expand the domain. Right Click Default Domain policy and click Edit. Expand – Computer Configuration>Policies>Windows Settings>Security Settings. Expand Account Policies. Select Password Policies. Right Click Maximum password age and select Properties. Change Password will expire in: to 30 days. Click OK. Maximum password age is now set to 30 days. Next select Account lockout policy and right click Account lockout threshold and select Properties. Set invalid logon attempts to 3. When you Click OK Windows will suggest values for the remaining policies, Click OK to accept these. The suggested values can be changed later. Click OK. The Account lockout policy is now configured. All open dialogue boxes can now be closed.

Fine-Grained Password and Lockout Policy

You can also override the domain password and lockout policy by using a new feature of Windows Server 2008 called fine-grained password and lockout policy, often shortened to simply fine-grained password policy.
Fine-grained password policy enables you to configure a policy that applies to one or more groups or users in your domain. To use fine-grained password policy, your domain must be at the Windows Server 2008 domain functional level. To raise the domain functional level open Active Directory Users and Computers.
Right click the domain and select Raise domain functional level. Select Windows Server 2008 and click Raise. Warning Raising the domain functional level cannot be reversed. Click OK to continue. Click Close to complete.

Fine-Grained Password and Lockout Policy

The settings managed by fine-grained password policy are identical to those in the Password Policy and Accounts Policy nodes of a GPO.
However, fine-grained password policies are not implemented as part of Group Policy, nor are they applied as part of a GPO. Instead, there is a separate class of object in Active Directory that maintains the settings for fine-grained password policy: the password settings object (PSO).
Most Active Directory objects can be managed with user-friendly graphical user interface (GUI) tools such as the Active Directory Users and Computers snap-in. You manage PSOs, however, with low-level tools, including ADSI Edit.
In this exercise, you will create a PSO that applies a restrictive, fine-grained password policy to users in the Domain Admins group. Before you proceed with this exercise, confirm that the Domain Admins group is in the Users container. If it is not, move it to the Users container.
Click Administrative tools>ADSI Edit. Expand the domain. Expand CN=System. Select CN=Password Settings Container. Right click and select New>Object. Click Next to continue. Type a name for the new object and click Next.

PSO Precedence and Resultant PSO

A PSO (Password Settings Object) can be linked to more than one group or user, an individual group or user can have more than one PSO linked to it, and a user can belong to multiple groups. So which fine grained password and lockout policy settings apply to a user? One and only one PSO determines the password and lockout settings for a user; this PSO is called the resultant PSO. Each PSO has an attribute that determines the precedence of the PSO. The precedence value is any number greater than 0, where the number 1 indicates highest precedence. If multiple PSOs apply to a user, the PSO with the highest precedence (closest to 1) takes effect.
Set the Precedence value to 1 and click Next. Type False The password is not stored using reversible encryption and click Next. Type 30 The user cannot reuse any of the last 30 passwords and click Next. Type True Password complexity rules are enforced and click Next. Type 10 Password must be at least 10 characters in length and click Next. Type 1:00:00:00. A user cannot change his or her password within one day of a previous change. The format is d:hh:mm:ss (days, hours, minutes, seconds) and click Next. Type 45:00:00:00. The password must be changed every 45 days and click Next. Type 5. Five invalid logons within the time frame specified by (the next attribute) will result in account lockout and click Next. Type 0:01:00:00. Five invalid logons (specified by the previous attribute) within one hour will result in account lockout and click Next. Type 0:01:00:00. An account, if locked out, will remain locked for one hour or until it is unlocked manually. A value of zero will result in the account remaining locked out until an administrator unlocks it and click Next. The attributes listed are required. After clicking Next on the msDS-LockoutDuration attribute page, you will be able to configure the optional attribute. Click the More Attributes button.
In the Edit Attributes box, type CN=DomainAdmins,CN=Users,DC=es-net,DC=co,DC=uk
and click Set. Click OK. The new PSO is now active.

Resultant PSO

To identify the PSO that controls the password and lockout policies for an individual user.
  1. Open the Active Directory Users And Computers snap-in.
  2. Click the View menu and make sure that Advanced Features is selected.
  3. Expand the domain and click the Users container in the console tree.
  4. Right-click the Administrator account and choose Properties.
  5. Click the Attribute Editor tab.
  6. Click the Filter button and make sure that Constructed is selected. The attribute you will locate in the next step is a constructed attribute, meaning that the resultant PSO is not a hard-coded attribute of a user; rather, it is calculated by examining the PSOs linked to a user in real time.
  7. In the Attributes list, locate msDS-ResultantPSO.
  8. Identify the PSO that affects the user.
The Domain Admins PSO that you created is the resultant PSO for the Administrator account.

Sunday, October 14, 2012

Windows Server 2008 Network Infrastructure Configuring


IPSec Security Policies

IPSec Security Policies are rules and filters that provide a specified level of security. You can create your own policies, but Windows provides three built-in ones: Client (Respond Only). The client will use IPSec if requested but won’t initiate an … Continue reading 

Overview of IPSec

Security is a key part of any network. Companies need to protect their network from eavesdropping and tampering. Windows provides ACLs (Access Control Lists) which can be used to prevent access to data over the network. However, ACLs don’t protect … Continue reading 

DHCP on a Routed Network

Since DHCP uses broadcasts, and routers block broadcasts, clients on remote subnets may be unable to receive TCP/IP information from a DHCP Server. Clients will use Automatic Private IP Addressing (APIPA) if they are unable to locate a DHCP server. … Continue reading 

Configuring a DHCP Server

To access the DHCP server click Administrative Tools> DHCP.  To view DHCP server statistics, right-click on the server. Then select Display Statistics. The Server Statistics box shows general information about the DHCP server such as the number of Acknowledgements and … Continue reading 

Setting up a DHCP Scope

Access DHCP server click Start>Administrative Tools>DHCP. The green arrow next to the server indicates that the DHCP service is running. To create a new scope right-click on the server. Select New Scope. Click Next. Fill in Scope name and description, Click Next to continue. Next, specify … Continue reading 

Installing DHCP

To install DHCP using the Server Manager click on Start.  Select Server Manager. Or from the Quick Launch Taskbar. Select Roles.  Then Add Roles. Click Next to continue.  Select DHCP Server.  Click Next to continue. Then Click Next.   Select Network … Continue reading 

Introduction to DHCP

In large networks the task of assigning TCP/IP addresses can be troublesome. The administrator will have to manually give every machine an IP address and subnet mask, as well as additional information such as DNS and WINS server addresses. A … Continue reading 

Troubleshooting DNS

NSLOOKUP is an important utility that performs query testing and troubleshooting of DNS servers at the command prompt window. NSLOOKUP can be accessed by going to the command prompt window and typing in NSLOOKUP and pressing Enter. Use the buttons … Continue reading 

Configuring DNS Clients

Before the DNS server will be of any use, the clients on the network will need to be configured to use the server. To do this bring up the TCP/IP properties of your network adapter. In the Preferred DNS server … Continue reading 

Install and Configure DNS Server Core

To install DNS on 2008 Server Core. Type start /w ocsetup DNS-Server-Core-Role. Note the syntax of the command and the capitalisation as server roles must be in this format.Once the installation has completed, you need to attach to the server … Continue reading 

Windows Server 2008 Network Infrastructure Configuring


Windows Server 2008 Network Infrastructure, Configuring

Creating Inbound Filters

By default, Windows Firewall (as well as most other firewalls) blocks any inbound traffic that hasn’t been specifically allowed. By default, the Public profile allows absolutely no incoming connections—this provides excellent security when connecting to public hotspots or other non … Continue reading 

Windows Firewall

Windows Firewall filters incoming traffic to help block unwanted network traffic. Optionally, Windows Firewall can also filter outgoing traffic to help limit the risk of malware. Although Windows Firewall’s default settings will work well with components built into Windows, they … Continue reading 

Introduction to SUS

In order to maintain a secure network, it is critical to keep systems up to date with security patches. Since 1998, Microsoft has provided Windows Update as a Web-based source of information and downloads. With Windows XP and Windows 2000 … Continue reading 

Connect To Wireless Network

Users can manually connect to a wireless network, or you can use Group Policy settings to configure client computers to automatically connect to your wireless networks. Use the buttons below to navigate through the lesson Manual Connections To create a … Continue reading 

RADIUS Server

You can use a Windows Server 2008 computer to authenticate wireless users by configuring the Windows Server 2008 computer as a RADIUS server and configuring your wireless access points to send authentication requests to the RADIUS server. Use the buttons … Continue reading 

Authentication Protocols

A first step in establishing a remote access connection is authenticating the user to the server. An authentication protocol is used here. Windows Server 2008 ships with five different authentication protocols all with varying compatibility and security levels. Use the … Continue reading 

Remote Access Overview

Many people work away from their offices, so Windows Server 2008 provides the Routing and Remote Access Service, which lets users connect to their office machines.  The Routing and Remote Access Service (RRAS) allows a client to connect to the … Continue reading 

Wireless Networks

Wireless Networking Concepts Wireless networks have changed the way people use their computers. Organizations can instantly network an entire building—including meeting rooms, common areas, and courtyards. This can increase productivity and provide more flexible work spaces. For some buildings, including … Continue reading 

Network Address Translation

Before a Windows Server 2008 computer can function as a router, the Routing and Remote Access service must be enabled. This is done through the Server Manager console. Use the buttons below to navigate through the lesson Select Roles, then … Continue reading 

IPSec and Remote Access

Security is a major concern when using Remote Access since company data has be transferred over the internet. Using the tunnelling protocol L2TP (Layer 2 tunnelling protocol) a tunnel can be created through another network. Any data inside the tunnel … Continue reading