Disabling External Storage
This tech note outlines how to disable all external storage devices on a player. This method will disable storage devices on the following interfaces:
XTx44/XTx43: microSD, USB
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:
Download the attached disable-autorun.brs file.
Rename the disable-autorun.brs file to autorun.brs.
Copy the autorun.brs file to the root directory of a blank microSD card or other storage device.
Insert the storage device into the unit while it is powered off.
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".
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:
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:
Download the attached enable-autorun.brs file.
Rename the enable-autorun.brs file to autorun.brs.
Copy the autorun.brs file to the root directory of a blank microSD card or other storage device.
Insert the storage device into the unit while it is powered off.
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".
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.
Tip
You can also perform a Factory Reset to delete this setting and reenable all storage devices.
Developer
To re-enable external storage, delete the internal_only
registry section:
reg = CreateObject("roRegistrySection", "storage")
reg.delete("internal_only")
The player will need to be rebooted for this setting to take effect as well.