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-linetool with the /passwordreq:yes option … Read more

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. … Read more

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);DirectoryEntry test1 … Read more

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 open ADSI … Read more