SharePoint 2010: How-to add Domain Controller on Windows 2012(scripting) and Windows Server 2008R2(UI)

SharePoint 2010: How-to add Domain Controller on Windows 2012(scripting) and Windows Server 2008R2(UI)

How to Promote a Server to a Domain Controller in Windows Server 2012 with PowerShell

There are three PowerShell cmdlets, which coincide with the three deployment options:

Install-ADDSDomainController Creates a new domain controller in an existing domain
Install-ADDSDomain Creates a new domain in an existing forest
Install-ADDSForest Creates a new forest

How to Add a Domain Controller using PowerShell

To use Install-ADDSDomainController, only three things are required:

  • domain name - which must be passed through the DomainName parameter
  • credentials - that are in the Domain Admins group of the domain
  • Directory Services Restore Mode password - which can either be passed through the SafeModeAdministratorPassword parameter, or it can be provided when prompted.

There are many more optional parameters that can be used, which specify everything from where to find the installation media, to whether or not to reboot when it's completed.

The simplest example of this is:

1

How to Add a Domain Forest using PowerShell

To use Install-ADDSDomain, you must also specify the parent domain name. Just as when using PowerShell to add a domain controller, you may either supply the Directory Services Restore Mode password in the cmdlet, or provide it when prompted.

This is an example of how to create a new domain in a forest with PowerShell:

1

How to Add a New Forest with PowerShell

To use Install-ADDSForest, all that needs to be provided is the forest name. A prompt will allow the Directory Services Restore Mode password to be entered, and DNS is installed by default during a forest installation.

An example of this would be:

1

Or you could be more specific:

1

Conclusion

Though Windows Server 2012 removes the dcpromo that system engineers have been using since 2000, they have not removed the functionality. If a GUI is preferred by an active directory engineer, they may still have much of the look and feel provided through Server Manager. If a script or a command line interface is preferred, new cmdlets in PowerShell provide all of the flexibility of the GUI, with the added benefit or scalability and reusability.

 

 

Install Active Directory Domain Services (AD DS) on Windows Server 2008R2

When you create a new SharePoint DEV Environement you need a Domain Controller for your Authentication. Sharepoint can't be installaed without a Domain Controller.

On Microsoft Servers a domain controller (DC) is a server that responds to security authentication requests (logging in, checking permissions, etc.) within the Windows Server domain. A domain is a concept introduced in Windows NT whereby a user may be granted access to a number of computer resources with the use of a single username and password combination.

This is the first server that you should configure for your environement.

Before we run DCPROMO, we need to make sure we have a Static IP Address set. If this is your first Domain Controller on your network set the DNS server to the same IP address you set for the server itself. This is because we will be installing DNS with this Domain Controller. For clients in an Active Directory domain they must point to a DNS server located on a Domain Controller.

So, type DCPROMO under RUN

 

 

You will receive a welcome screen, just click on Next

 

Again on Next

 

You have to select "Create a new domain on a new forest".

 

Give your Full Qualified Domain Name for your Forest.

If your on a Test environement, you have to write "DOMAIN.Local".

 

 

Select your Forest functional Level:

 

The first Domain Controller in a forest must be a global catalog and the DNS must be installed on the first domain controller.

So Select DNS Server and press Next

 

 

On this screen you have to select your folders where windows should write his logs.

When you open a case on Microsoft and your Logs are on the same server, they won't consider your case. So it's always preferred to separate the folders on a other server.

 

Provide a Password

 

Check the summary and click Next

 

 

When the installation is finished just click Next.

 

Once finished, do not forget to create separate OU for SharePoint Users like shown. This will help you to remember witch users was a service account or not.

This will even be usefull for other people to understand the structure of SharePoint 2010

 

Thanks to and referenced to: http://www.petri.co.il/ for great information

Gokan Ozcifci

Leave a Comment
  • Please add 1 and 8 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Richard Mueller edited Revision 2. Comment: Removed (en-US) from title, added tags

  • Carsten Siemens edited Revision 1. Comment: fixed typo

  • Carsten Siemens edited Original. Comment: typos fixed

Page 1 of 1 (3 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Carsten Siemens edited Original. Comment: typos fixed

  • Carsten Siemens edited Revision 1. Comment: fixed typo

  • Richard Mueller edited Revision 2. Comment: Removed (en-US) from title, added tags

Page 1 of 1 (3 items)