Skip to content

Instantly share code, notes, and snippets.

@suuhm
Created August 10, 2023 20:55
Show Gist options
  • Select an option

  • Save suuhm/2cdc01396e8aba21f089201be8e6ef6a to your computer and use it in GitHub Desktop.

Select an option

Save suuhm/2cdc01396e8aba21f089201be8e6ef6a to your computer and use it in GitHub Desktop.
Setup / Reset new DSRM Password
@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