diff --git a/docs/docs/install_agent.md b/docs/docs/install_agent.md index 3e278f96..0081c623 100644 --- a/docs/docs/install_agent.md +++ b/docs/docs/install_agent.md @@ -116,7 +116,7 @@ if not defined Name ( powershell Add-MpPreference -ExclusionPath C:\Windows\Temp\TRMM\* cd c:\temp\trmm powershell Invoke-WebRequest "%DeploymentURL%" -Outfile tactical.exe - REM"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS + REM"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT tactical.exe powershell Remove-MpPreference -ExclusionPath C:\TEMP\TRMM rem exit /b 1 @@ -133,5 +133,5 @@ There is also a full powershell version [here](https://wh1te909.github.io/tactic You can always use this to silently uninstall agent on workstations ```cmd -"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS +"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT ``` diff --git a/scripts_wip/Win_TRMM_Agent_Install.bat b/scripts_wip/Win_TRMM_Agent_Install.bat index 334b7d96..a9965879 100644 --- a/scripts_wip/Win_TRMM_Agent_Install.bat +++ b/scripts_wip/Win_TRMM_Agent_Install.bat @@ -9,6 +9,6 @@ powershell Add-MpPreference -ExclusionPath "C:\Program Files\Mesh Agent\*" powershell Add-MpPreference -ExclusionPath C:\Windows\Temp\TRMM\* cd c:\temp\trmm powershell Invoke-WebRequest "deployment url" -Outfile tactical.exe -"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS +"C:\Program Files\TacticalAgent\unins000.exe" /VERYSILENT start tactical.exe powershell Remove-MpPreference -ExclusionPath C:\TEMP\TRMM \ No newline at end of file diff --git a/scripts_wip/Win_TRMM_Dupe_Agent_Fix_and_Install.ps1 b/scripts_wip/Win_TRMM_Dupe_Agent_Fix_and_Install.ps1 index 512f5089..68cfdf9f 100644 --- a/scripts_wip/Win_TRMM_Dupe_Agent_Fix_and_Install.ps1 +++ b/scripts_wip/Win_TRMM_Dupe_Agent_Fix_and_Install.ps1 @@ -65,7 +65,7 @@ if ($install -eq $NULL) { If (Get-Service $serviceName -ErrorAction SilentlyContinue) { write-host ('Tactical RMM Is Already Installed') - & 'C:\Program Files\TacticalAgent\unins000.exe' /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS + & 'C:\Program Files\TacticalAgent\unins000.exe' /VERYSILENT Start-Sleep -s 20 } Invoke-Expression ((new-object System.Net.WebClient).DownloadString($rmmURI)) diff --git a/scripts_wip/Win_TRMM_Remove_and_unjoin_from_AzureAD.ps1 b/scripts_wip/Win_TRMM_Remove_and_unjoin_from_AzureAD.ps1 index ab63292f..cce9ed5c 100644 --- a/scripts_wip/Win_TRMM_Remove_and_unjoin_from_AzureAD.ps1 +++ b/scripts_wip/Win_TRMM_Remove_and_unjoin_from_AzureAD.ps1 @@ -9,7 +9,7 @@ else { $ChkReg = Test-Path 'HKLM:\SOFTWARE\TacticalRMM\' If ($ChkReg -eq $True) { $regrmm = Get-ItemProperty -Path HKLM:\SOFTWARE\TacticalRMM\ - & 'C:\Program Files\TacticalAgent\unins000.exe' /VERYSILENT /SUPPRESSMSGBOXES /FORCECLOSEAPPLICATIONS + & 'C:\Program Files\TacticalAgent\unins000.exe' /VERYSILENT start-sleep -s 20 } dsregcmd.exe /debug /leave