Uninstall switches for uninstall.exe

Options
Sparky998
Sparky998 Posts: 2 ✭✭
edited June 2023 in Deployment & Integrations

I need to silently uninstall TeamViewer on allot of devices.

It would seem that none of the usual switches for programs are not working.

Below are examples of the switches i have tried.

"C:\Program Files (x86)\TeamViewer\uninstall.exe" /?

"C:\Program Files (x86)\TeamViewer\uninstall.exe" /i

"C:\Program Files (x86)\TeamViewer\uninstall.exe" /qn

"C:\Program Files (x86)\TeamViewer\uninstall.exe" /s

"C:\Program Files (x86)\TeamViewer\uninstall.exe" /silent

"C:\Program Files (x86)\TeamViewer\uninstall.exe" /quiet

Every switch triggers the program to popup and requires user intervention.

Has anyone managed to successfully silently uninstall TeamViewer?

Best Answer

  • Sparky998
    Sparky998 Posts: 2 ✭✭
    Answer ✓
    Options

    figured it out, just needs a capital /S on the end and works fine.

Answers

  • desmitmedical
    desmitmedical Posts: 1
    Options

    Not sure if you use the msi, but we do and there is no uninstall.exe in the TeamViewer installation directory.

    We usually push the following command and use the msi to uninstall:

    Start-Process msiexec.exe -Wait -ArgumentList '/x "TeamViewer_Full.msi" /quiet'

  • Nadin_W
    Nadin_W Posts: 656 Moderator
    edited June 2023
    Options

    Hello @Sparky998

    Thank you for your question and welcome to our Community! ✨


    The uninstall.exe does not support command line parameters. 

    👉️It is possible to uninstall TeamViewer from a lot of devices automatically if you deployed TeamViewer via MSI.  In this case, I recommend contacting our support team by ticket. My colleagues would be happy to assist you. 

    👉️If you didn't deploy TeamViewer via the MSI package, you have to uninstall TeamViewer manually by following the instructions you'll find here: 📃 Uninstall TeamViewer (Classic) on Windows


    Does this information help?


    Have a great day! 

    Nadin

    German Community moderator 🖤 Moderatorin der deutschsprachigen Community

  • Sparky998
    Sparky998 Posts: 2 ✭✭
    Answer ✓
    Options

    figured it out, just needs a capital /S on the end and works fine.