--- title: "Importing a script into a new script" slug: "importing-a-script-into-a-new-script" tags: ["EDR with Forensics (EDRF)", "Endpoint Security"] updated: 2026-08-26T19:31:16Z published: 2026-08-26T19:31:16Z canonical: "docs.trellix.com/importing-a-script-into-a-new-script" --- > ## 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. # Importing a script into a new script **To import a script into a new data acquisition script:** 1. Select **Data Acquisition Scripts** from the **Configure** section in the main menu of the Endpoint Security (HX) Web UI. 2. Click **Import Script**. The Import Script dialog appears. ![DAImportScript.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-fff25f0d-2543-3efd-6355-dbe556b64c32.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A46%3A07Z&se=2026-11-19T22%3A46%3A07Z&sr=c&sp=r&sig=Sq5DuG7n79EskIQUnS1mJ1Dn7G7NsriJCx4PX6uR7p8%3D) 3. In the Script Name field, enter a name for the new script. 4. Optionally, enter a description of the script. 5. Select the operating system of the script you are importing. You can only select a single operating system on the Import Script dialog. However, if a script applies to more than one operating system, you can add operating systems after the script is created. See [Changing script operating systems](/v1/docs/changing-script-operating-systems) . 6. Click **Browse** to locate and the script you want to import. 7. Select the script you want to import and click **Open**. The script is added to the Import Script dialog. You can remove the script from the Import Script dialog by clicking the ![HX_Remove_icon.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-e230c963-ae32-a4bf-d640-7430fcd1d80b.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A46%3A07Z&se=2026-11-19T22%3A46%3A07Z&sr=c&sp=r&sig=Sq5DuG7n79EskIQUnS1mJ1Dn7G7NsriJCx4PX6uR7p8%3D) icon next to its name. You might need to do this if, for example, you accidentally selected the wrong script to import. If none of the audits in the selected script are supported by the operating system you have selected, the error "The selected file contains only unsupported audits" appears and you are prompted to select a different import script. If you have selected the wrong operating system of the script you are importing, but some of the audits apply to the operating system you have selected, the audits that cannot be imported are removed from the script during the import and reported in an error text file. 8. When the correct script is selected, click **Import** to import the script. If the Endpoint Security (HX) has problems interpreting the script or does not recognize an audit in the script, a message appears. ![HX_ScriptImportError.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-23a73708-1a1e-77ad-b6ec-e07b8a80a218.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A46%3A07Z&se=2026-11-19T22%3A46%3A07Z&sr=c&sp=r&sig=Sq5DuG7n79EskIQUnS1mJ1Dn7G7NsriJCx4PX6uR7p8%3D) Select **Download the list of import issues** to download a text file containing a list of what was not imported. - If you have selected the wrong operating system of the script you are importing, the audits that cannot be imported are removed from the script and reported in the error text file. If none of the audits can be imported, you are notified on the Import Script dialog before the import occurs. - Some audits in a script cannot be imported. When this happens, the audits that cannot be imported are removed from the script and reported in the error text file. See [Audits that cannot be imported](/v1/docs/audits-that-cannot-be-imported) . If the import goes well, the Data Acquisition page adjusts so only the script section associated with the imported script appears. You can identify the operating system by the icon displayed to the left of the script name: Windows (![IconWinHost.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-26b5a9ba-7467-57f0-68ee-2137a7d3e705.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A46%3A07Z&se=2026-11-19T22%3A46%3A07Z&sr=c&sp=r&sig=Sq5DuG7n79EskIQUnS1mJ1Dn7G7NsriJCx4PX6uR7p8%3D)), OS X (![IconOSXHost.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-21791862-73d1-a85f-4a19-74dd680f7870.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A46%3A07Z&se=2026-11-19T22%3A46%3A07Z&sr=c&sp=r&sig=Sq5DuG7n79EskIQUnS1mJ1Dn7G7NsriJCx4PX6uR7p8%3D)), or Linux (![linux.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-dae4f255-9c27-002c-7754-81de107994f2.png?sv=2026-02-06&spr=https&st=2026-11-19T21%3A46%3A07Z&se=2026-11-19T22%3A46%3A07Z&sr=c&sp=r&sig=Sq5DuG7n79EskIQUnS1mJ1Dn7G7NsriJCx4PX6uR7p8%3D)). 9. Click **Create** to create and save the script in Endpoint Security (HX). You can create a script with unresolved import issues.