Link to home
Start Free TrialLog in
Avatar of antonioking
antoniokingFlag for United Kingdom of Great Britain and Northern Ireland

asked on

GPP File Extension Update action

My understanding is, if the source file is newer than the destination then the source will be copied over the destination file/.
If the destination file doesn't exist, it will be created.

Is this correct?

I have a folder with a file in, I have a GPP file preference with action set to update.
the source file is newer than the destination but when gpupdate is ran it does not update the destination

What could be causing this?
Event logs are not showing anything, and I've double checked the source and destination locations are correct.
The preference is targeted, and my test machine meets the targeting requirement
Avatar of yo_bee
yo_bee
Flag of United States of America image

Have you run RSOP on the machine or use Group Policy Result Wizard in GPMC.
This will expose issues.

Can you post your settings. Screenshot helps.

I know if you do not check "Run in Logged-in User Security Context" you may not run properly
User generated image
Avatar of antonioking

ASKER

Hi there
I should've made it clearer, the GPP CSE in question is under a Computer configuration
Either way it should work.
Have your run the Group Policy Results wizard from within GPMC and then expanded the setting in question.
There will be either a successful  result or some sort of error.
See Image below for an example.

User generated image
Also can you post a screenshot of your Settings you are trying to apply for a file?
Hi yo_bee

Screenshots as requested...

RSOP Screenshot
User generated image
Settings screenshot - General
User generated image
Settings screenshot - Common
User generated image
Settings screenshot - Targeting
User generated image
what if you change it to replace rather than update.
Replace works fine.
However, not all computer will have the file in the first place for it to be replaced.
So I guess I would have to create two preferences, Create and Replace.
Replace isn't ideal bandwidth wise as every 2 hours all computers in the scope of my GPO will be copying these files across the network
I only the GPO to do it if the destination doesn't match the source.. I though the 'update' action would do that?
Sorry realise my last comment doesn't read well... it was a little rushed!

Replace isn't ideal bandwidth wise as every 2 hours all computers in the scope of my GPO will be copying these files across the network.
I only want the GPO to copy the files if the destination doesn't match the source.. I though the 'update' action would do that?
I do see one setting that I leave on all the time that is not enabled in yours.
I have the checkbox for Archive enabled.
User generated image
Hi yo_bee
Ticking the Archive option does not have any effect.
The destination file is still not "updated"
Did you try Replace and see if it works?
Sorry if that last reply came across rude

I do appreciate you taking your time to help me with this issue.
Replace does work, however if the file source doesn't already exist then the file can't be updated.
The Update action at least creates the file and then ... supposedly should update it.
It did not.
I understand and do not take any offense to comments.
Text and Messages can come across in a weird way and you have to look at them with a clear mind.

Thanks though for the clarification.
ASKER CERTIFIED SOLUTION
Avatar of Justin Ellenbecker
Justin Ellenbecker
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial