--- title: "Enabling or disabling auto-mounting on a USB device using the CLI" slug: "enabling-or-disabling-auto-mounting-on-a-usb-device-using-the-cli-2" updated: 2026-08-25T21:18:18Z published: 2026-08-25T21:18:18Z canonical: "docs.trellix.com/enabling-or-disabling-auto-mounting-on-a-usb-device-using-the-cli-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Enabling or disabling auto-mounting on a USB device using the CLI Use the commands in this topic to enable or disable auto-mounting on a USB device attached to the Central Management System appliance. You must enable auto-mounting when the USB device is attached. By default, auto-mounting is disabled. Auto-mounting will not mount the USB device when it is already attached to the appliance. Prerequisites - Admin access To enable auto-mounting on a USB device: 1. Go to CLI configuration mode: ``` hostname > enable ``` ``` hostname # configure terminal ``` 2. Enable auto-mounting on a USB device attached to the appliance: ``` hostname (config) # media usb auto-mount enable ``` 3. Plug the USB device in to the appliance immediately. 4. Verify the USB device auto-mount configuration. ``` hostname (config) # show media usb USB auto-mount configuration: Enabled:             yes Local web access:    yes Top-level directory: fireeye ``` To disable auto-mounting on the USB device: 1. Go to CLI configuration mode: ``` hostname > enable ``` ``` hostname # configure terminal ``` 2. Disable auto-mounting on the USB device: ``` hostname (config) # no media usb auto-mount enable ``` 3. Verify the USB device auto-mount configuration. ``` hostname (config) # show media usb USB auto-mount configuration: Enabled:             no Local web access:    yes Top-level directory: fireeye ``` :