(2020-02-10) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (Update 3)
Posted by Jorge on 2020-02-10
Some time ago I wrote a PowerShell script to reset the KrbTgt Account Password of both RWDCs and RODCs.
–
More information can be found through the following link:
- (2018-12-30) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs
- (2019-02-12) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (Update 1)
- (2019-02-25) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (Update 2)
The script itself can be downloaded through the following link: Reset The KrbTgt Account Password/Keys For RWDCs/RODCs
–
Changes:
v2.4, 2020-02-10, Jorge de Almeida Pinto [MVP-EMS]:
– Checked script with Visual Studio Code and fixed all "problems" identified by Visual Studio Code
– Variable "$remoteCredsUsed" is ignored by me, as the problem is due to the part ‘Creds’ in the variable name
– Variable "$adminCreds" is ignored by me, as the problem is due to the part ‘Creds’ in the variable name
– Bug Fix: Fixed language specific issue with the groups ‘Allowed RODC Password Replication Group’ and ‘Denied RODC Password Replication Group’
– Added support to execute this script against a remote AD forest, either with or without a trust
–
Have fun!
–
Cheers,
Jorge
————————————————————————————————————————————————————-
This posting is provided "AS IS" with no warranties and confers no rights!
Always evaluate/test everything yourself first before using/implementing this in production!
This is today’s opinion/technology, it might be different tomorrow and will definitely be different in 10 years!
DISCLAIMER: https://jorgequestforknowledge.wordpress.com/disclaimer/
————————————————————————————————————————————————————-
########################### Jorge’s Quest For Knowledge ##########################
#################### http://JorgeQuestForKnowledge.wordpress.com/ ###################
————————————————————————————————————————————————————-
(2020-02-18) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (Update 4) « Jorge's Quest For Knowledge! said
[…] (2020-02-10) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (U… […]
LikeLike
Resetting The Password Of The Special Purpose KrbTgt Account For Azure AD « Jorge's Quest For Knowledge! said
[…] (2020-02-10) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (U… […]
LikeLike
(2020-04-06) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (Update 5) « Jorge's Quest For Knowledge! said
[…] (2020-02-10) PowerShell Script To Reset The KrbTgt Account Password/Keys For Both RWDCs And RODCs (U… […]
LikeLike