Installing Java in Network

This post is also available in: Slovenian

Are you tired of constant patches and updates for Sun Java? Me too. As well as users in my corporate network. And when they click on installing patches, they get the mesage that it can’t be installed because of no administrator rights. Great!

Here you’ll see a solutin to disable alerts on new fixes and how to install java silently, without users see it.

Offline  java install

First, download offline installation file of sun Java and then install the latest version on your computer. Find the msi file in the folder:

C:\Users\username\AppData\LocalLow\Sun\java\ jre1.6.0_18 (browse to the folder with the latest version, currently the latest version of Java on Windows 7)

Windows XP go to c:\Documents and Settings\username\appliation Data\Sun\jre1.6.0_18

You can edit mst file for easyer install via msiexec or via Group Policy in Active Directory or in System Center Cinfiguration Manager (SMS server).

MsiExec.exe /q/install {26A24AE4-039D-4CA4-87B4-2F83216018FF}

(in windows register \hkey_local_machine\software\microsoft\windows\currentversion\uninstall found latest java version)

Fix Windows Registry

Second, fix the registry not alerting about updates and patches, new java install only when we allowed back:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft \Java Update\Policy  search for DWORD EnableJavaUpdate  and changed it to 0.

So next time you’ll no longer be alerted for downloading and installing new patches. Particularly in the corporate network it’s important that the new java version is previously tested for all applications used by the company, especially some older applications.


Works as system engineer in Slovenian Enterprise in Microsoft environment focusing on security, deployments, SharePoint, SCCM and CheckPoint firewall. Author of successful blog about IT security, Microsoft tips & tricks, social media, internet trends.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.