Comments

1 comment

  • Brent Williams

    David Boyd I don't know if you found a solution to this, but this is what I did and it works like a charm.

    Create a custom package in PDQ Deploy named "Uninstall TeamViewer" with 5 steps. 3 "Command Prompt" steps and 2 Scanning steps. Also add some conditions on each step so the steps run without failing. Steps that fail will stop your package from deploying by default. 

    STEP 1: Command Prompt (no quotes). "net stop TeamViewer". Note, you may want to run a scan for services first, create a collection in PDQ Inventory to collect all machines running the TeamViewer service, then create a condition on the conditions tab in the PDQ Deploy package to only run this step if the TV service is running. If the machine isn't a member of the collection, the package will skip this step. You can go this route or select continue if the package fails so the deployment moves to the next step. Alternatively, you could run Powershell to confirm that the service is running. If it is running, terminate the process. If it isn't running, produce an error code and add that value to your package as a success code. Any of these methods will work. 

    Steps 2 and 3 are broken into 2 parts because TeamViewer could very well possibly be installed to 2 different directories.

    STEP 2: Command Prompt (with quotes). "C:\Program Files\TeamViewer\uninstall.exe" /S. Note, you'll want to create a condition on the conditions tab in the PDQ Deploy package to look for file uninstall.exe in the C:\Program Files\TeamViewer directory. If the machine meets the condition, it'll run the step... if not, it'll move on to the next step. 

    STEP 3: Command Prompt (with quotes). "C:\Program Files (x86)\TeamViewer\uninstall.exe" /S. Note, you'll want to create a condition on the conditions tab in the PDQ Deploy package to look for file uninstall.exe in the C:\Program Files (x86)\TeamViewer directory. If the machine meets the condition, it'll run the step... if not, it'll move on to the next step. 

    STEP 4: Scan for Services.

    STEP 5: Scan Applications.

    After running the scans, all of your collections should update.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.