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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"computer_name": "<computer_name>"
},
"name": "reset_computer_password"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| computer_name | Yes | Computer name to reset password for |