SCCM TeamViewer Uninstaller

Prashant Sharma 21 Reputation points
2022-12-09T17:53:24.977+00:00

I have to create a package of teamviewer uninstaller with batch script.

echo off
cls
echo.

===========================================

echo Teamviewer silent uninstall

============================================

Taskkill /F /IM TeamViewer.exe
"C:\Program Files\TeamViewer\uninstall.exe" /S

===========================================

echo Clear TeamViewer File

============================================

REG DELETE HKLM\Software\TeamViewer /f
REG DELETE HKCU\Software\TeamViewer /f
RD /S /Q C:\Program Files\Teamviewer
RD /S /Q %LOCALAPPDATA%\Temp\TeamViewer
Echo Done

but i am always receive the error code 0x87D00325(-2016410843) and this error code is showing the detection method issue.
in this package i am take the detection rule .
please suggest me what can i do .

269002-image.png

Microsoft Security | Intune | Configuration Manager | Application
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.