This Month : 1154
Total Visit : 50598
Who's Online : 1

Installing windows server 2003 with active directory and DNS

A tutorial about how you can install the AD and DNS Role on you win server 2003

First of all you need to install a windows server! In this tutorial I used a windows server 2003

After the installation I would recommend you to use a static IP, this is better so the default gateway and DNS server will always be the same!


Now we have the base for the windows server and we are going to install the roles we need to create a active directory and a working DNS so we can use this to integrate a fedora server as a secured fileserver


I will be using the following settings:



Domain: K-base.local


Step 1: Installing the active directory:


First press the start menu and open manage your server, this will open a window.

Next click on add or remove a role.


Now click on the next button and select on Domain controller (Active directory) like in figure 1 below


Figure 1: Selecting the role


Press next till you come to the screen that says: Domain controller type.

Because this will be your first DC (Domain controller) you need to select the first option (Domain controller for new domain) en press next

Now select the first option telling you Domain in new forest and press next

Now you need to put in the domain name, like I said before I will use K-base.local (figure 2)


Figure 2: Domain name


After this the setup process wil make a NETBios domain name, in my case it will be K-BASE.

Press next

Now you get the option to select where to store the database etc, I will use the default settings (you can change this if you want to)

Press next

Also in the next screen where to store the SYSVOL is use the default directory (you can change this if you want to)

Press next


Now you will enter the DNS Registration Diagnostics.

Because we are going to use a DNS server you are going to select the second option (Figure 3) and press next so we will install the DNS server to


Figure 3: Selecting to install DNS


Now we will enter a screen about permissions I will use the second option called: permissions compatible only with windows 2000 or windows server 2003 operating systems

Press next


Now enter a password, you will need this when you want to restore or remove the role.

Press next


Now you will see the summary of what you selected.

Press next

Now the role will be installing (if you are getting a pop up, you will need to put Windows server 2003 Disc one in the drive)


When everything went like it is supposed to be you will see the next screen (figure 4)


Figure 4: Active directory (AD) is completed


Click finish and after this restart now. (it is normal that from now on a restart will take longer because the AD needs to load a lot of things)


If this is done and after login you will see the next screen (figure 5) where you need to push the finish button



 Figure 5 After the restart

Now we need to check the DNS.

Click on start, now move to administrative tools and click on DNS


Now you have to open all the folders and need to see the same thing as in figure 6, only then with your domain name in it.


6Figure 6: DNS


Now right click on Reverse lookup zones and click on New zone.

Click next

Select primary zone and press next.

Now click the last option called: To all domain controllers in the active directory domain …….

Add the network id: in my case 192.168.0.x the X is not fill able!

Press next.

Now select the first option that says (recommended for active directory)

Press next.

Click finish.


The last thing we need to do is adding some users in the AD and making a group or multiple groups to access curtain things later on. In this case I make the group fileserver for accessing a samba fileserver integrated with the AD (you can find a tutorial for this on K-base)

To make a user or group we need to go to the AD manager.

Click on start and move to administrative tools, now click on active directory users and computers.

If you un fold the tree on the left you will see a screen like in figure 7.



 Figure 7: Active directory manager

Now right click on your domain name, go to NEW and make a new organizational unit (figure 8)

8 Figure 8: Making a OU (organizational unit)


I will call the OU K-base_users

Inside this OU I will add all the users and groups but if you got a big organization you can make more OU’s inside the OU with the names of the departments etc. This will make a good overview of the organization.

I will make three users




After this I will make a new group called fileserver

You can to this by right clicking in the right window, and moving to new and now selecting what you want to create (figure 9)


Figure 9: Making new users or groups


After creating these object we are going to add the users to the group fileserver.

We are going to manage this by double clicking on the group and going to the tab members. (figure 10)


Figure 10: Adding users


Now click on add,  after this click on advanced and than on find now

You will see the screen of figure 11


Figure 11: Finding users

Now select the test users 1 till 3 and click on ok, after this click two more times on okay to return to the AD manager.






 View Counter: (1970)