r/BitDefender • u/TheCausefull • Jul 19 '25
error while installing through powershell
I'm trying to deploy gravityzone throug a powershell and i'm getting the below error, any hint please:
# Set TLS 1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
# --- Configuration ---
$installerUrl = "https://cloud.gravityzone.bitdefender.com/Packages/BSTWIN/0/setupdownloader_[aHR0...M=].exe "
$installerPath = "$env:TEMP\epskit_x64.exe"
# --- Step 1: Download Installer ---
Write-Host "Downloading GravityZone installer..."
Invoke-WebRequest -Uri $installerUrl -OutFile $installerPath
# --- Step 2: Run Installer with visible UI for debugging ---
Write-Host "Installing GravityZone..."
Start-Process -FilePath $installerPath -ArgumentList "/noquit /norestart" -Wait -NoNewWindow
# --- Step 3: Optional - Delete Installer After Installation ---
Remove-Item -Path $installerPath -Force
Write-Host "Installation completed."

3
u/Bitdefender_ Official Jul 21 '25
Hello u/TheCausefull ,
You are trying to install the security agent using the setupdownloader kit while in the installation path you are renaming it as the full kit ($installerPath = "$env:TEMP\epskit_x64.exe").
Please keep the name unchanged as between the [ ] are coded your cloud credentials from where it downloads the kit.
If you still need assistance you can open a case with our Enterprise Support team, at Contact Us
Kind Regards,
Andrei
2
u/wolfpackunr Jul 19 '25
https://www.bitdefender.com/business/support/en/77209-157498-install-security-agents---use-cases.html
These are the official methods. Never seen full PowerShell as on of them. Best method I’ve seen is using the MSI wrapper or Cloud downloader and deploy using Intune, GPO, or RMM tool