Endpoint Management and Virtualization Trusted Advisors Community merge into SED TA Community

Turn Off Auto Update in the Sun Java Runtime 

Aug 25, 2009 02:52 PM

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

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Apr 06, 2011 11:08 AM

I assume you mean the Windows directory on the workstation with Java installed, and not the common server.

It would be quite trivial to create these files using a bit of vbscript in a transform, to avoid having to deploy actual files.

Mar 14, 2011 06:50 AM

with help from a post from Spartacus on AppDeploy.

Create two files, deployment.config:

 deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties
 

This can be a URL on a common server for enterprise wide settings. Create the deployment.properties file:

 #deployment.properties
#Sun Mar 13 17:58:03 GMT 2011
deployment.javaws.autodownload=NEVER
deployment.javaws.autodownload.locked= 

The "locked" line means that users can't override the setting in their own profiles.

Put these two files in a Sun\Java\Deployment subfolder of your WIndows Directory.

Mar 13, 2011 01:54 PM

With 6u20 you could run:

msiexec /x {4A03706F-666A-4037-7777-5F2748764D10} /q

which would uninstall the seperate Auto updater but this seems to have been removed now.

Auto update appears to be the default, going into the Java applet in Control Panel > Advanced tab > JRE Auto download and selecting "Never Auto-Download" adds this line to Users\<username>\AppData\LocalLow\Sun\Java\Deployment\deployment.properties:

deployment.javaws.autodownload=NEVER

but I'm not sure how you could do this for all users.

Related Entries and Links

No Related Resource entered.