Buckeyes Posted July 10 Share Posted July 10 (edited) Does anyone have a good script to remove Teamviewer via Pulseway? Even if teamviewer is currently running? Thanks in advance. Edited July 10 by Buckeyes Tried batch file but it is not working. Link to comment Share on other sites More sharing options...
scobber Posted November 6 Share Posted November 6 Hi There, Here is my removal script. Hope it works for you ## Powershell Teamviewer Uninstall Script ## Scott Pepper ## Careys Freight Lines ## 6th November 2023 if(Get-Service Teamviewer) { Stop-Service TeamViewer Set-Service Teamviewer -StartupType Disabled Write-Host "Teamviewer is installed" if ([System.IO.File]::Exists("C:\Program Files\Teamviewer\uninstall.exe")) { $process = start-process "C:\Program Files\Teamviewer\uninstall.exe" -windowstyle Hidden -ArgumentList "`/S" -PassThru -Wait exit $process.ExitCode } elseif ([System.IO.File]::Exists("C:\Program Files (x86)\Teamviewer\uninstall.exe")) { $process = start-process "C:\Program Files (x86)\Teamviewer\uninstall.exe" -windowstyle Hidden -ArgumentList "`/S" -PassThru -Wait exit $process.ExitCode } else { write-host ("Teamviewer does not appear installed.") } } exit 0 StefanMcl_Pulseway 1 Link to comment Share on other sites More sharing options...
Administrators StefanMcl_Pulseway Posted November 6 Administrators Share Posted November 6 @Buckeyes And thanks a mill for this script @scobber Link to comment Share on other sites More sharing options...
scobber Posted November 7 Share Posted November 7 (edited) @StefanMcl_Pulseway Feel free to incorporate it into Pulseway Edited November 7 by scobber tagged stefan StefanMcl_Pulseway 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now