Powershell Join Domain Rodc
The command uses the passthru and verbose parameters to get detailed information about the results of the command.
Powershell join domain rodc. Add computer domainname domain01 server domain01 dc01 passthru verbose. Well known security identifiers in windows operating systems https support microsoft. In this article i explain how to deploy an rodc on windows server 2016 using powershell.
In this process we can use a pre selected account and promote the rodc using it instead of using domain admin or enterprise administrator account. This command adds the local computer to the domain01 domain by using the domain01 dc01 domain controller. Rodc deployment process involves following stages.
After many failed attempts over the years i have finally found a process that seems to work reliably. I assume you have at least one writeable dc in your environment. If you just follow the instructions that exist in microsoft documentation you are probably going to run into weird issues down the road.
Join computer to domain and specify ou path with powershell. A read only domain controller rodc is an active directory ad feature first introduced in windows server 2008. You can list the rodc read only domain controllers with powershell.
In this post we will again configure rodc windows server 2016 but using powershell this time. Thankfully we can automate this with powershell when we join the computers to the domain. Joining computers to a domain using only a read only domain controller without access to any writeable domain controllers is a bit of a complicated process.
We have configured a read only domain controller rodc windows server 2016 using server manager in another tutorial already. Following are some other prerequisites you. It is likely to work on other platforms as well.