Skip to content

Instantly share code, notes, and snippets.

@focusmade
Created September 28, 2020 23:57
Show Gist options
  • Save focusmade/d71fa1b1cfa814d2ad773145650e60ee to your computer and use it in GitHub Desktop.
Save focusmade/d71fa1b1cfa814d2ad773145650e60ee to your computer and use it in GitHub Desktop.
@echo off
net stop "TeamViewer"
wmic product where "name = 'Teamviewer 7'" call uninstall /nointeractive
wmic product where "name = 'Teamviewer 7 Host'" call uninstall /nointeractive
wmic product where "name = 'Teamviewer 7 Host (MSI Wrapper)'" call uninstall /nointeractive
reg delete HKLM\SOFTWARE\TeamViewer /f
reg delete HKLM\SOFTWARE\WOW6432Node\TeamViewer /f
reg delete HKU\.DEFAULT\Software\Wow6432Node\TeamViewer /f
reg delete HKU\.DEFAULT\Software\TeamViewer /f
reg delete HKU\S-1-5-18\Software\TeamViewer /f
reg delete HKU\S-1-5-18\Software\Wow6432Node\TeamViewer /f
reg delete HKU\S-1-5-18\Software\TeamViewer /f
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment