Install Active Directory On Windows Server 2008 R2

How to Install Active Directory On Windows Server 2008 R2

Microsoft Active Directory provides the structure to centralize the network management and store information about network resources across the entire domain. Active Directory uses Domain Controllers to keep this centralized storage available to network users. In order to configure a Windows Server 2008 machine to act as Domain Controller, several considerations and prerequisites should be taken into account, and several steps should be performed. In this article I will guide you through these prerequisites and steps of creating a new Windows Server 2008 Domain Controller for a new Active Directory domain in a new forest.

Installing Active DirectoryDomain Services (AD-DS)

In Windows Server 2008, unlike previous server operating Systems, there is an additional step that needs to be taken before running DCPROMO to promote the server to Domain Controller and installing Active Directory on it. This step is the installation of Active Directory Domain Services (AD-DS) role on the server. In fact, the AD-DS role is what enables the server to act as a Domain Controller, but you will still need to run DCPROMO the regular way.
AD-DS can be installed in one of 3 methods:

Method 1 - server Manager / Initial Configuration Tasks

Roles can and should be added from Server Manager (but they can also be initiated from the Initial Configuration Tasks wizard that auto-opens the first time you log on to the server).
    1. Open Server Manager by clicking the icon in the Quick Launch toolbar, or from the Administrative Tools folder.
    2. Wait till it finishes loading, then click on Roles > Add Roles link.



















    In the Before you begin window, click Next.


    In the Select Server Roles window, click to select Active Directory Domain Services, and then click Next.
    In the Active Directory Domain Services window read the provided information if you want to, and then click Next.
    In the Confirm Installation Selections, read the provided information if you want to, and then click Next.

    Wait till the process completes.
    When it ends, click Close.
    Going back to Server Manager, click on the Active Directory Domain Services link, and note that there's no information linked to it, because the DCPROMO command has not been run yet.
    Now you can click on the DCPROMO link, or read on.


    To run DCPROMO, enter the command in the Run command, or click on the DCPROMO link from Server Manager > Roles > Active Directory Domain Services.


    Depending upon the question if AD-DS was previously installed or not, the Active Directory Domain Services Installation Wizard will appear immediately or after a short while. Click Next.


    In the Operating System Compatibility window, read the provided information and click Next.
    In the Choosing Deployment Configuration window, click on "Create a new domain in a new forest" and click Next.
    Enter an appropriate name for the new domain. Make sure you pick the right domain name, as renaming domains is a task you will not wish to perform on a daily basis. Click Next.
    Note: Do NOT use single label domain names such as "mydomain" or similar. You MUST pick a full domain name such as "mydomain.local" or "mydomain.com" and so on.
    The wizard will perform checks to see if the domain name is not already in use on the local network.
    Pick the right forest function level. Windows 2000 mode is the default, and it allows the addition of Windows 2000, Windows Server 2003 and Windows Server 2008 Domain Controllers to the forest you're creating. 
    Pick the right domain function level. Windows 2000 Native mode is the default, and it allows the addition of Windows 2000, Windows Server 2003 and Windows Server 2008 Domain Controllers to the domain you're creating.
    Note: If you select "Windows Server 2008" for the forest function level, you will Not be prompted to pick a domain function level. 

    The wizard will perform checks to see if DNS is properly configured on the local network. In this case, no DNS server has been configured, therefore, the wizard will offer to automatically install DNS on this server.
    Note: The first DCs must also be a Global Catalog. Also, the first DCs in a forest cannot be a Read Only Domain controller.

    It's most likely that you'll get a warning telling you that the server has one or more dynamic IP Addresses. Running IPCONFIG /all will show that this is not the case, because as you can clearly see, I have given the server a static IP Address. So, where did this come from? The answer is IPv6. I did not manually configure the IPv6 Address, hence the warning. In a network where IPv6 is not used, you can safely ignore this warning.
    You'll probably get a warning about DNS delegation. Since no DNS has been configured yet, you can ignore the message and click Yes.


      Next, change the paths for the AD database, log files and SYSVOL folder. For large deployments, carefully plan your DC configuration to get the maximum performance. When satisfied, click Next.
      Enter the password for the Active Directory Recovery Mode. This password must be kept confidential, and because it stays constant while regular domain user passwords expire (based upon the password policy configured for the domain, the default is 42 days), it does not. This password should be complex and at least 7 characters long. I strongly suggest that you do NOT use the regular administrator's password, and that you write it down and securely store it. Click Next.

      In the Summary window review your selections, and if required, save them to an unattend answer file. When satisfied, click Next
      .

      The wizard will begin creating the Active Directory domain, and when finished, you will need to press Finish and reboot your computer.


      Note: You can automate the rebooting process by checking the Reboot on Completion checkbox.

      Windows Server 2008 Installation & Configure

      How do I... Install and configure Windows Server 2008 core?

      Component
      Requirement
      Processor
      Minimum: 1.4 GHz (x64 processor)
      Note: An Intel Itanium 2 processor is required for Windows Server 2008 for Itanium-Based Systems
      Memory
      Minimum: 512 MB RAM
      Maximum: 8 GB (Foundation) or 32 GB (Standard) or 2 TB (Enterprise, Datacenter, and Itanium-Based Systems)
      Disk Space Requirements
      Minimum: 32 GB or greater
      Foundation: 10 GB or greater
      Note: Computers with more than 16 GB of RAM will require more disk space for paging, hibernation, and dump files
      Display
      Super VGA (800 * 600) or higher resolution monitor
      Other
      DVD Drive, Keyboard and Microsoft Mouse (or compatible pointing device), Internet access (fees may apply)

      Installation


      • Windows Server 2008 Enterprise (Full Installation)
      • Windows Server 2008 Enterprise (Server Core Installation)
      The following eight screen shots (Figures A-H) walk you through the installation of Windows Server Core which took approximately ten minutes to install.

      When you first run through the installation of Windows Server 2008, you have two options for installation. They are:

      Figure A

      Figure B

      Figure C

      Figure D

      Figure E

      Figure F

      FigureG

      Figure H

      After the installation, the main window for your new installation appears and you are ready to login as shown in Figure I. The initial login is Administrator and blank password (Figure J). You are required to change the password and set an Administrator password on initial login.
      Figure I

      Figure J

      Now that you are logged in (Figure K), you are ready to configure the date, time, and time zone. In the command line type the following: controltimedate.cpl and set the options accordingly (Figure L).
      Figure K

      Figure L

      If you need to configure and change the keyboard layout and settings, type the following in the command window: control intl.cpl (Figure M).
      Figure M

      Let's move on and change the server name. The default name is a bunch of random letters and numbers and I would like to change the name to a local standard. You can view the current hostname by typing the following:
      c:windowssystem32hostname

      c:windowssystem32netdom renamecomputer %computername% /NewName:ssw-svr15

      Now let's use the name ssw-svr15. We will perform this option in the command line (Figure O) by typing the following:
      c:windowssystem32netdom renamecomputer %computername% /NewName:ssw-svr15

      Figure N

      After choosing to proceed, the task completes successfully. You now need to reboot the server using the shutdown command. For the proper syntax, type:
      shutdown /?

      shutdown /r /T 10 /C "Changed Server Name"

      After reviewing the syntax, (Figure N) I will type the following: shutdown /r (switch for shutting down and restarting the computer) /t 10 (wait 10 seconds to shutdown and restart) /c "Changed Server Name" (add comment of max 512 characters). They total syntax will look as follows:
      shutdown /r /T 10 /C "Changed Server Name"

      Figure O

      Let's now configure our networking so we can join this server to a domain. In order to see what interface you have to configure, (Figure P) type
      netsh interface ipv4 show interface

      Figure P

      The Local Area Connection that we are going to configure has an index value of two. Let's proceed and configure TCP/IP for this connection. (Figure Q) Type the following command to set the TCP/IP information:
      netsh interface ipv4 set address name="2" source=static address=192.168.1.199 mask=255.255.255.0 gateway=192.168.1.1

      Figure Q

      Follow the same example to configure DNS (Figure R):
      netsh interface ipv4 add dnsserver name="2" address=192.168.1.1 index=1

      Figure R

      If you type ipconfig /all, you will see the newly added information (Figure S).
      Figure S

      Let's join it to a domain! In order to perform this function, we will take advantage of the netdom.exe. (Figure T) The syntax is as follows:
      netdom join ssw-svr15 /domain:watchtower /userd:Administrator /passwordD:Password01



      Note: Do not forget to reboot the server using the following command:
      shutdown /r /T 10 /C "Added to domain"
      Figure T

      As a final step, we should not forget to activate the server (Figure U) by typing the following:
      slmgr.vbs -ato

      Figure U

      Making connections – Tools

           Cat5e cable
      RJ45 connectors
      Cable stripper
      Scissors
      Crimping tool

      Making connections – Steps

      1. Strip cable end
      2. Untwist wire ends
      3. Arrange wires
      4. Trim wires to size
      5. Attach connector
      6. Check
      7. Crimp
      8. Test


      Step 1 – Strip cable end

      1.    Strip 1 – 1½” of insulating sheath
      2.    Avoid cutting into conductor insulation


      Step 2 – Untwist wire ends

      1.    Sort wires by insulation colors

      Step 3 – Arrange wires

      Step 4 – Trim wires to size

      1.    Trim all wires evenly
      2.    Leave about ½” of wires exposed


      Step 5 – Attach connector

      Maintain wire order, left-to-right, with RJ45 tab facing downward


      Step 6 – Check

      Do all wires extend to end?
      Is sheath well inside connector?


      Step 7 – Crimp

      Squeeze firmly to crimp connecter onto cable end (8P)

      Step 8 – Test

      Does the cable work?