reset_computer_password
Resets an Active Directory computer account password with a new random machine password; requires LDAPS/StartTLS, and the computer must be rejoined or re-synced because the secure channel breaks.
Instructions
Reset computer account password.
Sets a new random 120-character machine password on the computer account (unicodePwd) and returns it once in the response (sensitive; do not log it). Requires an LDAPS/StartTLS connection; refused otherwise. The machine's secure channel breaks, so it must be rejoined or re-synced.
Example:
reset_computer_password(computer_name="DESKTOP-ABC123")
Returns an error if the computer is not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| computer_name | Yes | Computer name to reset password for |