---
title: SetAutoAdminPasswordCommand.Command
framework: devicemanagement
role: symbol
role_heading: Device Management Command
path: devicemanagement/setautoadminpasswordcommand/command-data.dictionary
---

# SetAutoAdminPasswordCommand.Command

The command to update the local administrator account password.

## Declaration

```data
object SetAutoAdminPasswordCommand.Command
```

## Properties

GUID: The unique identifier of the local administrator account. If this value doesn’t match the GUID of an administrator account that MDM created during Automated Device Enrollment (ADE) enrollment, the command returns an error. passwordHash: The precreated salted SHA-512 PBKDF2 password hash for the account. Create this hash on the server using the CommonCrypto libraries, or equivalent, as a salted SHA-512 PBKDF2 dictionary that contains these elements: entropy: The derived key from the password hash; for example, from CCKeyDerivationPBKDF() salt: The 32-byte randomized salt; for example, from CCRandomCopyBytes() iterations: The number of iterations; for example, from CCCalibratePBKDF() using a minimum hash time of 100 milliseconds, or if unknown, a number in the range of 20,000 to 40,000 iterations Place the dictionary that contains these elements into an outer dictionary with the key SALTED-SHA512-PBKDF2. Convert this dictionary to binary data before setting it as the value for passwordHash. RequestRequiresNetworkTether: If true, the device needs to be network-tethered to run the command. RequestType: The request type for this command.
