Created
August 10, 2023 20:55
-
-
Save suuhm/2cdc01396e8aba21f089201be8e6ef6a to your computer and use it in GitHub Desktop.
Setup / Reset new DSRM Password
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| set SERVER_X=<IP> | |
| echo STARTING: | |
| ntdsutil | |
| echo * SET NEW PASSWORD | |
| set dsrm password | |
| echo RESET PASSWORD ON SERVER_X | |
| reset password on %SERVER_X% null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment