Skip to content
ShabazTech

Notes of an IT Pro

ShabazTech

Notes of an IT Pro

  • Microsoft Azure
    • Compute
    • Governance
    • Identity
    • Networking
    • Security
    • Storage
  • Microsoft Entra ID
    • Identity
      • Application Management
      • Governance
    • Security
      • Authentication
      • Conditional Access
    • Global Secure Access
      • Internet Access
      • Private Access
  • Microsoft Intune
    • Apps
      • Microsoft365 Apps For Enterprise
    • Devices
      • Windows Clients
    • Monitoring
    • Security
  • Microsoft 365
    • Defender XDR
    • Purview
  • Microsoft OnPrem
    • AD DS
    • Failover Clustering
    • Hyper-V
    • Powershell
    • SQL Server
      • SQL Server 2008R2
      • SQL Server 2012
      • SQL Server 2016
    • System Center Configuration Manager
      • SCCM 2012R2
    • Windows Clients
    • Windows Server
      • Windows Server 2008R2
      • Windows Server 2012
      • Windows Server 2012R2
      • Windows Server 2016
  • Citrix
    • XenApp 6.5
    • XenApp and XenDesktop 7.6 LTSR
    • XenApp and Xendesktop 7.15 LTSR
  • About The Author
  • Microsoft Azure
    • Compute
    • Governance
    • Identity
    • Networking
    • Security
    • Storage
  • Microsoft Entra ID
    • Identity
      • Application Management
      • Governance
    • Security
      • Authentication
      • Conditional Access
    • Global Secure Access
      • Internet Access
      • Private Access
  • Microsoft Intune
    • Apps
      • Microsoft365 Apps For Enterprise
    • Devices
      • Windows Clients
    • Monitoring
    • Security
  • Microsoft 365
    • Defender XDR
    • Purview
  • Microsoft OnPrem
    • AD DS
    • Failover Clustering
    • Hyper-V
    • Powershell
    • SQL Server
      • SQL Server 2008R2
      • SQL Server 2012
      • SQL Server 2016
    • System Center Configuration Manager
      • SCCM 2012R2
    • Windows Clients
    • Windows Server
      • Windows Server 2008R2
      • Windows Server 2012
      • Windows Server 2012R2
      • Windows Server 2016
  • Citrix
    • XenApp 6.5
    • XenApp and XenDesktop 7.6 LTSR
    • XenApp and Xendesktop 7.15 LTSR
  • About The Author
Close

Search

Subscribe
Active DirectoryMicrosoftTest LabsWindows ServerWindows Server 2008R2

Installing Active Directory on Windows Server 2008R2

By Shabaz
March 23, 2014 4 Min Read
2

This is a step-by-step guide on how to create the first domain controller in a new Windows Server 2008R2 forest. If you are going to perform a test lab of any kind, involving Windows servers, you will most certainly need an Active Directory Domain. In this lab I am using VirtualBox as virtualization software, as I feel its the easiest one to work with, when you just need a simple test lab to test something quickly.

  • Software you will need to perform this exercise
    » VirtualBox (or your virtualization product of choice)
    » Windows Server 2008R2

1. Installation of VirtualBox and Virtual Machines

Download and install VirtualBox, the installation procedure is quite straightforward, so I’m not going to write in details about that. Then create a virtual machine, called Server01, with 1GB ram and 20GB disk.

Mount the Server 2008R2 ISO on the the virtual machine, and install Server 2008R2 Standard edition (Full Installation). Rename the computer to Server01 in Windows. Then give it the following IP address configuration,

Server01: Nic1, ip=192.168.0.10, subnetmask=255.255.255.0, DNS preferred=192.168.0.10

Install the Guest Additions for VirtualBox, and restart the server. You are now ready to promote it to a domain controller.

2. Installation of Active Directory

Microsoft recommends that you install the Active Directory Domain Services role in Server Manger first, but it really is not necessary in a test lab. Log on with the built-in Administrator account. Click on the start button, wirte dcpromo and then press enter.

2.1 When you run dcpromo, you will be told that AD DS binaries are being installed,
and then wizard for installing Active Directory will start. Click Next.
ad1ad2
2.2 You will be shown a Message about OS compatibility. Just click Next.ad3

2.3 Choose create a new domain in a new forest

ad4

2.4 Write a fully qualified domain name
ad5

2.5 Since this is the first domain controller, and it is running Server2008R2, you might as well set Forest Functional Level to 2008R2
ad6

2.6 Leave the options at default settings. The first DC must be writeable and a Global Catalog server
ad7

2.7 In the following message box, just click Yes
ad8

2.8 Leave the location for Database, Sysvol and Log files at default settings
ad9

2.9 Create a DSRM password
ad10

2.10 On the summary page, you can click export settings to create a text file, for use with unattended installation of AD.
Below is a sample text file, which contains the settings we have defined in the wizard. In any case, click next on the summary page
ad11
ad12

2.11 Choose reboot on completion, then sit back and wait until the logon screen shows up
ad13

 

3. Verify installation of Active Directory 

Log on as Contoso\Administrator with the same password as you used earlier to log on as the built-in local administrator account. There are several ways to verify installation of AD. Below are a couple of the simplest ones.

Click Start →Administrative Tools → Active Directory Users And Computers. This will start the AD Users and Computers snap-in, and if you can bind to the domain controller correctly, you will see the contoso.com domain, and you will not receive any errors when expanding it to view its contents.
ad14

Next, Click Start →Administrative Tools → DNS. This will start the DNS Manager snap-in. Here check for the _msdcs.contoso.com and contoso.com forward lookup zones. Also check your new domain controller’s SRV records in the tcp folder of contoso.com.
ad15

 

Additional Resources:
Microsoft Technet: AD DS Installation and Removal Step-by-Step Guide

Tags:

Active DirectoryMicrosoftServer 2008R2Test Labs
Author

Shabaz

Follow Me
Other Articles
Next

Installing StarWind iSCSI SAN Free Edition

2 Comments
  1. Maria says:
    March 27, 2014 at 23:56

    After installing AD preferred dns server changes to 127.0.0.1, why?

  2. Taylor says:
    March 30, 2014 at 01:44

    Hi! I’ve Ƅeen following your site for a while now and finally got the courage to go ahead and give you a shout out from Humble Tx!
    Just wanted to mention keeр up the great job!

Comments are closed.

Archives

Tags

Active Directory Citrix Failover Clustering Microsoft Powershell SCCM SCCM 2012R2 Server 2008R2 Server 2012 Server 2012R2 Server 2016 SQL Server Symantec VSF Test Labs Windows Clients Windows Server XenDesktop 7.6 LTSR Xendesktop 7.15 LTSR

Popular Posts

  • How to check if a machine is physical or virtual
  • Exporting multivalued attributes with Export-CSV cmdlet
  • Installing Remote Desktop License Server on Windows…
  • Configuring Remote Desktop Services Profile settings…
  • Installing Citrix XenApp and XenDesktop 7.15 LTSR
  • Enabling LDAPS with certificate from a 3rd party CA
  • Assigning ownership of files and folders with Takeown.exe
  • Retrieving User properties from Active Directory
  • SCCM 2012 R2 Client Installation
  • Citrix XenApp 6.5 Architectural Components
© 2014- 2026 — ShabazTech. All rights reserved.