Remove settings during uninstall switch

Is it possible to add a switch to the uninstall command that will remove settings, which will then remove the TeamViewer folders? I am uninstalling TeamViewer via a script with ConnectWise Automate (formerly LabTech).

When I run this command in a script: "%programfiles(x86)%\TeamViewer\uninstall.exe" /S, it successfully removes TeamViewer, but leave the folders behind.

What can I add to my command line there that will remove the settings and folders?

-Mike

Comments