---
title: Disable External Storage
slug: hardware/disable-external-storage
docTags: 
createdAt: 2025-03-11T06:58:11.201Z
---

This method will disable storage devices on the following player interfaces:

- **XCx55**: microSD, USB
- **XTx45/XTx44/XTx43**: microSD, USB
- **XDx35/XDx34/XDx33**: microSD, USB
- **4Kx42**: SD, USB

This method does not allow you to choose certain interfaces to disable. It also disables storage operations only; other USB devices will operate as normal.

# Disabling External Storage

## End User

Follow these steps to disable external storage:

1. Download the *disable-autorun.brs* file below.
2. Rename the *disable-autorun.brs* file to *autorun.brs*.
3. Copy the *autorun.brs* file to the root directory of a blank microSD card or other storage device.
4. Insert the storage device into the unit while it is powered off.
5. Power on the unit. In a moment, you will see a yellow message on the screen that states "Disabling External Storage". You will then see this message: "External storage has been disabled".

::File{src="https://api.archbee.com/api/presign/TYAqEnq_Txckpox4eAKHe-XJRgi-Wr78t0xGJbSWQyb-20250408-212757.brs" label="disable-autorun.brs"}

The script will delete itself and restart the player when complete. You should see a BrightSign logo on the screen with the firmware version that is installed on the unit.

## Developer

To disable external storage devices, run an *autorun.brs* script containing the following code:

:::CodeblockTabs
BrightScript

```typescript
reg = CreateObject("roRegistrySection", "storage")
reg.write("internal_only", "1")
```
:::

External storage will not be disabled until the script exits and the player reboots. You can use the `RebootSystem()` function to terminate the *autorun.brs* script and reboot the player.

# Enabling External Storage

## End User

Follow these steps to disable external storage:

1. Download the *enable-autorun.brs* file below.
2. Rename the *enable-autorun.brs* file to *autorun.brs*.
3. Copy the *autorun.brs* file to the root directory of a blank microSD card or other storage device.
4. Insert the storage device into the unit while it is powered off.
5. Power on the unit. In a moment, you will see a yellow message on the screen that states "Enabling External Storage". You will then see this message: "External storage has been enabled".

::File{src="https://api.archbee.com/api/presign/TYAqEnq_Txckpox4eAKHe-r4Q7wWeD0vvdTwgRumz3I-20250408-212819.brs" label="enable-autorun.brs"}

The script will delete itself and restart the player when complete. You should see a BrightSign logo on the screen with the OS version that is installed on the unit.

:::hint{type="success"}
### Tip

You can also perform a [Factory Reset](docId\:ynCF7P2PYZo2qedF1JYim) to delete this setting and reenable all storage devices.
:::

## Developer

To re-enable external storage, delete the `internal_only` registry section:

:::CodeblockTabs
BrightScript

```text
reg = CreateObject("roRegistrySection", "storage")
reg.delete("internal_only")
```
:::

The player will need to be rebooted for this setting to take effect as well.
