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 whenContinue reading “Add multiple accounts with profile photos to SharePoint 2013”

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.Continue reading “Installing Active Directory in windows 2008”

Administrator Password required error in dcpromo.exe


The local administrator account becomes the domain administrator account when you create a new domain. The new domain cannot be created because the local administrators account password does not meet requirements. Currently, a password is not required for the local administrator account. We recommend that you use the net user comand-line tool with the /passwordreq:yesContinue reading “Administrator Password required error in dcpromo.exe”

How to update Active Directory Manager Filed


Updating Active Directory ‘Manager’ field using code snippet Here is the code snippet to set the user manager field in AD. let say we want to create a new user with loginname test1 and set the manager field of user "test2" to "test1" //Creating the user test1 DirectoryEntry myLdapConnection= new DirectoryEntry(LDAPPath, LDAPUser, LDAPPassword, AuthenticationTypes.Secure); DirectoryEntryContinue reading “How to update Active Directory Manager Filed”

Adding Custom Attributes to Active Directory user profile


How to add Employee Number to Active Directory Users properties?  Please see my previous post about how you can add Employee ID filed for user profile. In this blog, I am going to show you how you can add employee ID field in Active Directory user Properties. 1. Login to your domain controller and openContinue reading “Adding Custom Attributes to Active Directory user profile”