Index menü
Java is another application that drives me crazy. Since update 7.21 security level and mixed mode settings are ridiculously strict. To get around this on a Remote Desktop Host (Terminal Server) and fix this for all users that log on:
Create the following directory pathC:\Windows\sun\java\deployment
. Create a file called 'deployment.config' in this directory and open with Notepad.Copy the two lines below.
- C:\Windows\sun\java\deployment\deployment.config
deployment.system.config = file\:\\C\:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties deployment.system.config.mandatory = true Create a file calleddeployment.properties
in this directory and open with Notepad. Copy the four line below. (#deployment.security.level.locked
optional)
- C:\Windows\sun\java\deployment\deployment.properties
deployment.version=7.21 deployment.security.mixcode=HIDE_RUN deployment.security.level=MEDIUM deployment.browser.path=C\:\\Program Files (x86)\\Internet Explorer\\iexplore.exe #deployment.security.level.locked(without path and version, security level will be ignored)
DeleteC:\Users\%Username%\AppData\LocalLow\Sun
Delete:HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft\DeploymentProperties
Open Java from Control Panel. You will find the security is now set toMEDIUM
. If the lock was imposed, the user will not be able to adjust this setting as it will be greyed out. Step 4 and 5 are not really necessary because the system widedeployment.properties
overrides any set option on user-leveldeployment.properties
. But if you like to keep profiles tidy and clean you could do it.Also make sure you update deployment.version if a java update is deployed. To fix this for Deskops or Virtual Desktops you could create a GPO to copy the files.
Sources: