Installing DNS and Active Directory in Win2008

download Installing DNS and Active Directory in Win2008

of 18

Transcript of Installing DNS and Active Directory in Win2008

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    1/18

    Lab :Installing DNS and Active Directory. (domain controller installation)

    This tutorial will explain how to setup Windows Server 2008 Domain Controller and DNS

    Server.

    PREREQUISITES:

    - make sure you have a static IP address. (you can always verify your DHCP address withIPCONFIG and enter IP, subnet mask and gateway as a static address.- very important : if you are installing your first domain controller and this machine is

    also working as the one and only DNS server, then make sure that:your Preferred DNS setting (IP settings) is set to : 127.0.0.1- Make sure that your DNS suffix is correctly entered in your computer properties.Windows will need this suffix setting for the registration of your Ip address and

    hostname in DNS.

    Installing DNS and AD

    1.Click on Start > Run

    Now type dcpromo > Click OK

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    2/18

    The system will start checking if Active Directory Domain Services ( AD DS) binaries areinstalled, then will start installing them. The binaries could be installed if you had run thedcpromo command previously and then canceled the operation after the binaries were

    installed.

    The Active Directory Domain Services Installation Wizard will start, either enable the

    checkbox beside Use Advanced mode installation and Click Next , or keep it unselectedand click on Next

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    3/18

    The Operating System Compatibility page will be displayed, take a moment to read it andclick Next

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    4/18

    2.Choose Create a new domain in a new forest, Click Next

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    5/18

    3.Enter the Fully Qualified Domain Name of the forest root domain inside the textbox,click Next

    Fully Qualified Domain Name for this exercise : DOMX.KHK (the "X" will be different forevery student).

    Fully Qualified Domain Names must be unique (and can not be changed be changed in aquick fix scenario)

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    6/18

    If you selected Use advanced mode installation on the Welcome page, the DomainNetBIOS Name page appears. On this page, type the NetBIOS name of the domain ifnecessary or accept the default name and then click Next.

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    7/18

    4.Select the Forest Functional Level, choose the level you desire and click on Next.

    Choose : windows server 2003

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    8/18

    Make sure to read the description of each functional level to understand the differencebetween each one.

    In the previous step, If you have selected any Forest Functional Level other thanwindows Server 2008 and clicked on Next , you would then get a page to select thedomain Functional Level. Select it and then click on Next

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    9/18

    In the Additional Domain Controller Options page, you can select to install the domainName Service to your server. Note that the First domain controller in a forest mustbe a Global Catalog thats why the checkbox beside Global Catalog is selected

    and it cannot be cleared. The checkbox is also selected by default when you install anadditional domain controller in an existing domain, however you can clear this checkboxif you do not want the additional domain controller to be a global catalog server. The

    first domain controller in a new forest or in a new domain can not be a ReadOnly Domain Controller (RODC), you can later add a RODC but you must have atleast one Windows Server 2008 Domain Controller.

    I want to set my DC as a DNS Server as well, so I will keep the checkbox beside DNSserver selected and click on Next

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    10/18

    5.If you dont have static ip assigned to your server you will see similar to the followingscreen now you need to assign static ip and start the above process.

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    11/18

    If the wizard cannot create a delegation for the DNS server, it displays a message toindicate that you can create the delegation manually. To continue, click Yes

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    12/18

    Now you will have the location where the domain controller database, log files andSYSVOL are stored on the server.

    The database stores information about the users, computers and other objects on thenetwork. the log files record activities that are related to AD DS, such information aboutan object being updated. SYSVOL stores Group Policy objects and scripts. By default,SYSVOL is part of the operating system files in the Windows directory either type orbrowse to the volume and folder where you want to store each, or accept the defaultsand click on Next

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    13/18

    In the Directory Services Restore Mode Administrator Password (DSRM) page, write apassword and confirm it. This password is used when the domain controller is started inDirectory Services Restore Mode, which might be because Active Directory Domain

    services is not running, or for tasks that must be performed offline.Make sure that youmemorize this password when you need it.

    For the purpose of this exercise we will NOT enter a Restore password.

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    14/18

    Summary page will be displayed showing you all the setting that you have set . It givesyou the option to export the setting you have setup into an answer file for use with otherunattended operations, if you wish to have such file, click on the Export settings buttonand save the file.

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    15/18

    DNS Installation will start

    Followed by installing Group Policy Management Console, the system will check first if itis installed or not.

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    16/18

    Configuring the local computer to host active directory Domain Services and otheroperations will take place setting up this server as a Domain Controller active DirectoryDomain Services installation will be completed, click Finish.

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    17/18

    Click on Restart Now to restart your server for the changes to take effect.

    Once the server is booted and you logon to it, click on Start > Administrative Toolsyou will notice that following have been installed :Active Directory Domains and TrustsActive Directory Sites and ServicesActive Directory Users and ComputersADSI EditDNSGroup Policy Management

  • 8/2/2019 Installing DNS and Active Directory in Win2008

    18/18

    Thats it now your new win server 2008 domain controller with dns server setup wascompleted.

    6.check DNS. Check your DNS zone file after the reboot.

    It should contain 4 directories that start with an underscore. This means that domain and

    computer registration is working the way it should.