Add-Computer RODC?

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Kitt Holland Kitt Holland 3 years, 6 months ago.

  • Author
    Posts
  • #12143
    Profile photo of Kitt Holland
    Kitt Holland
    Participant

    Hello!

    I'm trying to join some computers to an Read only domain controller using powershell. The computer accounts already exist with a specific password set. In the past we've used a VBScript to join computers to the rodc using the correct computer account credentials. Looking at the powershell Add-Computer cmdlet I do not see any way to specify a computer account password.

    Does anyone know how to accomplish this with Powershell?

  • #12145
    Profile photo of Richard Siddaway
    Richard Siddaway
    Moderator

    You can't write anything to a RODC – by definition they are read only.

    You have to join computers to the domain through a full domain controller

  • #12146
    Profile photo of Kitt Holland
    Kitt Holland
    Participant

    Richard, that is not true.

    You cannot write to RODC but you can join to and RODC if you're attaching to an existing account with a known password, I do it regularly.

    See: http://jorgequestforknowledge.wordpress.com/2009/01/01/domain-join-through-an-rodc-instead-of-an-rwdc/

You must be logged in to reply to this topic.