-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hi , Kindly try the below old uninstaller for version less than 10.7.0 and install with new installer and make sure the additional port 9001 is open on your firewall, Now as per the new requirement for agent installation you need to open 9000, 9001 and 50051. Make sure that device entry is deleted from existing data source. Start-Process "C:\Program Files\UTMStack\UTMStack Agent\utmstack_agent_installer.exe" -ArgumentList 'uninstall' -NoNewWindow -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackAgent' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackAgent' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackRedline' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackRedline' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackUpdater' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackUpdater' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackWindowsLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackWindowsLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackModulesLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackModulesLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Write-Host "Removing UTMStack Agent dependencies..."; Start-Sleep -Seconds 10; Remove-Item 'C:\Program Files\UTMStack\UTMStack Agent' -Recurse -Force -ErrorAction Stop; Write-Host "UTMStack Agent removed successfully." And for version 10.7.0 and above :> Start-Process "C:\Program Files\UTMStack\UTMStack Agent\utmstack_agent_service.exe" -ArgumentList 'uninstall' -NoNewWindow -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackAgent' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackAgent' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackWindowsLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackWindowsLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'stop','UTMStackModulesLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Start-Process -FilePath "sc.exe" -ArgumentList 'delete','UTMStackModulesLogsCollector' -Wait -ErrorAction SilentlyContinue | Out-Null; Write-Host "Removing UTMStack Agent dependencies..."; Start-Sleep -Seconds 10; Remove-Item 'C:\Program Files\UTMStack\UTMStack Agent' -Recurse -Force -ErrorAction Stop; Write-Host "UTMStack Agent removed successfully." Regards, |
Beta Was this translation helpful? Give feedback.
-
It's worst than I tought and I feel like a complete idiot as I also stupidly copied/pasted/ran the old command from my installation documentation instead of the new command from the UTMStack Integration window like I did for the others. When stricly following the same procedure as for the other machines, I got the same success in the end. I have no excuses. I'm a fool and I'm soooo sorry to have wasted your precious time. Sincerely ! May that trhead help others pay more attention before posting problems. This product is simply amazing btw! |
Beta Was this translation helpful? Give feedback.
command to install new agent should be similar the below command:
New-Item -ItemType Directory -Force -Path "C:\Program Files\UTMStack\UTMStack Agent"; & curl.exe -k -H "connection-key: xxxxx" -o "C:\Program Files\UTMStack\UTMStack Agent\utmstack_agent_service.exe" "https://vmutmstack01.cct.lan:9001/private/dependencies/agent/utmstack_agent_service.exe"; Start-Process "C:\Program Files\UTMStack\UTMStack Agent\utmstack_agent_service.exe" -ArgumentList 'install', 'vmutmstack01.cct.lan', 'xxxxxx', 'yes' -NoNewWindow -Wait