Turn Off Auto Update in the Sun Java Runtime
Created: 25 Aug 2009 | 3 comments
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 |
Blog Entry Filed Under:
The Endpoint Management Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Endpoint Management community. Any authenticated Connect member can contribute to this blog.
Comments 3 Comments • Jump to latest comment
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.
Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.
Connect Etiquette: "Mark as Solution" posts that fix your problem, thumbs up for useful
with help from a post from Spartacus on AppDeploy.
Create two files, deployment.config:
This can be a URL on a common server for enterprise wide settings. Create the deployment.properties file:
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.
Authorised Symantec Consultant (ASC) with Endpoint Management Limited, an Authorised Symantec Delivery Provider based in the UK.
Connect Etiquette: "Mark as Solution" posts that fix your problem, thumbs up for useful
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.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.