<!--
{
  "availability" : [
    "macOS: 11.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/SetRecoveryLockCommand",
  "metadataVersion" : "0.1.0",
  "role" : "Device Management Command",
  "symbol" : {
    "kind" : "Device Management Command",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "mdm-commands:SetRecoveryLockCommand"
  },
  "title" : "SetRecoveryLockCommand"
}
-->

# SetRecoveryLockCommand

The command to set or clear the Recovery Lock password.

```
object SetRecoveryLockCommand
```

## Topics

### Objects

[`SetRecoveryLockCommand.Command`](/documentation/DeviceManagement/SetRecoveryLockCommand/Command-data.dictionary)

The command to set or clear the Recovery Lock password.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)