Monday, August 22, 2011

Step by Step Installation of Active Directory + DNS + DHCP on Windows 2008 R2 Server for Fresher's


Installation of Active Directory on any Server OS would be a very small or basic thing for many people but I see so many fresher’s struggling with the Installation of AD, DNS, DHCP so to help them i have listed down the process and step by step installation of AD, DNS, DHCP below:

Active Directory (AD): “An active directory is a directory structure used on Microsoft Windows based computers and servers to store information and data about networks and domains. It is primarily used for online information and was originally created in 1996. It was first used with Windows 2000.”
http://www.tech-faq.com/active-directory.html


1. Go to Start->Run and type the dcpromo command and say OK.
Now when you say OK you will get below screens.
Say NEXT.
You can use the advanced mode installation option if:
  1. Creating a new domain tree.
  2. Using Backup media from an existing domain controller in the same domain to reduce network traffic that is associated with initial replication of additional domain controllers. etc..

http://trycatch.be/blogs/roggenk/archive/2007/09/03/active-directory-domain-services-ui-changes-part-1.aspx

We'll not use advanced mode installation as of now and will click NEXT:

Click NEXT.

Select create a new domain in a new forest and Click NEXT.
Give FQDN name for root domain e.g. ABC.COM
It will check whether the name is already in use within your existing infra.
Select the Forest Functional Level and Click NEXT.
Select the Domain Functional Level and click NEXT.
If you want to install DNS feature on the same server select the DNS Server option and click NEXT.
DNS Server:Domain Name System (DNS) is the name resolution protocol for TCP/IP networks, such as the Internet. Client computers query a DNS server to resolve memorable, alphanumeric DNS names to the IP addresses that computers use to communicate with each other.”
Please note: By default the very first server installed on the Forest becomes Global catalog server
Click YES on the below message.
Select the default options and click NEXT.
Specify an AD restore mode Administrator password and click NEXT.
Verify the Summery and click NEXT.
Now restart the Server.
You have successfully configured the AD and DNS on the Server.

DHCP server Configuration:
What is DHCP?
Dynamic Host Configuration Protocol (DHCP) is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information such as the subnet mask and default gateway. RFCs 2131 and 2132 define DHCP as an Internet Engineering Task Force (IETF) standard based on Bootstrap Protocol (BOOTP), a protocol with which DHCP shares many implementation details. DHCP allows hosts to obtain necessary TCP/IP configuration information from a DHCP server.
http://technet.microsoft.com/en-us/library/cc781008(WS.10).aspx
To configure the DHCP Server, Start the Server Manager console and click on the Add Roles.
Click NEXT.
Select the DHCP Server from the role list and click NEXT.
Click NEXT.
Select the Network connection, Multiple n/w connections also can be selected depending on the requirement and click NEXT.
Specify the DNS Server setting and click NEXT.
Specify the WINS server(We are not using the WINS server) if required and click NEXT.
Specify the DHCP Scope/range and click NEXT.

Configure the DHCPv6 if required and click NEXT.
Specify the credentials and click NEXT.
Verify the summery and Click INSTALL.
Installation completed Successfully.

Click close.