Added Password Change on Directory Service Restore Mode (DSRM) Account (#1899)

* Added Password Change on Directory Service Restore Mode (DSRM) Account

* remove guid so unique one can be auto-assigned

Co-authored-by: Richard Kelley <richard.kelley@qomplx.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
Rich5
2022-04-27 21:21:55 -04:00
committed by GitHub
parent c7417ac40b
commit 53d54747ec
+16
View File
@@ -515,3 +515,19 @@ atomic_tests:
name: powershell
elevation_required: false
- name: Password Change on Directory Service Restore Mode (DSRM) Account
description: |
Change the password on the Directory Service Restore Mode (DSRM) account using ntdsutil by syncing to existing account
supported_platforms:
- windows
input_arguments:
sync_account:
description: Account to sync password from
type: String
default: '%username%'
executor:
name: command_prompt
elevation_required: true
command: |
ntdsutil "set dsrm password" "sync from domain account #{sync_account}" "q" "q"