1. Home
  2. Docs
  3. Scripts and HTML Templates
  4. AiP Defense Agent Silent Upgrade Powershell Script

AiP Defense Agent Silent Upgrade Powershell Script

AiP Defense Agent Silent Upgrade Powershell Script
* Tip 👉 There is more than one way to do this, see the Microsoft documentation:
<# Makes a working directory #>
mkdir C:\AiPDefense

<# uses bitsadmin to download the agent. You must first download and place the agent somewhere for download. (your web server or cloud storage) #>
bitsadmin /transfer AiPDefenseInstaller /priority high https://domain.com/AiPAgentDownload/AiP_Defense_Agent_V_2.0.msi C:\AiPDefense\AiP_Defense_Agent_V_2.0.msi

<# a 5 second pause after the download #>
timeout /t 5

<# changes to the working directory #>
cd "C:\AiPDefense"

<# uses msiexec to silently install the agent #>
msiexec /i C:\AiPDefense\AiP_Defense_Agent_V_2.0.msi /qn /l*v "C:\AiPDefense\install_log.txt" LicenseAccepted=1 WIXUI_EXITDIALOGOPTIONALCHECKBOX=1
Was this article helpful to you? Yes No

How can we help?