Minimum ITScripts engine version required: 188.8.131.52
Modifies the target machine: Yes
Name: Disable Java Update Service
Purpose: Disable automatic updates for Java
Script Version: 184.108.40.206
Target Type: Any
This script will disable the auto update feature of Java. While many vendors have their own update mechanisms IT Administrators need the ability to centrally manage updates in their environments. This typically leaves auto update notifications popping up on the users' machine and often will cause confusion and sometimes issues within a customer’s environment.
The script begins by determining the OS of the target machine. Depending on the OS, specifically x64 vs. x86 editions, the location of the registry hive for Java varies. Once the OS is determined the script continues with detection of Java on the machine and verifies if the auto update feature is enabled and determines if the Java Scheduler is installed.
AutoUpdate (Key will be set to 0):
HKLMSoftwareJavasoftJava UpdatePolicyEnableJavaUpdate = 0
Java Scheduler process key (if this key exists it will be deleted):
Possible OpsMon results include:
"Java is not installed"
"Java Updater is already disabled"
"Java Updater successfully disabled"
"Failed to disable Java Updater"