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

# Reset Android Work Profile Passcode

> Reset or set a new work profile passcode on managed Android devices from Iru Endpoint. Clear forgotten passcodes and restore access to work apps.

<Callout icon="android" color="#B84A7A" iconType="regular">This guide applies to Android devices</Callout>

### About Reset Android Work Profile Passcode

The **Reset work profile passcode** command resets the work profile passcode on an Android device and optionally lets you set a new one. Run it from a device record in the Iru web app or via the Iru enterprise API.

### Requirements

* Enrolled Android device with a work profile

### How It Works

Iru Endpoint sends the command to the device through the Android Management API. When the device receives it, the existing work profile passcode is reset. If you set a new passcode, it is validated against any assigned *Android Work Profile Passcode* Library Item and must meet Android’s minimum length (4 characters, or 6 on Android 14).

#### When No Work Profile Passcode Policy Is Assigned

When no *Android Work Profile Passcode* Library Item is assigned to the device, you can reset the passcode and optionally set a new one. To enforce stricter requirements, assign the [Android Work Profile Passcode](/en/endpoint/library/library-items-profiles/configure-the-passcode-library-item#creating-android-work-profile-passcode-policies) Library Item.

<Steps>
  <Step title="Navigate to Devices Page">
    Go to the **Devices** page and select an Android device.
  </Step>

  <Step title="Open Device Action Menu">
    Open the **Device Action Menu** (ellipsis) in the upper right corner and select **Reset work profile passcode**.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-base.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=7b24d1c458cc7c3d80d6e6b0138a54db" alt="Device Action Menu with Reset work profile passcode option" width="2104" height="1624" data-path="assets/media/images/iru-reset-work-profile-base.png" />
    </Frame>
  </Step>

  <Step title="Reset without new passcode">
    To reset the work profile passcode only, leave **Set new passcode** off and click **Reset passcode** to send the command.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-confirm-reset.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=870a487b535c676d0d472262f83faef5" alt="Confirm reset passcode" width="948" height="436" data-path="assets/media/images/iru-reset-work-profile-confirm-reset.png" />
    </Frame>
  </Step>

  <Step title="Optional: Set a new passcode">
    To set a new passcode, turn on **Set new passcode**, enter a passcode that meets the minimum length, then click **Reset passcode**.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-base-new-passcode.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=57a528cc6ce5718ce229518acffdea9e" alt="Reset work profile passcode modal with New passcode field" width="944" height="642" data-path="assets/media/images/iru-reset-work-profile-base-new-passcode.png" />
    </Frame>
  </Step>

  <Step title="Optional: Lock work profile">
    Optionally turn on **Lock work profile immediately after passcode reset** before clicking **Reset passcode**. With this option, the new passcode is required immediately to access any work profile content. Without it, the new passcode is only required the next time the user would normally enter their PIN.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-base-new-passcode-lock.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=86c339ae2fc38d841c2f35536c88a98d" alt="Lock work profile option (base flow)" width="946" height="644" data-path="assets/media/images/iru-reset-work-profile-base-new-passcode-lock.png" />
    </Frame>
  </Step>
</Steps>

#### When a Work Profile Passcode Policy Is Assigned

When the device has the *Android Work Profile Passcode* Library Item assigned, a new passcode is required and the policy requirements are enforced. For details on configuring the Library Item, see [Android Work Profile Passcode](/en/endpoint/library/library-items-profiles/configure-the-passcode-library-item#creating-android-work-profile-passcode-policies).

<Steps>
  <Step title="Navigate to Devices Page">
    Go to the **Devices** page and select an Android device.
  </Step>

  <Step title="Open Device Action Menu">
    Open the **Device Action Menu** (ellipsis) in the upper right corner and select **Reset work profile passcode**.

    <Frame>
      <img src="https://mintcdn.com/iru/vmqsoa2hHsWzVtrZ/assets/media/images/iru-reset-work-profile-with-library-item-reset.png?fit=max&auto=format&n=vmqsoa2hHsWzVtrZ&q=85&s=be9993fcbffbd800f94b1340d5209d74" alt="Device Action Menu with Reset work profile passcode option" width="2096" height="1704" data-path="assets/media/images/iru-reset-work-profile-with-library-item-reset.png" />
    </Frame>
  </Step>

  <Step title="View requirements">
    The modal displays the requirements from the assigned Library Item (for example, minimum length, numbers, letters). Each requirement appears in the list until it is met.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-with-library-item-reset-requirements.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=ec38fccda2ef697a81c48e8f9e29fab1" alt="Passcode requirements from Library Item displayed in modal" width="950" height="812" data-path="assets/media/images/iru-reset-work-profile-with-library-item-reset-requirements.png" />
    </Frame>
  </Step>

  <Step title="Confirm requirements are met">
    As you enter a passcode, validation runs and each requirement shows a green checkmark <Icon icon="circle-check" size={14} color="#16a34a" style={{ display: 'inline-flex', verticalAlign: 'middle' }} /> when met. When all requirements are met, **Reset passcode** is enabled.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-with-library-item-reset-requirements-met.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=2d2d94c7422e8582b9901e59513b1a3d" alt="Passcode validation met, ready to send command" width="950" height="814" data-path="assets/media/images/iru-reset-work-profile-with-library-item-reset-requirements-met.png" />
    </Frame>
  </Step>

  <Step title="Optional: Lock work profile">
    Optionally turn on **Lock work profile immediately after passcode reset**. With this option, the new passcode is required immediately to access any work profile content. Without it, the new passcode is only required the next time the user would normally enter their PIN.

    <Frame>
      <img src="https://mintcdn.com/iru/QrnwXXyGAFO8Vs96/assets/media/images/iru-reset-work-profile-with-library-item-reset-lock.png?fit=max&auto=format&n=QrnwXXyGAFO8Vs96&q=85&s=6f7761808b41b7c3bbfe9e8ceae79bc0" alt="Lock work profile option when Library Item is assigned" width="946" height="812" data-path="assets/media/images/iru-reset-work-profile-with-library-item-reset-lock.png" />
    </Frame>
  </Step>

  <Step title="Confirm reset">
    Click **Reset passcode** to send the command.
  </Step>
</Steps>

### When to Use This Command

The **Reset work profile passcode** command gives admins a way to restore access to work apps when an end user forgets their passcode, so users can avoid unenrolling and re-enrolling the Android device.

To learn more about the underlying command and behavior, see the [Android Management API](https://developers.google.com/android/management/reference/rest/v1/enterprises.devices/issueCommand#resetpasswordflag) in Google's documentation.

### Related Articles

<CardGroup cols={2}>
  <Card title="Lock a Device" icon="lock" href="/en/endpoint/devices/device-actions/lock-a-device">
    Remotely lock devices across all platforms
  </Card>

  <Card title="Erase a Device" icon="trash" href="/en/endpoint/devices/device-actions/erase-a-device">
    Remotely erase a device
  </Card>

  <Card title="View Device Application List" icon="list" href="/en/endpoint/devices/view-device-application-list">
    View and manage the application list on devices
  </Card>
</CardGroup>
