# Block external storage devices Last Updated On: 05 Aug 2026 4 minutes read ## Description The usage of USB devices is inevitable in any organization. Data portability perks come as a package with the threat of data theft and malware injection. Hence, blocking the usage of USB devices fortifies the network from incidents of data breach. Endpoint Central offers several [configurations](https://www.manageengine.com/products/desktop-central/help/configurations/linux-configurations.html) to help you safeguard the Linux machines in your network. This document provides you with steps on **preventing the usage of unauthenticated storage devices and obtaining a report on the same** by executing custom script configuration. ## Prerequisite Download the applicable tool from below. You'll need the contents of this file for both block and unblock operations. - For Intel/AMD machines - [Download tool](https://www.manageengine.com/products/desktop-central/scripts/USB_BLOCK_AMD.zip) (SHA 256 Checksum: `6620705e878c1b0970c8016d8c2a8226565b53688e3a6716bfe7398577d55900`) - For ARM machines - [Download tool](https://www.manageengine.com/products/desktop-central/scripts/USB_BLOCK_ARM.zip) (SHA 256 Checksum: `6c36ceed3fcccf945cd466bc90fb58afd852defaebdf701469f7265cc31c37d5`) **Note:** All USB storage devices will be blocked. ## Steps to block storage devices 1. Create Linux custom script configuration under Linux Configurations and select the command line option. For this, navigate to **Configuration** > **Configurations** > **Linux** > **Custom Script** > **Computer** 2. Enter the following text in the **Command Line** field: *chmod +x dcwrapperusb; ./dcwrapperusb* 3. Add the following dependency files: **usb.json**, **dcusbagent**, **dcwrapperusb**, **dcusbreport**. 4. Deploy the configuration. ![Block USB Configuring](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/configuration-management/dc_linux_block.webp) All USB storage devices have been blocked successfully. ## Steps to Unblock storage devices 1. Create Linux custom script configuration under Linux Configurations and select the command line option. For this, navigate to **Configurations** > **Configuration** > **Linux** > **Custom Script** > **Computer** 2. Enter the following text in the Command Line field: *chmod +x dcunblockusb; ./dcunblockusb* 3. Add the following dependency files: **dcunblockusb**, **dcusbreport**. 4. Deploy the configuration. ![Block Report USB Configuring](https://cdn.manageengine.com/sites/meweb/images/desktop-central/help/configuration-management/dc_linux_unblock.webp) All USB storage devices have been unblocked successfully. ## To Obtain a report of blocked and unblocked devices To generate the report, copy the query text [here](https://www.manageengine.com/products/desktop-central/query_for_linux_usb_policy_report.txt) and go to **Reports > Query Reports > New Query Report.** Paste the text in the query field and **Run** the report. This will show you the list of blocked and unblocked devices.