update uninstall params
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user