Group Policy Files - Active Directory


I am having a whole lot of trouble getting some files distributed across the network. My settings are:

Action: Replace
Source: \\[fqdn]\Repo\sqljdbcl.jar
Destination: %ProgramFiles%\Java\jre1.8.0_25\lib\ext\sqljdbc.jar

Read Only

All unchecked, no targeting

The error I am receiving is from event viewer, application log:

The computer 'sqljdbc.jar' preference item in the 'Default Domain Policy 

Group Policy object did not apply because it failed with error code '0x80070003 

The system cannot find the path specified.' This error was suppressed.

What's strange to me is that I am able to copy another file from that same folder, using the same path and same settings, but to a different destination folder.

What's even stranger is that on the target computers, the file appears to be at the appropriate destination and the appropriate size, but with zero functionality.

asked on Server Fault Oct 24, 2014 by Jonathon Anderson

1 Answer


This is a very common mistake. The problem is the %ProgramFiles% environmental variable. Group Policy Preferences has its own set of environmental variables, which are different than what you're used to. Please see for more information. You can also press F3 in any Group Policy Preferences dialog to see this list. You probably want to use %ProgramFilesDir% instead. The access denied error is common when the path you're trying to access doesn't exist.

answered on Server Fault Nov 11, 2014 by tfrederick74656

User contributions licensed under CC BY-SA 3.0