# Remote file management: Deploy and remove files

Remote File Management allows administrators to efficiently handle file distribution and cleanup across a fleet of managed devices without needing physical access. This system relies on the content repository in the Hexnode console as the central storage hub for all managed files.

Hexnode provides two core remote actions:

- **Deploy File**: To deploy new files to specific device locations.
- **Remove File**: To delete designated files from devices.

 Supported Devices: 
These actions are supported on **Android**, **macOS** and **Windows** devices.

 

Deploy Files to Managed Devices
-------------------------------

The **Deploy File** action adds content to a target device. You can select files from the central Hexnode Content Repository or upload new files directly during execution.

### Steps to Deploy a File Remotely

1. Log in to the **Hexnode UEM console**.
2. Navigate to **Manage > Devices**.
3. Go to **Actions > Others > Deploy File**.
4. Enter the location on the device where the file should be saved (the target path).
5. Upload the file either from your local system or the Hexnode repository (multiple files can be uploaded).
6. Click **Add**.

**Result**: When executing the Deploy File action, the file is saved to the specified location.

 Note: 
For **Windows** devices, the **Deploy File** action cannot upload files to location paths that contain reserved system names.

Reserved system names include:

- CON, PRN, AUX, NUL
- COM1 through COM9
- LPT1 through LPT9
- COM¹, COM², COM³, LPT¹, LPT², and LPT³

 

### Critical File Path Details

There exist specific file deployment behaviors for certain OS types:

Operating SystemSpecified LocationDefault/Fallback Location if the path is invalidAndroid Enterprise (Profile Owner)Any specified pathInternal storage > Hexnode > FilesmacOSAny specified pathLibrary > Application Support > HexnodeMDM > DownloadsWindowsAny specified pathC:\Hexnode\ResourcesRemove Files from Managed Devices
---------------------------------

The **Remove File** action deletes content from a device, helping to maintain compliance and keep endpoints clean.

### Steps to Remove a File Remotely

1. Log in to the **Hexnode UEM console**.
2. Navigate to **Manage > Devices**.
3. Select the specific device(s).
4. Go to **Actions > Others > Remove File**.
5. Enter the full file path, including the file name, for the content you wish to delete (you can specify multiple paths).
6. Click **Remove**.

**Result**: When executed, the file(s) are permanently deleted from the specified path on the device.

 Note: 
For **Windows** devices, files located in critical system paths (e.g., **C:\Windows\System32, C:\Hexnode**) cannot be deleted using the **Remove File** action.