This guide outlines the necessary steps to deploy the Actifile agent using PSTools PsExec
Step 1. Download PSExec from the Microsoft Sysinternals suite.
Step 2. Create a shared directory (for example, C:\InstallShare
) and place the PSExec executable within it. Configure the folder with the following permissions:
-
Authenticated Users: Read-only access
-
SYSTEM Account: Read-only access
Step 3. Prepare a text file containing the names of the devices you wish to deploy the agent to. Ensure these names are resolvable within your domain. Save this file in the shared folder created earlier, for example: C:\InstallShare\SoftwareInstall.txt
.
Example content of SoftwareInstall.txt:
SystemNametoDeploy01
SystemNametoDeploy02
SystemNametoDeploy03
Step 4. Set up a shared folder on a server to store the Actifile Agent MSI file, such as \\ServerName\installs\softwareinstall\
. Assign the following permissions to this folder:
-
Authenticated Users: Read-only access
-
SYSTEM Account: Read-only access
Step 5. Copy the Actifile Agent.msi
installation file into the shared location created in Step 4.
Step 6. To automate the deployment, create a batch file with the following structure. Use a text editor such as Notepad to create the file.
Batch File Content:
"C:\InstallShare\PsExec.exe" @C:\InstallShare\SoftwareInstall.txt -s msiexec.exe /i "\\ServerName\installs\softwareinstall\Actifile Agent.msi" installkey=1234-12345-ABCD-EFGH /quiet
pause
-
-s
********************************************************************************: Executes the process under the SYSTEM account to avoid exposing administrator credentials. -
msiexec.exe /i
********************************************************************************: Executes the MSI installer. -
/quiet
********************************************************************************: Runs the installer without user interaction.
Notes:
- Make sure to use the correct tenant install key.
- All paths in the batch file must be accurate and accessible from the devices in your network.
Example Batch File Execution:
"C:\InstallShare\PsExec.exe" @C:\InstallShare\SoftwareInstall.txt -s msiexec.exe /i "\\ServerName\installs\softwareinstall\Actifile Agent.msi" installkey=1234-12345-ABCD-EFGH /quiet
pause