From d3844a857c6b84f08d7fa6f4e78a67b794406640 Mon Sep 17 00:00:00 2001 From: uhlwoogi Date: Tue, 21 Apr 2026 16:34:50 +0000 Subject: [PATCH] Switch TacticalRMM download to WebClient for redirect handling Invoke-WebRequest hangs on the TacticalRMM download URL (same redirect issue previously fixed for RustDesk). Use WebClient.DownloadFile instead. Co-Authored-By: Claude Sonnet 4.6 --- 1-estudio-Install-TacticalRMM-and-RustDesk.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 b/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 index 118255b..bd7ea65 100644 --- a/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 +++ b/1-estudio-Install-TacticalRMM-and-RustDesk.ps1 @@ -177,7 +177,7 @@ If (Get-Service $serviceName -ErrorAction SilentlyContinue) { Try { Write-Host "Downloading TacticalRMM agent..." - Invoke-WebRequest -Uri $downloadlink -OutFile "$OutPath\$output" -UseBasicParsing -ErrorAction Stop + (New-Object System.Net.WebClient).DownloadFile($downloadlink, "$OutPath\$output") Write-Host "Download complete." Start-Process -FilePath "$OutPath\$output" -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES' -Wait Write-Host "Extracting..."