User Tools

Site Tools


microsoft:activedirectory:installation

Microsoft - Active Directory - Installation

Microsoft Support

Blogposts/Articles

Flexible single master operation
Server Fault - Error adding child Active Directory domain to existing forest: “Azure virtual networks don't support broadcast; thus, even if NetBIOS is enabled, it just doesn't work. And it looks like Windows Server 2012 R2 really needs it for a DC promotion to work.”

Domain (Re)name

Pictures in AD

Delete Protection

Show Delete Protection settings for all OU's

Import-Module ActiveDirectory 

Get-ADOrganizationalUnit -filter {name -like "*"} -Properties ProtectedFromAccidentalDeletion | format-table Name,ProtectedFromAccidentalDeletion

Source:The things that are better left unspoken - Preventing OUs and Containers from Accidental Deletion

Set Delete Protection for all OU's

Import-Module ActiveDirectory

Get-ADOrganizationalUnit -filter {name -like "*"} -Properties ProtectedFromAccidentalDeletion | where {$_.ProtectedFromAccidentalDeletion -eq $false} | Set-ADOrganizationalUnit -ProtectedFromAccidentalDeletion $true

Source:The things that are better left unspoken - Preventing OUs and Containers from Accidental Deletion

Configure NTP on PDC Emulator

Configure 2 NTP servers as time source for the Windows Time service on the Domain Controller holding the PDC Emulator FSMO role:

REM Configure the Windows Time service to sync with two NTP servers
"%SYSTEMROOT%\system32\w32tm.exe" /config /manualpeerlist:"10.0.10.88 10.0.10.89" /syncfromflags:manual /reliable:yes /update

REM Stop and start the Windows Time service.
"%SYSTEMROOT%\system32\sc.exe" stop W32Time 
"%SYSTEMROOT%\system32\sc.exe" start W32Time 

REM Query config
"%SYSTEMROOT%\system32\w32tm.exe" /query /configuration

Sources:

Show FSMO role holders

  1. Open a command prompt.
  2. Execute:
    netdom /query fsmo
microsoft/activedirectory/installation.txt · Last modified: 2020/07/08 08:44 by bas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki