Network Services

Friday, June 1, 2012

Install active directory in window server 2008

How to Install active directory in window server 2008 ?


1. Open Server Manager by clicking the icon in the Quick Launch toolbar, or from the Administrative 1. Tools folder.
2. Wait till it finishes loading, then click on Roles > Add Roles link.


3. In the Before you begin window, click Next.

4. In the Select Server Roles window, click to select Active Directory Domain Services, and then click Next.


5. In the Active Directory Domain Services window read the provided information if you want 5. to, and then click Next.

6. In the Confirm Installation Selections, read the provided information if you want to, and then click Next.


7. Wait till the process completes.


8. When 8. it ends, click Close.

9. 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.

10. Now you can click on the DCPROMO link, or read on.


Method 2 – Servermanagercmd.exe
Servermanagercmd.exe is the command prompt equivalent of the Add Roles and Add Features wizards in Server Manager. Through the use of
various command line options, you can quickly and easily add or remove features and roles to or from your server, including the AD-DS role.
To install AD-DS by using Servermanagercmd.exe, simply enter the following command in the Command Prompt window:
Servermanagercmd.exe –I ADDS-Domain-Controller
Let the command run and when it finishes, AD-DS will be installed on the server.
Method 3 – Letting DCPROMO do the job
Oh yes. If you forget to install AD-DS or simply want to skip clicking on some windows, you can run DCPROMO from the Run command and before
it is executed, the server will check to see if the AD-DS binaries are installed. Since they are not, they will auto-install.


After you complete the Add Roles Wizard, either click the link to start the Active Directory Domain Services Installation Wizard, or close Server
Manager and manually run DCPROMO from the Run command.
Running DCPROMO
After installing the AD-DS role, we need to run DCPROMO to perform the actual Active Directory database and function installation.
Note: This guide assumes this is the first Domain controller in the forest, thus creating a new domain in a new forest. For a guide on how to add
additional Domain Controllers to existing domains, please read my upcoming "Installing Additional Windows Server 2008 Domain Controllers in
your Existing Active Directory Domain" article.

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

2. 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.



Note: The Advanced features of DCPROMO will be discussed in a future article.
if (!window.netshel_ord) { netshel_ord=Math.random()*10000000000000000; } if (!window.netshel_tile) { netshel_tile=1; }
document.write(''); netshel_tile++; google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);




3. In the Operating System Compatibility window, read the provided information 3. and click Next.

4. In the Choosing Deployment Configuration window, click on "Create a new domain in a new 4. forest" and click Next.


5. 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.







6. 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. Read my "Understanding Windows Server 2008 Active Directory
Domain and Forest Functional Levels" article for more information on that.

7. 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. Read
more about domain and forest function levels on my "Understanding Windows Server 2008 Active Directory Domain and Forest Functional
Levels" article.

8. 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.

9. 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.

10. You'll probably get a warning about DNS delegation. Since no DNS has been configured yet, you can ignore  the message and click Yes.


 11. 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.

12. 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.

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

14. 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.


 with you 
Mohamed Samir

1 comment:

  1. Hi thеre! Ӏ just ωantеd to
    ask if you ever havе any problems wіth hacκeгs?
    My last blog (wordρress) ωas hacked and I ended uр losing a few
    monthѕ of hard wοrk due tο no data bacκup.
    Do you hаve аny methоds to stop
    hackeгs?

    My hοmepаge :: disque dur SSD

    ReplyDelete