Share via


Group Policy Step-by-step: Java Remote Deployment

This article will be useful to many of our systems specialists I think I'll share a setup method. Nearly all web applications started to work without java .. this is the case a collective installation is required, for example, a web application that requires java, when implemented, will try to explain how to do this setup. Now let's move on to the setup steps.

 

**Download Java Offline Installation Package & Extract To Folder **

By clicking on the link below, JRE section on the opening page, click on the Download button and we own our system from the list below are downloading the appropriate version of Java.

http://www.oracle.com/technetwork/java/javase/downloads/index.html 

After the installation is finished I will extract the package to “C:\Users\username\AppData\LocalLow\jre1.07..\ folder. And I will use the MSI package to remote deployment. you can follow the screenshots below for the first process.

As can be seen storing in the Java Run installation msi extension. We will deploy the package to the client side. For us to make this distribution, together with the corresponding folder within a shared folder Data1.Cab take Everyone's authority must give at least “Read” permission. I was in my test environment is system directory and sharing the screen opens a folder in the directory to copy the two files that I would share.

After completing sharing I open Group Policy Management Console. Here we need to do the initial setup, the setup we want to move computers to OUs in Active Directory and computers that we carry about OU will be to define a new policy.

Policy Path : Computer Configuration à Policies à Administrative Templates à Windows Components à Windows Installer

Policy Name : Always install with elevated privileges

This policy setting to become active users of the computer, even without administrator authority will ensure the providing of the installation.

Deploy MSI Package to Policy

Computer Configuration - Software Settings - Software Installation -- Right click - New - Package and Java msi package in a way that is accessible to the client (as the network path) Assigned we add into the software installation.

The final version of the Software Installation screen should be as follows :

Important : Installation is performed for the first time, we deliver client-side version of Java installed with the GPO must be sure that there isn’t. Otherwise packet reaches the client-side path is already obvious that will not work.

Important : A policy is a type of computer application. For this reason, two cases arise:

Check the Policy Applying

1 . Installation, the user's logo that starts and ends without waiting.

2 . Policy applied to the computer, no matter which user logon setup, or a mistake in policy is applied.

There are several ways to figure out whether the policy is applied.

     1- Add remove programs option in the java installation to look at whether.

   2-  Check the event viewer.

3 – Open the command promt and run “gpresult /r”

Reminder : The non-admin users cannot access the policy that applying on the computer configuration policies.

I hope this article will be useful to everyone.

Best Regards,