This guide shows you how to install and configure Windows Server 2008 Active Directory Domain Services. This isn’t necessary but if you are going to deploy a development environment I suggest to create a closed environment.
This way you have everything on your own so you don’t depend on something or someone.
This step usually applies to developers creating an isolated dev environment independent of your companies infrastructure. You are independent, can go where you want without a connection to your company and you can make changes as you want.
Active Directory installation
Don’t use the server manager to install the Active Directory role because you are prompted to use dcpromo.exe and you are left with an uncompleted installation.
Open the ”Run” dialog box and type dcpromo.
Click next checking ”Use advanced mode installation”.
Click next and after that check ”Create a new domain in a new forest”.
Type a new full qualified domain name like “aglaser.net”.
Type a NetBIOS name like “AGLASER”
Select a forest functional level and select a domain functional level.
Note: Please be aware that your choice affects other things. Here is a comment from Wes Preston which you should consider if you are installing a all-in-one demo machine:
- If selecting AD-2003 mode, the SPAdmin account needs to be added to the Domain Admins group in AD
- If selecting AD-2008 R2 mode, the SPAdmin account can be added to the Local Admins group
Please test it by yourself.
Make sure “DNS server” is checked.
After clicking next you may get a warning that one of your network adapters has a dynamically assigned IP address. Click “Yes” if you are sure you have one network adapter with a static IP address.
Click “Yes” because you don't have to care about a DNS server in a parent zone since this is a testing environment.
Click next again.
Type in a “Directory Services Restore Mode Administrator Password”.
Click next to start the installation wizard.
After installing the AD and the DNS server you have to restart your computer.
Active Directory configuration
So far I didn’t need to do any configuration since the out-of-the-box installation was enough. If you see the following screens you are fine.
Step 5: Administrative and service accounts