Login to participate
Endpoint Management & Virtualization BlogsRSS

Turn Off Auto Update in the Sun Java Runtime

EdT's picture

The following changes should be made via an existing transform - eg: sp1033.mst for English installs.

Step 1 - Create a custom action in the CustomAction Table

Action: PolicyFix
Type: 3110
Source: (leave empty)
Target: Set S = CreateObject("WScript.Shell"):X="HKLM\Software\JavaSoft\Java Update\Policy\":Y="REG_DWORD":S.RegWrite x&"EnableJavaUpdate",0,Y:S.RegWrite x&"EnableAutoUpdateCheck",0,Y:S.RegWrite x&"NotifyDownload",0,Y:S.RegWrite x&"NotifyInstall",0,Y:S.RegWrite x&"Frequency",0,Y:S.RegWrite x&"UpdateSchedule",0,Y

Step 2: - Add a custom action to the InstallExecute Sequence:

Action: PolicyFix
Condition: NOT Installed
Sequence - Just before InstallFinalize - eg: Sequence: 3183

Step 3: In the Property Table, ensure the following properties have the stated values:

AUTOUPDATECHECK 0
IEXPLORER 1
JAVAUPDATE 0
JU 0