Join me at Google+ ...

This article describes the installation and configuration of Active Directory which is not necessarily required for deploying SharePoint Server 2010 and is a part of a series describing the complete installation of SharePoint Server 2010 on Windows Server 2008 R2 and SQL Server 2008 R2. Usually your employeer or your customer has it's separate Active Directory for development or testing.

Install a 3-tier server farm or development environment:
  • 56 pages PDF
  • 11 PowerShell scripts
  • Troubleshooting tips

But I suggest that you read this article anyway. First of all because you need one and if your employeer has no Active Directory you can use for development you have the choice to use local accounts or domain accounts with your custom Active Directory. Second you have your own directory where you can manage everything by yourself. You don't have to ask for new users to be added or password resets and so on... it can be done immediately by you.

Ok but what about the articles which are describing how to install SharePoint with local accounts? I definitely would use an Active Directory... either on a single machine or 2 server. All customers use domain accounts or install SharePoint with least privileges so you should do the same. If you don't use an Active Directory and get errors you will have more problems to find the reason and a solution since your configuration might be the problem.

If you use an Active Directory this reason will be eliminated and your development process will be much easier because if an error occurs there are less possibilities for the reason. Actually a DEV machine with an AD is more like the production environment of your customer and if you have different configurations you might get an error during deployment to production.

You should consider to use your own Active Directory. Of course there is additional work if you set up your development but later on there is actually no work since it just runs without your help. By the way... if you don't have special requirements why not use a Windows Server 2003 Active Directory? Windows Server 2008 R2 requires about 7 or 8GB inside a virtual image while Windows Server 2003 only requires about 3Gb of hard disk space.

Like it's written in the other posts please check back the comment section below. There are agian useful additions. Your comments are appreciated...

Please have a look at

There you can find an overview of the complete series and of course the farm topology and the deployment scenario.

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.

Don’t use the server manager to install the Active Directory role . Using server manager  you are left with an uncompleted installation.

Open the ”Run” dialog box and type dcpromo.

 Open the run dialog box and execute dcpromo. The Active Directory installation wizard is starting up.

Click next checking ”Use advanced mode installation”.
Click next and after that check ”Create a new domain in a new forest”.

Use the advanced installation mode. 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”

Type a full qualified domain name. Type a NetBIOS name.

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.

Set the forest functional level. Set the domain functional level.

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.

Check DNS server to install a DNS server. Click Yes if 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.

Click Yes because you dont 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.

Enter a Directory Services Restore Mode Administrator Password. Start the installation process.

After installing the AD and the DNS server you have to restart your computer.

The Active Directory installation has finished. After the Active Directory installation has finished restart the server.

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.

Active Directory installed roles. Active Directory installed features.

Next steps



Get updates

 

Comments (10) -

4/18/2011 4:07:21 PM #

This is good, but I ran into a problem installing AD on the same computer with the other stuff.  I'm remoting into that computer and once I've completed this step, my password was no longer accepted via remote desktop. I can only get in on the actual computer, but that's in a lab so working in there isn't good.

Any idea why my password would be rejected for remote desktoping into this machine after these steps?

Randy United States Reply

4/19/2012 12:32:40 PM #

Check back your Remote settings on the server, and allow connecting remotely to the server from Group Policy.

Aabed Lebanon Reply

8/12/2011 4:42:00 AM #

Must Active Directory be installed in order for this 'single server solution' to work?

I've been reading various references on installing this combination of software but this is the first time I've come across the indication that the server needs to be a domain controller; i.e., that Active Directory needs to be installed.

Chris United States Reply

8/12/2011 8:35:02 AM #

Hi Chris,

actually there are 2 servers: 1 Active Directory and 1 SharePoint Server (including SQL Server).
If you need to install AD depends on what you do... in my case I tried to install an independent development environment meaning that I don't want to use the existing development AD of my company. In this case I suggest to install the AD on a different server than SharePoint.

Hope this is the answer you were looking for...

Regards
Andreas

Andreas Glaser Switzerland Reply

8/12/2011 3:23:01 PM #

I'm looking to build just one VM and install everything on that. I've been assured that this is possible, but am not sure exactly how. Firstly, however, I'm trying to determine whether I need AD in such a configuration.

Chris United States Reply

8/13/2011 10:14:21 AM #

Ah ok... now I understand but with this configuration I can't help since I have no experience with that.

Andreas

Andreas Glaser Switzerland Reply

8/14/2011 4:19:33 AM #

It's particularly frustrating because some sites say AD is required whereas other sites say it's not required. Also, some sites say SharePoint needs to be installed before SQL Server whereas other sites say just the opposite.

Chris United States Reply

8/15/2011 9:03:28 AM #

Ah now I understand...

I definitely would use AD... either on a single machine or 2 server. All customers use domain account or install SharePoint with least privileges so you should do the same.

If you don't use an AD and get errors you will have problems to find the reason and a solution since your configuration might be the problem. If you use an AD this reason will be eliminated and your development process will be much easier because if an error occurs there are less possibilities for the reason.

Actually a DEV machine with an AD is more like the production environment of your customer and if you have different configurations you might get an error during deployment to production.

If you don't take a look at different technical articles my answer sounds reasonable, right? Smile

If it comes to SQL Server you can either install SharePoint on a single server which automatically installs SQL Server Express 2010 including the configuration of SharePoint or you can (need) to install SQL Server before installing SharePoint 2010.
SQL Server Express 2010 has a limit to 10GB storage and 1GB RAM allocation which might not be enough for your scenario. To be more flexible I suggest to install SQL Server 2008 on your own.

If you have more questions don't hesitate to ask ;)

Andreas Glaser Switzerland Reply

1/22/2012 6:50:01 PM #

Any idea whether this procedure will work to make the sharepoint server the backup AD in a two server deployment?

Deb United States Reply

1/23/2012 10:03:05 AM #

Hi Deb,

I don't know for sure... in a DEV environment I'm using only one AD since 6 years now and everything worked fine.

In a production environment I wouldn't mix the server.

Regards
Andreas

Andreas Glaser Switzerland Reply

Pingbacks and trackbacks (5)+

Add comment




  Country flag
biuquote
Loading