TeamViewer uninstall.
First, stop the service:
sc stop teamviewer
See if the service stopped:
sc query teamviewer
See if there is any TeamViewer process running:
powershell "ps |findstr /i team"
If there is a TeamViewer process running, taskill it:
taskkill /F /T /IM teamviewer.exe
Run the uninstall command:
"C:\Program Files (x86)\TeamViewer\uninstall.exe" /S