Mass Team Viewer Uninstall with Intune

Options
caleb_doney
caleb_doney Posts: 1

Hello,

I am trying to find out if there is a way that I can use a script to uninstall team viewer with intune?

Answers

  • Eileen473
    Eileen473 Posts: 3 ✭✭
    Options

    Yes, you can use a script to remove TeamViewer from Intune.

    1. Open a text editor such as Notepad and create a new file.

    2. In the file, enter the following command: msiexec.exe /x {TeamViewer MSI product code} /qn

    (Note: Replace "{TeamViewer MSI Product Code}" with the actual product code of the TeamViewer MSI file. This code can be found in the registry under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.)

    3.Save the file with .bat extension, for example "UninstallTeamViewer.bat".

    4 Upload the script to Intune by selecting Device Configuration > PowerShell Scripts > Add.

    5. Create a new device configuration profile by selecting Device Configuration > Profiles > Create Profile.

    6.Give a profile

  • Tarducci
    Tarducci Posts: 2 ✭✭
    Options

    Is there some way you can post the product code so that we don't need to install this manually, on a non-Intune managed device, go to regedit, and search for the product code? Surely, someone at TeamViewer knows what the code is already?