Fix IT Scripts
0 like 0 dislike
80 views

We built this Script to uninstall an auto update to Teamviewer that was provided by GFI MAX. The update broke our take control capabilities.

It is recommended to turn off Take Control globally, then ignore updates to Teamviewer in the Patch Management User Policies. After that, upload script to the User Scripts and run across all sites.

Once this is done turn Take Control back on.

Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Run "taskkill /im teamviewer.exe", , True
objShell.Run "taskkill /im teamviewer.exe", , True
Teamviewer
Sub Teamviewer()
    On Error Resume Next
    objShell.Run("""%ProgramFiles%\TeamViewer\Version6\uninstall.exe"" /S")
    objShell.Run("""%ProgramFiles%\TeamViewer\Version7\uninstall.exe"" /S")
    objShell.Run("""%ProgramFiles%\TeamViewer\Version8\uninstall.exe"" /S")
    objShell.Run("""%ProgramFiles%\TeamViewer\Version9\uninstall.exe"" /S")
End Sub
Set objShell = Nothing

Thanks,
Matthew Chisenhall
Mattchis Technologies

asked in MaxFocus RMM by (3.1k points) | 80 views

1 Answer

0 like 0 dislike
Best answer
The above IS an answer
answered by (3.1k points)

Related questions

0 like 0 dislike
1 answer
asked Aug 11, 2017 in Windows OS by doughall (3.1k points) | 54 views
1 like 0 dislike
1 answer
1 like 0 dislike
1 answer
asked Aug 11, 2017 in Windows OS by doughall (3.1k points) | 52 views
0 like 0 dislike
0 answers
asked Jul 19 in MaxFocus RMM by djm (150 points) | 16 views
0 like 0 dislike
0 answers
30 questions
24 answers
17 comments
634 users