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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user