> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Clear passcode

> Remotely remove the lock screen passcode on a managed Android device so an employee who forgot their PIN, pattern, or password can regain access and set a new one.

Clear passcode removes the lock screen credential on a managed Android device without erasing any data. Use it when an employee forgets their PIN, pattern, or password and cannot unlock their device. The employee can then unlock the device immediately and set a new passcode the next time they lock the screen.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| ----- | ------- | ----- | ------------ | ------- |
| ❌     | ❌       | ❌     | ❌            | ✅       |

Clear passcode works on both **company-owned** and **personally-owned (BYOD)** Android devices enrolled with Primo.

## When to use it

* An employee has forgotten their device passcode and cannot unlock their phone or tablet.
* You need to unlock a returned device before wiping or reassigning it.
* A device is locked and you want to hand it back to the employee without factory-resetting it.

For other lockout scenarios, see [Locking devices](/mdm/guides/locking-devices) or [Wiping devices](/mdm/guides/wiping-devices).

## Clear the passcode

<Steps>
  <Step title="Go to Devices and open the device details page">
    Find the Android device in the **Devices** list and open its details.
  </Step>

  <Step title="Click Actions > Clear passcode">
    Primo only shows this action for Android devices with MDM on.
  </Step>

  <Step title="Confirm the action">
    Primo sends the command immediately and cannot cancel it.
  </Step>
</Steps>

Primo removes the lock screen credential the next time the device syncs. The employee can then unlock the device and set a new passcode when prompted.

<Warning>
  Clear passcode is triggered immediately and cannot be cancelled. Only run it when the employee is ready to receive their device unlocked.
</Warning>

## Related articles

* [Locking devices](/mdm/guides/locking-devices)
* [Wiping devices](/mdm/guides/wiping-devices)
* [Android initial setup](/mdm/get-started/initial-setup-android)
