Here, you'll learn how to deploy the Actifile agent using a batch logon script
The following batch logon script checks whether the Actifile agent is installed on a system and, if not, silently installs it.
Prerequisites
- Ensure the MSI installation package is accessible via a shared network location.
- Verify the correct tenant installation key is specified in the script.
Deployment Steps
Step 1. Modify the script to include the correct network path to the MSI file and the tenant key.
Step 2. Save the script as install_actifile.bat
.
Step 3. Place the script in a shared location accessible by all target machines.
Step 4. Use Group Policy (GPO) to assign the script as a logon script:
Step 5. Open the Group Policy Management Console (gpedit.msc
).
Step 6. Navigate to User Configuration > Windows Settings > Scripts (Logon/Logoff).
Step 7. Click Logon, then Add, and select install_actifile.bat
.
Step 8. Apply the changes and ensure the policy is linked to the correct Organizational Unit (OU).
Step 9. Restart or re-logon the target machines to trigger the script.