TeamViewer is an application installed on Windows 10 computers (among others operating systems) that allows users to connect to remote computers for collaboration or support activities.
When this application is no longer needed, it could be uninstalled from devices and this can be done with a script.
To confirm the location path of the software, the inventory will show the information, also the inventory shows every available versions under "Device Detected" section:
In this case, the location is C:\Program Files (x86)\TeamViewer. This is the default but it may change.
To execute the Uninstall Command, a script can be created, under Scripting | Scripts | Choose Action | New and a new script configuration option will open.
To configure the script, following information may be used:
Selecting "All Devices" or specific devices (for Name, Labels or Operating Systems) will determine the target computers to uninstall the software.
Usually, Local System account has enough permissions to uninstall any software but, if needed, other account could be used as well.
If a notification popup is required then the "User Notify" section will provide the means to that end.
Suggested options to let the script run if there is "no logged-in user" or "Run on next connection if offline" if the device is unreachable.
To let the script be executed at a specific time, the "Schedule" option would be used to specify when to uninstall the software.
Note: The default path points to C:\Program Files (x86)\TeamViewer, in this example the system variable %ProgramFiles(x86)% is used, if the path is different then the actual location must be used for this script to work.
Saving the changes will deploy the script and uninstall the software when the script runs.
Also, the attached package (Script-188) may be imported as a resource to the Appliance and all this configuration will be already in place.
© ALL RIGHTS RESERVED. Feedback Términos de uso Privacidad Cookie Preference Center