Block and unblock adb command and developer mode

Last updated August 5th, 2025

Android Debug Bridge (adb) is a command-line tool that allows device users to perform tasks like installing and debugging apps, and accessing the Unix shell. By default, adb communication is unblocked for all devices enrolled in Knox Guard, meaning that device users can manually enter or exit developer mode in order to debug or troubleshoot issues using adb.

The Block/Unblock ADB command and developer mode feature—supported for all devices running Android 11 or higher— lets you control which devices in your account can and cannot use adb. In addition, this feature completely blocks access to the device’s Developer options menu. To use this feature, you must first submit a request to your Samsung Knox representative to have it activated on your Knox Guard tenant.

When adb communication is disabled, device users may not be able to receive proper customer support for their devices. You should consider this limitation and have a plan in place to address device related issues.

Block adb command and developer mode

To block selected devices:

  1. Select one or more devices from the Devices page.

  2. Select ACTIONS > Manage policy > Block ADB Command and Developer mode.

    Action dropdown showing block/unblock adb command

  3. On the Block ADB command and developer mode dialog, click Confirm. A message displays near the top of the screen verifying that the devices have been submitted to Knox Guard.

Activation might take some time based on the device’s network.

Unblock adb command and developer mode

To unblock selected devices:

  1. Select one or more devices from the Devices page.

  2. Select ACTIONS > Manage policy > Unblock ADB Command and developer mode.

  3. On the Unblock ADB command and developer mode dialog, click Confirm. A message displays near the top of the screen verifying that the devices have been submitted.

Activation might take some time based on the device’s network.

Block or unblock adb command and developer mode in bulk

You can select devices in bulk by entering their IMEIs or serial numbers into a standardized template. The maximum number of devices you can select in one action is 10,000.

To block devices in bulk:

  1. Select BULK ACTIONS in the bottom of the left navigation pane.

  2. To download a standard template, click Download CSV template.

    For more information on how to create a properly formatted CSV file for bulk device acceptance, select Instructions for all bulk actions from the bottom left-hand side of the Bulk actions screen.

  3. In the ADVANCED CONTROLS section of the Bulk actions screen, select one of the following and upload your CSV file containing the device IDs.

    • BLOCK ADB COMMAND AND DEVELOPER MODE
    • UNBLOCK ADB COMMAND AND DEVELOPER MODE

    Block adb command and developer mode in bulk page.

  4. Click CONFIRM to submit the devices. A message displays near the top of the screen verifying that the devices have been submitted.

Activation might take some time based on the device’s network.

Is this page helpful?