Difference between revisions of "AD DS"

From AlphaBook
Jump to: navigation, search
(Setup the first Domain Controller)
Line 12: Line 12:
 
== Setup the first Domain Controller ==
 
== Setup the first Domain Controller ==
 
* https://github.com/shenhuitao2000/PowerShell/blob/master/Setup%20First%20Domain%20Controller
 
* https://github.com/shenhuitao2000/PowerShell/blob/master/Setup%20First%20Domain%20Controller
 +
* w32tm /config /computer:BJDC01.alphabook.com.cn /manualpeerlist:time.windows.com /syncfromflags:manual /update
 +
* BPA
  
 
== FSMO (Flexible single master operation) ==
 
== FSMO (Flexible single master operation) ==

Revision as of 14:26, 9 June 2017

Active Directory Domain Service Design

Setup the first Domain Controller

FSMO (Flexible single master operation)

5 FSMO roles

  • Schema master / Forest level
    • To make change Schema in forest (such as Exchange, Lync, SCCM)
  • Domain naming master / Forest level
    • To add/remove domain in forest
  • PDC / Domain level
    • Time root in forest (PDC->DCs->Computers)
    • Group policy central management
    • Handle password change specially (the change will sync to PDC immediately)
    • Handle user account lock specially
  • RID pool master / Domain level
    • Assign RIDs to DCs (500/time)
  • Infrastucture master / Domain level
    • Objects reference in different domains

To check the FSMO servers

  • netdom query fsmo

To transfer / seize to FSMO roles

  • Ntdsutil
  • Roles
  • Connections
  •  ?
  • Connect to server BJDC01
  • Quit
  • Transfer schema master
  • Transfer domain naming master
  • Transfer PDC
  • Transfer RID master
  • Transfer infrastructure master