Add multiple accounts with profile photos to SharePoint 2013


SharePoint 2013: Create 2000 Domain Accounts with Profile Photos for a Development Environment

Table of Contents

It can be important to have a development environment that is as close to a production environment as possible. Having realistic development (or staging) environment helps business users visualise what an end product (or solution) will look like when deployed.

The following PowerShell (and accompanying name files) demonstrates creating 2000 unique Active Directory domain accounts, including setting different locations, departments, phone numbers and gender (male or female). Each domain account has a photo uploaded to Active Directory. Finally, SharePoint User Profile synchronization is configured, to import the users and their photos

Installing Active Directory in windows 2008


How to install and configure Active Directory Domain Services in Windows 2008 R2?

Install Active Directory Domain Services (AD DS) on a member server that runs Windows Server 2008 or Windows Server 2008 R2 by using the Active Directory Domain Services Installation Wizard (Dcpromo.exe). The member server should be located in the forest root domain. After you install AD DS successfully, the member server will become a domain controller. You can install AD DS on any member server that meets the domain controller hardware requirements.

For more information: Install Active Directory Domain Services on the Member Server That Runs Windows Server 2008 or Windows Server 2008 R2

1. In server manager | Roles | Add Active Directory Domain Services

installing_active_directory_in_windo

2. Once the installation complete close the wizard and launch the active directory domain services installation wizard (dcpromo.exe)

active_directory_Installation_comple[2]

3. Run dcpromo.exe

run_dcpromo_thumb[2]

4. Welcome to the Active Directory Domain Services Installation Wizard

active_directory_installation_wizard_thumb[3]

5. Operating System Compatibility

active_directory_operating_system_compatibility_thumb[3]

6. Choose a Deployment Configuration

active_directory_create_a_new_domain_thumb[4]

If you get administrator password error click the link below for the solution

Administrator Password required error in dcpromo.exe

7. Name the Forest Root Domain

active_directory_forest_root_domain_thumb[2]

8.  Set the forest functional level

active_directory_forest_functional_level_thumb[2]

9. Set the domain functional level

active_directory_domain_functional_level_thumb[1]

10. Additional Domain controllers Option

active_directory_domain_controller_options_thumb[2]

A delegation for this DNS server cannot be created because the authoritative parent zone cannot be found or it dose not run Windows DNS server. If you are integrating with an existing DNS infrastructure, you should manually create a delegation to his DNS server in the parent zone to ensure reliable name resolution from outside the doman. Otherwise, no actions is required.

Do you want to continue?  Click yes

active_directory_delegation_for_dns_thumb[1]

11. Location for Database, Log Files, and SYSVOL
       Specify the folders that will contain the active directory domain controller database log files, and SYSVOL

active_directory_database_logFiles_thumb[2]

12. Directory Services Restore Mode Administrators Password
 
The directory services restore mode administrator account is different from the domain administrator account.
Assign a password for the administrator account that will be used when this domain controller is started in directory services restore mode.
we recommend that you choose a strong password.

active_directory_directory_services_restore_mode_thumb[3]

13. Active Directory Installation Summary

active_directory_summary_thumb[2]

14. The wizard is configuring active directory domain services. This process can take from a few minutes to several hours, depending on your environment and the
options that you selected.

completing_active_directory_domain_services_installation_thumb[5]

15. Completing the active directory domain services installation wizard
Active directory domain services is now installed on this computer for the domain.  Click on Finish and restart the server.