Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Push Java 7 deployment.properties to all users via GPO?

Posted on 2013-01-17
16
Medium Priority
?
2,299 Views
Last Modified: 2013-02-04
I have a deployment.properties for Java 7 that I want to push to all users. I have looked up a few sites and seem to be getting conflicting information.

I created a new GPO that I applied at the root level of my users GPO (not the built in one) and see that it is being inherited down to the sub OUs.

User Configuration\Preferences\Windows Settings\Files and I have tried replace, create and the original deployments.properties remains. The file I want is on a file share where I push other MSIs from and those all work.

The target is %AppDataDir%\LocalLow\Sun\Java\Deployment\deployment.properties. I have seen some sites say to put it in %USERPROFILE%\Sun\Java\Deployment\deployment.properties. Neither seems to work. Been doing a gpupdate /force on the test machine between attempts.

Which is the correct path to put this file? Or is this not right at all?
0
Comment
Question by:mvalpreda
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 7
16 Comments
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788523
You will want to do an update. And update creates the file if it isn't there and replaces it if it is there.

You may want to put the path as
C:\Users\%USERNAME%\Appdata\LocalLow\Sun\Java\Deployment\deployment.properties

After doing this, check the Application event log (in event viewer) for error information.
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 38788579
No change. Here is what the GPO looks like.GPO
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788602
If you log into a standard user, can they access the source?
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 2

Author Comment

by:mvalpreda
ID: 38788616
When I do an rsop.msc as the user on the machine I don't see that GPO being applied.
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 38788622
Yes, the user can get to the source.
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788628
Preferences do not show up in rsop.

To see a preference, run gpresult /h Report.htm /f.

Then launch the report.htm file.
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788637
Also see this article on troubleshooting group policy:

http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/A_11009-10-Ways-to-Troubleshoot-Group-Policy.html

If it is useful, you can also mark it as helpful. :)
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788642
Right click on the GPO and export it. Upload the export here.
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 38788671
Ran the gpresult /h report.htm /f and I don't see anything besides the Default Domain Policy. Will the changes show up immediately if I change something in Group Policy Management and then run gpresult again?
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788679
No. You will need to run gpupdate on that computer to see the changes.
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 38788683
OK, did a gpupdate /force and now I see the Files section and see the policy being seen.
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788698
Cool!
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 38788702
I manually deleted the file, did gpupdate /force and the correct file showed up. I do have it set as update in the GPO. Should I set up a delete first and then an update?
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 38788717
An update should replace it if it already exists. You can do the delete (if you would like) and specify Apply Once and Do Not Reply (under the common tab for that preference).
0
 
LVL 2

Author Comment

by:mvalpreda
ID: 38788753
Updated the GPO to first delete then update and now it is ok. I changed it to REPLACE and it replaces the file. I think that will work.
0
 
LVL 22

Accepted Solution

by:
Joseph Moody earned 2000 total points
ID: 38788764
Awesome! If you have any more issues, let us know.
0

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A hard and fast method for reducing Active Directory Administrators members.
Uncontrolled local administrators groups within any organization pose a huge security risk. Because these groups are locally managed it becomes difficult to audit and maintain them.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question