Windows server 2003 – How to set up first domain controller

Posted by aidas | Posted in Active directory, Windows 2003 | Posted on 13-05-2009

0




This post will help you to create first domain controller in your domain. Lets say we have  Windows Server 2003 named “testserver” and our task is to create first domain controller for our domain named “testdomain.lan”.

***

1 STEP – TCP/IP SETUP

***

First of all we need to asign static IP address to our future domain controller. To do it go to “Network Connections”, select Network card and open TCP/IP properties. In my example i`ll assign these values:

IP address: 10.0.0.2
Subnet mask: 255.255.255.0
Default gateway: 10.0.0.1
Preferred DNS server: 10.0.0.2

Make sure that Preferred  DNS server points to your IP address:

windows TCP/IP

***
2 STEP – DNS SERVICE SETUP
***
Next step is to configure DNS server for your future domain. For that press Start and click Run. Type appwiz.cpl and press OK. Click “Add/Remove Windows Components”.
In “Windows Components Wizard” windows select “Networking Services” and press “Details…”.
In “Networking Services” window check “Domain Name System (DNS)”  and press OK.
DNS services
Wait for DNS install to finish its work. When setup is over press Start>Programs>Administrative Tools>DNS. In DNS management right click “Forward Lookup Zones” and select “New Zone”.
Add new zone
Select “Primary Zone” as zone type and press “Next”. In “Zone name:” window type your domain name. In our example it is testdomain.lan.
Zone name
Press “Next” two times. In “Dynamic Update” section select “Allow both nonsecure and secure updates” option and press “Next”. Press “Finish” to complete new zone creation.
After you succesfully created Forward lookup zone lets create new Reverse lookup zone for you domain. For that right click on “Reverse Lookup Zones” in DNS management and select “New zone”.
Reverse Zone
In “Zone type” section leave “Primary Zone” selected and press “Next”.
In “Reverse Lookup Zone Name” window type your network ID. It is first three octets of your network IP address. In our example it will be 10.0.0
Reverse zone name
Press “Next” two times. In “Dynamic Update” section select “Allow both nonsecure and secure updates” option and press “Next”. Press “Finish” to complete new zone creation.
DNS server configuration is completed for now and we can proceed with domain controller set up.
***
3 STEP – DCPROMO
***
Last step is to run dcpromo command to setup your domain controller. Press Start>Run, type dcpromo and press OK. Press “Next” two times until you reach “Domain controller type” section. Make sure you select “Domain controller for a new domain” as you are setting up first domain controller. Press “Next”. In next window select “Domain in a new forest” option and press “Next”.
In “New Domain name” window enter your domain name as “Full DNS name for new domain”. In our example it will be testdomain.lan :
Domain name
Press “Next”. In “NetBIOS domain name” section press “Next”. In “Database and Log Folders” windows leave defaults and press “Next”. In “Shared system volume” window press “Next”. If 1 and 2 STEPS were configured correctly you`ll get similar window:
DNS diagnostic
Press “Next”. In “Permissions” section leave default “Permissions compatible only with Windows 2000 or Windows server 2003 operating systems” option unless you are planing to use legacy server systems in your domain. Press “Next”.
In “Directory Services Restore Mode Administrator password” section enter password for DSRM. This mode is needed when you want to troubleshoot active directory database problems or restoring deleted AD objects. Press “Next”.
In “Summary” screen review your domain configuration one more time and press “Next” to start Active Directory creation process.
After process is over you will get following window:
AD created
Press “Finish” and restart your server.  Note that after restart from now on you have option to login to newly created domain.
domain login
WELL DONE !!!
Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • StumbleUpon
  • Blogosphere News


Follow us on Twitter !
Follow us on Twitter!


Write a comment