From 20fd7f7f6fcc646a941cdcdb43f5b4bf120716a3 Mon Sep 17 00:00:00 2001 From: uhlwoogi Date: Tue, 21 Apr 2026 16:40:05 +0000 Subject: [PATCH] Try Start-BitsTransfer for TacticalRMM download WebClient and curl both fail with TLS errors (likely SSL inspection proxy or missing root certs). BITS uses WinHTTP with the system cert store which may handle this differently. Co-Authored-By: Claude Sonnet 4.6 --- 1-estudio-Install-TacticalRMM-and-RustDesk.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 b/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 index 9e43efd..0d8451d 100644 --- a/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 +++ b/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 @@ -177,8 +177,7 @@ If (Get-Service $serviceName -ErrorAction SilentlyContinue) { Try { Write-Host "Downloading TacticalRMM agent..." - & curl.exe -L -s -o "$OutPath\$output" $downloadlink - if ($LASTEXITCODE -ne 0) { throw "curl download failed with exit code $LASTEXITCODE" } + Start-BitsTransfer -Source $downloadlink -Destination "$OutPath\$output" -ErrorAction Stop Write-Host "Download complete." Start-Process -FilePath "$OutPath\$output" -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES' -Wait Write-Host "Extracting..."