How To: Uninstall Java using a Custom Actions

Version 4

    Purpose

     

    The purpose of this document is to provide a batch file to use with the Custom Actions feature in Shavlik Protect and Ivanti Patch for Windows Servers to uninstall Java up through version 7 update 75.

     

    Description

     

    You will need to set up a Custom Actions Scan Template, this will scan for a Null Patch and allow you to deploy your custom action without actually deploying any patches.

    Create a Deployment Template with Custom Actions that will push out the uninstall Java batch file to the target machine, and to run the batch file.

    The batch file is attached to this document.

    Screen Shot 2018-02-22 at 13.39.43.png

    Scan for the Custom Action Null patch, and deploy it. It is very important to use the Deployment Template that contains the uninstall script and call action.

    Additional Information

     

     

    Affected Product(s)

     

    Shavlik Protect 9.2.

    Ivanti Patch for Windows Servers 9.3