Forum Discussion
SteveBurro
May 09, 2023Copper Contributor
Re-using computer account with Add-Computer
I am having an issue getting computers to rejoin the domain after they are reimaged. It has been working up until Windows 11 22H2. I found that KB5020276 changed re-using computer names, I have done ...
_DamienS
Feb 29, 2024Copper Contributor
SteveBurro I realise this is an old post, but this could be permission related for anyone else seeing a similar issue. I have actually seen this message appear even with all the right GPOs set and it was related to two values not being set on a prestaged object......
The computer account was missing dNSHostName and certain ServicePrincipalName values and the join account did not have the necessary rights to set those. I don't recommend adding rights to set those values... If they are prestaged, best to just set the values to what they should be (avoiding giving the rejoin account unnecessarily dangerous validate rights).
Here's an article that talks about this scenario in detail:
https://jigsolving.com/domain-rejoin-minimum-permissions/