Category filter

Script to download and install Enterprise app (EXE) from its download link

Enterprise apps are apps that are tailored to meet the needs of an organization. Hexnode users can deploy scripts to download and install such apps on Windows 10 devices.


The Sample Scripts provided below are adapted from third-party Open-Source sites.

Batch Script

E.g., To install a program ‘application.exe’ in the Desktop of the user Deborah,

bitsadmin.exe /transfer "transfer123" http://download.url/application.exe C:\Users\Deborah\application.exe
Start C:\Users\Deborah\application.exe


You need not install the program with the same name used in the download URL. You can put a more comprehensive name when you specify the path of the .exe file. Make sure that you call the Start command of the program with the newly assigned name.

PowerShell Script

Enter suitable values for the $file and $url variables in the above script. Moreover, if the .exe file mandates any arguments for its installation, you can provide them corresponding to the $arguments variable within the double inverted commas. The argument(s) to be passed are specific to the .exe file of the application to be installed.

For example, the following script will install a program ‘application.exe’ that requires a valid site token for its installation:


  • Only apps that support silent installation will be installed without user intervention. Some exe installers cannot be run silently. In such cases those apps will require the user to grant permission or accept an agreement to be installed on the device.
  • It is recommended to manually validate the script execution on a system before executing the action in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the script.

  • Sample Script Repository