This guide covers using PowerShell scripts to install, and uninstall Actifile.
You can execute Actifile installation scripts in an elevated PowerShell session or via PSExec for remote deployments.
Required Tools and Resources
- Download Installation Scripts.
- Download PSExec. For detailed guidance on deploying Actifile with PSExec, refer to our Install Actifile with PSTools PsExec article.
Parameters
1234-1234-1234-1234
: Your Actifile Install Key.psexec
: Include the full path (e.g.,C:\pstools\psexec
) if not in your PATH.\\COMPUTERNAME
: Target system’s resolvable name (e.g.,\\MARK-DESKTOP
).USERNAME
/PASSWORD
: Admin users domain or workgroup name (e.g.HOME\admin
)PATH
: Directory accessible from the target machine.
Deployment Script: deployActifile.ps1
DeployActifile.ps1
checks for Actifile's presence and downloads the latest installer if not found. You can use it as a logon script.
PowerShell
Open PowerShell with administrator privileges and set the ExecutionPolicy
to bypass:
Set-ExecutionPolicy Bypass -Scope Process
.\deployActifile.ps1 1234-1234-1234-1234
Or specify the script path:
& 'C:\Users\...\Actifile Support\Installation Scripts\deployActifile.ps1' 1234-1234-1234-1234
PSExec
Run the following with PSExec, replacing parameters with your values:
psexec \\COMPUTERNAME -h -u USERNAME -p PASSWORD /s cmd /c %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -file "PATH\DeployActifile.ps1" 1234-1234-1234-1234
Uninstallation Script: UninstallActifile.ps1
This script stops all Actifile-related services, unmounts drivers, and uses WMI to uninstall the software.
PowerShell
Open PowerShell with administrator privileges and set the ExecutionPolicy
to bypass:
Set-ExecutionPolicy Bypass -Scope Process
.\uninstallActifile.ps1
Or specify the script path:
& 'C:\Users\...\Actifile Support\Installation Scripts\uninstallActifile.ps1'
PSExec
Run the following with PSExec, replacing parameters with your values:
psexec \\COMPUTERNAME -h -u USERNAME -p PASSWORD /s cmd /c %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -file "PATH\UninstallActifile.ps1