mvalpreda
asked on
Push Java 7 deployment.properties to all users via GPO?
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\Deplo yment\depl oyment.pro perties. I have seen some sites say to put it in %USERPROFILE%\Sun\Java\Dep loyment\de ployment.p roperties. 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?
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\
The target is %AppDataDir%\LocalLow\Sun\
Which is the correct path to put this file? Or is this not right at all?
If you log into a standard user, can they access the source?
ASKER
When I do an rsop.msc as the user on the machine I don't see that GPO being applied.
ASKER
Yes, the user can get to the source.
Preferences do not show up in rsop.
To see a preference, run gpresult /h Report.htm /f.
Then launch the report.htm file.
To see a preference, run gpresult /h Report.htm /f.
Then launch the report.htm file.
Also see this article on troubleshooting group policy:
https://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. :)
https://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. :)
Right click on the GPO and export it. Upload the export here.
ASKER
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?
No. You will need to run gpupdate on that computer to see the changes.
ASKER
OK, did a gpupdate /force and now I see the Files section and see the policy being seen.
Cool!
ASKER
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?
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).
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You may want to put the path as
C:\Users\%USERNAME%\Appdat
After doing this, check the Application event log (in event viewer) for error information.