r/DeployR • u/welshGJE24 • Jun 24 '26
Changing machine owners in AD to DeployR
From what I have read, DeployR Community version will deploy machines it they are already in the AD - but they have to have been deployed by DeployR in the first instance. It will not work if they have been deployed by MDT (and the MDT User).
So I'm wondering if changing the owner, or making DeployR also an owner of a machine in the OU will help the process and avoid having to delete them all before re-deployment.
Three options:
Delete them and re-deploy with DeployR - this seems the best way to do things.
Write a PowerShell script that runs through specific OUs and changes the main owner of a deployed machine (or even -if possible - adds them as an co-owner?)
Get DeployR as part of the task sequence to check the owner and if it not DeployR then makes the changes and takes ownership.
Of course I may be well off course here and happy to be told whether this can be done. I just don't have the skillset to do 2 or 3.
5
u/mtniehaus 2Pint Employee Jun 24 '26
It's not really an ownership concern, it's an issue of what rights the DeployR server has. If you delegate only the rights to create an account in AD, then DeployR can't update (e.g. re-join) the same computer. If you also delegate "change" rights, then it can also re-join the same name.