From 3ff00aca6de6121f228e09234e9c2316ee5e5610 Mon Sep 17 00:00:00 2001 From: uhlwoogi Date: Tue, 21 Apr 2026 16:33:21 +0000 Subject: [PATCH] Fix silent failure on TacticalRMM download Add -ErrorAction Stop so Invoke-WebRequest throws on failure instead of silently continuing, and -UseBasicParsing to avoid IE engine dependency. Add progress output so it's clear the download is running. Co-Authored-By: Claude Sonnet 4.6 --- 1-estudio-Install-TacticalRMM-and-RustDesk.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 b/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 index 795a53b..118255b 100644 --- a/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 +++ b/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 @@ -176,7 +176,9 @@ If (Get-Service $serviceName -ErrorAction SilentlyContinue) { } Try { - Invoke-WebRequest -Uri $downloadlink -OutFile "$OutPath\$output" + Write-Host "Downloading TacticalRMM agent..." + Invoke-WebRequest -Uri $downloadlink -OutFile "$OutPath\$output" -UseBasicParsing -ErrorAction Stop + Write-Host "Download complete." Start-Process -FilePath "$OutPath\$output" -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES' -Wait Write-Host "Extracting..." Start-Sleep -s 5