Advice on Resetting KRBTGT Password: Which Script Should I Use?

December 8, 2025 5 answers
Asked by TechWizard88
Hello! I'm looking for recommendations on how to reset the KRBTGT password for an old domain. There are countless scripts and guides available, and it's a bit overwhelming. One script I found hasn't been updated since 2020, and I'm not sure if it's still valid or effective. I also came across a newer one that isn't officially from Microsoft. Which script do you think is the best option?

Answers

SkepticalSysAdmin
There's a bit of irony hereโ€”if you need a script to reset the KRBTGT password, you might want to reassess if you should be handling these tasks at all. You should really have your AD replication health validated before making any changes.
Reply to this answer
SimpleAdmin
If your Active Directory is in good shape, you might not even need a script! You can just open the run box, mash your keyboard for a random string, and then paste that into the ADU&C UI to reset the password.
Reply to this answer
AdminGuru42
Microsoft suggests resetting the KRBTGT password every six months for security reasons. However, they donโ€™t provide a solid guide on how to do it properly. For straightforward setups, you might just be able to right-click the KRBTG account and reset the password. After that, itโ€™s smart to do it again after 24 hours.
Reply to this answer
ITProJoe
In my experience with larger companies, we do this every six months, too. Currently working on bringing this process from development to production, and we stick with the New-KrbtgtKeys.ps1 script.
Reply to this answer
ScriptMaster9000
We regularly use the New-KrbtgtKeys.ps1 script for our resets. Itโ€™s been reliable for us.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions