Sunday, 13 May 2012

Forcing Active Directory Replication by Using GUI

    1. Go Start, Administrative Tools, Active Directory Sites and Services.
    2. Expand Sites, expand Default-first-Site-Name, expand Servers.
    3. Select a DC, right click Replicate Now.

Installing an Additional Domain Controller


   1. On Run, type dcpromo.
   2. On Welcome to the Active Directory Domain Services Installation Wizard, click Next.
   3. On Operating System Compatibility, click Next.
   4. On Choose a Deployment Configuration, select Existing Forest --> Add a domain controller to an existing domain, click Next.
   5.Type the name of existing domain example: contoso.com
    6. Click Set, enter the username and password for the existing domain.

    7. On Select a Domain, select the domain page, click Next.
    8. On Select a Site, select a site page, click Next.
    9. On Additional Domain Controller Options page, click Next.
  10. A warning message might appear advising you to set DNS, click Yes.
  11.On Location for Database, Log Files, and SYSVOL page, type or browse to the volume and folder locations for the database file, the directory service log files, and the system volume (SYSVOL) files, and then click Next.
  12. On Directory Services Restore Mode Administrator Password page, type and confirm the restore mode password, and then click Next. This password must be used to start AD DS in Directory Service Restore Mode (DSRM) for tasks that must be performed offline.
  13. On the Summary page, review your selections. Click Back to change any selections, if necessary.
To save the settings that you have selected to an answer file that you can use to automate subsequent AD DS operations, click Export settings. Type the name for your answer file, and then click Save.
When you are sure that your selections are accurate, click Next to install AD DS.
  14. On the Completing the Active Directory Domain Services Installation Wizard page, click Finish.

Source from:  http://technet.microsoft.com/en-us/library/cc753720(v=ws.10).aspx

Transfer FSMO role Windows 2008 R2

1. Transfer the schema master

    1. Run command, type regsvr32 schmmgmt.dll
    2. Click START , click RUN, type MMC
    3. On the Console menu, click File, click Add/Remove Snap-in.

    4. On Add or Remove snap-ins, Add Active Directory Schema

    5. On Active Directory Schema, right click, select Change Active Directory Domain Cotroller
   
    6. Select the DC (which you want to transfer the role)
   
    7.  On Active Directory Schema, right click, select Operations Master.

    8.  Click Change.




2. Transfer the domain naming master

    1. Open Active Directory Domains and Trusts.
    2. In the console tree, right click Active Directory Domains and Trusts, click Change Active Directory Domain Controller.
  
    3. Select the DC(which you want to transfer the role)

    4. In the console tree, right click Active Directory Domains and Trusts, click Operations Master.

    5. Click Change.

3. Transfer the RID, PDC and Infrastructure

    1. Open Active Directory Users and Computers
    2. In the console tree, right click Active Directory Users and Computers, click Change Domain Controller.

    3. Select the DC (which you want to transfer the role)

    4.  In the console tree, right click the domain, click Operations Master.

5. Click Change on RID PDC and Infrastructure




Saturday, 12 May 2012

Determine FSMO role holders

How to Determine the RID, PDC, and Infrastructure FSMO Holders of a Selected Domain

  1. Click Start, click Run, type dsa.msc, and then click OK.
  2. Right-click the selected Domain Object in the top left pane, and then click Operations Masters.
  3. Click the PDC tab to view the server holding the PDC master role.
  4. Click the Infrastructure tab to view the server holding the Infrastructure master role.
  5. Click the RID Pool tab to view the server holding the RID master role.

Method 2. Use the command

  1. Command prompt, type netdom query fsmo
Method 1. Use the GUI

Verify successful replication to a domain controller

  1. Open a Command Prompt.
  2. Type the following command, and then press ENTER:
    repadmin /showrepl servername /u:domainname\username /pw:*

Term Definition
servername
Specifies the name of the destination domain controller.
domainname
Specifies the single-label name of the domain of the destination domain controller. (You do not have to use a fully qualified Domain Name System (DNS) name.)
username
Specifies the name of an administrative account in that domain.


Source from: http://technet.microsoft.com/en-us/library/cc736355(v=ws.10).aspx