Wednesday, May 22, 2013

Java 7 update 21 (1.7.0_21) Enterprise Repackaged Security Medium Deployment with SCCM

-------------------------------------------------------------------------------------------------
Java 7 update 45 Enterprise deployment complete walk through
http://www.syswow64.co.uk/2013/10/java-7-update-45-enterprise-deployment.html
--------------------------------------------------------------------------------------------------

The issue on many blogs and articles is around creating the 'deployment.config' and 'deployment.properties' files for an enterprise deployment.  In my case i wanted to set the security level to 'Medium', but everytime I open the Java control panel it was set to the default HIGH setting.


Solution

1 Create the following directory path 'C:\Windows\sun\java\deployment'
2 Create a file called 'deployment.config' in this directory and open with Notepad.
Copy the two line below

####################
deployment.system.config = file\:\\C\:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory = true
####################

3 Create a file called 'deployment.properties' in this directory and open with Notepad.
Copy the four line below (# deployment.security.level.locked optional)

######################
deployment.security.level=MEDIUM
deployment.browser.path=C:\Program Files\Internet Explorer\IEXPLORE.EXE
deployment.version=7.21
#deployment.security.level.locked
###########################
(without path and version, level will be ignored)

4 Delete C:\Users\%Username%\AppData\LocalLow\Sun

5 Delete: HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft\DeploymentProperties

6 Open Java from Control Panel.  You will find the security is now set to MEDIUM. If the lock was imposed, the user will not be able to adjust this setting as it will be greyed out.