How To Install Active Directory On Windows Server 2008

As you probably know Active Directory stores information about objects on the network and makes this information available to users and network administrators. AD uses domain controllers to give network users access to permitted resources anywhere on the network through a single logon process.  In this article I will go through the installation of active directory on Windows server 2008.


Things you need before installing Active Directory on Windows Server 2008

  • Have Windows server 2008 already installed.
  • Have administrative privilege on the system
  • be able to reboot the system any time.
  • Have an NTFS partition with enough free space

Things you should keep in mind

  • If you are installing active directory on windows server 2008 for the first time, it must be a global catalog server, it cannot be RODC.
  • NT 4.0 domain controllers are not supported on windows server 2008 anymore. if you still have NT domain controllers on your network, you need to have 2000/2003 DCs to support them.
  • If you are making windows 2008 a domain controller on 2003 forest, you must prepare the forest for windows 2008 by running ADPREP.

Final preparations

the last thing I will do to start the installation of active directory is to change the name of the computer to reflect the new status. to do that, login to the server and click on the Start button and right-click on Computer and go to Properties. at the bottom under computer name, domain, and workgroup settings, click on the Change settings:

Change computer name

the System Property window will come up.

click on the change tab, and change the computer name to whatever you want.

image

Click on the OK button. Windows Server 2008 will  now reboot.

Installing Active Directory Domain Services

Now that we have renamed the computer to something that reflects the new role on windows server 2008, we will proceed with the installation of active directory. I always recommend using the server manager interface when installing active directory and other network services. to install active directory domain services, go to Start and click on Server Manager.

the server manager window will come up:

Serbe

The Select Server Role window will come up:

Select Server Roles

Make sure the Active Directory Domain Services option is checked.

click on Next after checking the option.

Active directory  domain services (AD DS) is something new on Windows Server 2008. on the following window you can read a small introduction about it. click next when you finish reading.

Active Directory Domain Services

click Next on the above window.

on the following window, you will be asked to confirm the installation of domain services:

confirm installation selections

click on Install to start the installation.

Installation progress

You should receive the Installation Results window after the installation completes.

Installation results

Note: this only installs Active Directory domain services, it does not make Windows server 2008 a domain controller. for that we will need to run the DCPROMO wizard.

Installing Active Directory Domain Controller

after Active Directory Domain Services have been installed, you should return to the Server Role Interface. click on Active Directory Domain Services:

Active Directory Domain Services

on the window that pops up, you will see a summary message that reads, “This server is not yet running as a domain controller: Run Active Directory Domain Services Installation Wizard ( dcpromo.exe)

Click on the blue link.

Run Active directory services dcpromo

by clicking on the blue link, the dcpromo.exe wizard should come up:

dcpromo wizard

make sure “Use advanced mode installation” option is checked and click Next.

read the provided information on the next screen. that explains some new features on windows server 2008 domain services that might affect older Windows operating systems and non Microsoft SMB clients on an existing domain.

Operating System compatibility

Click Next after you read the above warning.

on the following screen, choose your deployment configuration.

choose a deployment configuration

because this is my first domain controller, I will choose the “Create a new domain in a new forest” option.

create a new domain in a new forest

click on Next.

Choose the name for your forest root domain on the following window.

name the forest root domain

click Next after choosing your fully qualified domain name.

the wizard will check if that forest name is already in used:

image

after a few seconds, the wizard will ask you to enter the NetBIOS name:

image

the default NetBIOS name should be fine. click on the Next tab.

on the following screen, choose the forest functional level:

Forest functional level

I will choose Windows Server 2003 as my functional level. Choosing windows server 2008 functional level does not provide any new features over the Windows 2003 forest functional level. However, it ensures that any new domains created in this forest will automatically operate at the Windows Server 2008 domain functional level, which does provide unique features. click on Next.

Checking DNS configuration

Clicking next, the dcpromo wizard will check for DNS configurations.

If DNS is not installed on your system, choose the DNS Server option on the following screen.

Installing DNS Server

here you get the info that tells you:

The first domain controller in a forest must be a global catalog server and cannot be an RODC.

Click on Next.

if your server does have static IP address assigned on the server, you might get the following warning:

image

as you can see, having dynamic assigned IP address is not recommended. use static IP addresses for servers whenever is possible.

choose your option, and click Next.

another warning:

image

if you get this warning, click on OK.

choose the location of the AD database on the following screen:

Location for database

Leave the default settings, and click on Next.

Enter your the password for your Restore Mode Administrator on the following screen.

Directory Services Restore mode

click Next after entering the password.

on the following screen you should get the Summary page.

image

click on Next.

damn it!! I got an error saying I need to install DNS manually.

image

An error occurred while the wizard was installing DNS, you will have to configure DNS for this domain manually.

this is the first time I let the dcpromo.exe to configure DNS for me, and I kind of was expecting for this error. that will be the subject of the next article.

click OK on the error for now.

active directory installation should start installing. but it won’t work perfect until DNS is install.

active directory installing

after awhile, you should get the completion window.

active directory finish

click on Finish.

you will need to reboot the computer.

restart computer

go ahead and restart the computer, and if you need to install DNS do so after the reboot.



Related stuff:

46 Responses to How To Install Active Directory On Windows Server 2008

  1. raghu says:

    thanks dood
    it’s working

  2. Alex says:

    perfect explanation, thanks so much.

  3. krishna says:

    thanku

  4. kiron says:

    Great explanation. Many thanks!!!!

  5. Sunny says:

    Thanks Nice and easy Explanation Thanks

  6. Sanjay Belekar says:

    Thanks for suggetion very very thanks

  7. John says:

    How about a tutorial on how to add new machines to the domain and stuff like that?

  8. Michael Beatty says:

    In server roles I was only offered 2 options IIS7 and Windows Server updates. How do I get the other roles (Active Directory, DNS etc to come up?) Did I miss something in the installation or something?

  9. tpham says:

    Nelson Amaya,
    Do you have any way to setup a DNS server (winddows 2008) without a valid DNS name. I'd like to install it locally in home network because I don't have a domain name.
    If it has to need a domain name, can I use no-ip.com free name?
    Thanks in advance,

  10. Sky says:

    Thanks for your guide…this is nice guide

  11. Rick says:

    So I just did this, and now Windows won't load after reboot. It gets to the loading screen and just sits there and thinks forever. Any ideas?

    • Ruben says:

      You need to disable write caching.. Goto device manager->Disk drives->double click on your primary HDD ->policies>disable write caching

  12. carlos says:

    Hi @ All,
    Great explanation. It helps to me for the installation for a new Server 2008 RC2. But the AD Installation was too long (2 hours) and after all the Windows wont load (black screen with the maus pointer), have anyone any idea about this?
    Regards

    Carlos

    • Stuart says:

      I’m having the same idea, about to re-format and try Ruben’s suggestion, will let you know if it worked

      • Stuart says:

        It didnt work for me, but I did find a solution, I set the BIOS to its fail-safe defaults. Now I just need to find out what setting(s) were causing the problem

  13. Chai says:

    Good article.

    "another warning:

    A delegation for this DNS server cannot…….

    if you get this warning, click on OK."

    should be modfied to :

    "if you get this warning, Do you want to continue? click on YES."

    Thanks.

  14. Ray says:

    Excellent walk though. Thanks a lot.

  15. Palvinder singh says:

    Perfect explanation
    Carry on your great work Thanks

  16. shabana says:

    thanksssssssssss

  17. shabaaz says:

    deepnder says you open the web site

  18. hustla says:

    great stuff man srsly 2008 lay out is a bitch compared to 2003

  19. Haresh says:

    thanks for info

  20. KashifKhan says:

    Thanks dude! 

  21. Prabuddhamisra says:

    it’s verry good write in hare.. i never find that way in my book.

  22. JANE says:

    This link and the steps was very helpful thanks alot

  23. Faisal says:

    Hi,

    Thank you very much for giving such a wonderful explanation.

    I am facing some issues after the setup of DNS server. we had a server in our company domain and I was setting up Active Directory Domain Service as per your explanation. After the restart system, we are unable to login using our company user id. When we enquired to support team, what they are telling we have created this machine as a domain and removed from company domain. So need to demote. But we are unable to login to do this step(Previously we were login using remote desktop preoving our company user id which have adminprivilage on this server). Is there any solution to login?

  24. kuldeep Sharma says:

    its really helpful thanks for that…

  25. janet says:

    This steps were very clear & helpful. Thank you.

  26. Pingback: SharePoint 2010 Help » Fixing SharePoint After Installing Active Directory

  27. vijay kumar says:

    This link and the steps was very helpful thanks alot

  28. vijay kumar says:

    This link and the steps was very good thanks alot

  29. Brendan says:

    Thank you for taking the time to put this guide together, I found it a great help.

  30. sandeep panwar says:

    i just type on google …………active directory……
    And i find that link …….its really oosome…….

  31. sara says:

    hi
    i did this. just when i want log in my pass goes wrong. i forgot password
    what should i do?
    please help me

  32. EL Hoss says:

    for dns error yes you must click yes
    many thanks for this conclision

  33. raghavendra says:

    thanks

  34. satya says:

    yes this is very nice.

    Thanks….

  35. mohsen moaddel says:

    how to backup active directory ?

  36. mohsen moaddel says:

    THANK YOU

  37. ynnoswafu says:

    hi,

    can you help setup windows server 2008 but i have problems using ip address due to our current
    or existing domain server with its DNS activated. the ip of this server was obtained automatically
    from our dchp firewall.

    as demonstrated above… i have to configure the ip address manually, we had a separate lease ip
    address for win2k8 to be used for ftp. which should i use? please post message on my email if you
    are available. thanks

  38. David says:

    thanks so VERY much – real lifesaver.. just what I needed.. nothing but the facts and procedure – nice and simple!

  39. Sam sewanyana says:

    Thanks man its a nice article ; its now working

  40. Pingback: How To Install Active Directory On Windows Server 2008

  41. SUJIT says:

    ********THANK YOU********

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>