Category: DCPromo
-
Remove Active Directory Domain Services (ADDS) from a WS2012 R2 with PowerShell.
I decided to tear down my Azure Lab IaaS and ASR infrastructure and rebuild it. The process involves removing the ASR configurations, Recovery Vaults, S2S VPNs, VNets and Azure VM running as a Azure based Domain controller for resilience with on-premise infrastructure and Azure deployed Apps. The next steps will include uninstalling the Domain Controller,…
-
Using NTDSUTIL Metada Cleanup to Remove a Failed/Offline Domain Controller Object.
In this post, I would like to talk about using the ntdsutil utility for metadata cleanup. A domain controller failure ‘DC00’ recently occurred in my lab. Running the repadmin /replsum command confirmed a replication error and showed DC00 as unavailable: Since a dcpromo was obviously out of the question, I used the Ntdsutil metadata cleanup…
-
Demoting the last Windows Server 2012 R2 Domain Controller with PowerShell.
As with promoting a server to domain controller, demoting the a domain controller is also a straight forward process with PowerShell. The following PowerShell cmdlets are available from the ADDSDeployment module: Uninstall Active Directory: The demote process got a little tricky because this was the last DC in the domain and had an Operations Master…
-
Deploying a Windows Server 2012 R2 Domain Controller in an existing Win2003 Functional Level Domain.
My first task before deploying a Windows Server 2012 R2 Domain Controller in a Windows Server 2003 forest functional level environment was to run the Test-ADDSDomainControllerInstallation cmdlet and determine my domain environment’s readiness to accept the new Windows Server 2012 R2 Domain Controller installation without any glitches: [ws2012r2]: PS C:\Users\admin\Documents> Test-ADDSDomainControllerInstallation -DomainName genesys.net | fl…