Zoomed Image

Download, Copy and Unpack Files

Endpoint Management Guide

Change a Computer

Download, Copy and Unpack Files

Three actions put files on the selected computers. Download File fetches a web address to a file. Copy File copies a file from one path to another. Unpack Archive extracts a ZIP file into a folder. Each one runs on the computer, so every path and address must work from the computer.

Endpoints > Endpoint List > select the computers > Change > Software and Files > Download File, Copy File or Unpack Archive.

Download File dialog with DEVDC in Computers, URL required, Target File optional, and Timeout (seconds) 120

Download File

Field What it does Default
Computers The computers that download the file The selected rows
URL The address of the file: a web address starting https:// or http://, or a share path such as \\server\share\setup.msi. Required. Empty
Target File Where to save the file on each computer: the full path with the file name, for example C:\Temp\setup.msi. Leave it blank to save the file in the agent's temporary folder under its own name. Empty
Timeout (seconds) How long the download may take before the run fails 120

Each computer downloads the file itself, as the agent (SYSTEM). The collection server does not push the file. So the address must be reachable from the computers, not just from your browser, and a share must be readable by the computer account.

A missing folder in Target File is created. A file already there is replaced. The run fails if the file is not on disk afterwards. The phases are Sent, Applied and Verified.

Copy File

Field What it does Default
Computer Names The computers that copy the file The selected rows
Source The file to copy, as the computer sees it. A local path or a share path. Empty
Target The path to copy to Empty

A file already at Target is overwritten. The phases are Sent and Applied.

Unpack Archive

Field What it does Default
Computers The computers that unpack the archive The selected rows
ZIP File The ZIP file on each computer, for example C:\Temp\tools.zip. A name with no folder, such as tools.zip, means the agent's temporary folder. A share path works if the computer account can read it. Required. Empty
Unpack To The folder to extract into, for example C:\Tools\MyApp. It is created if missing. Leave it blank to extract into the agent's temporary folder. Empty

Only ZIP files can be unpacked. Files already in Unpack To with the same names are overwritten. A missing ZIP file fails with "Zip file not found". The phases are Sent and Applied.

To put a ZIP file on the computers first, use Download File. With Target File left blank, the file lands in the agent's temporary folder, so ZIP File can then be just its name.

After you click OK

Each action shows "Sent to the selected computers." and asks "Do you want to follow it now?". Yes opens Activity.

Undo

None of the three can be undone from Activity. The runs do not record what was at the target before. Remove or restore the files with another action, or with a script from the Script Library.

Key points

  • The three actions combine. Download a ZIP with Download File, then extract it with Unpack Archive.
  • The agent runs as the local system account. It reaches a share as the computer account, so the share needs read access for Domain Computers.
  • To install software, use Install Software. It checks the installer against an approved fingerprint. See Install and Remove Software.