Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 284
  • Last Modified:

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
0
antonioking
Asked:
antonioking
  • 8
  • 6
1 Solution
 
yo_beeDirector of ITCommented:
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
img1
0
 
antoniokingAuthor Commented:
Hi there
I should've made it clearer, the GPP CSE in question is under a Computer configuration
0
 
yo_beeDirector of ITCommented:
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.

Group Policy Results
Also can you post a screenshot of your Settings you are trying to apply for a file?
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
antoniokingAuthor Commented:
Hi yo_bee

Screenshots as requested...

RSOP Screenshot
RSOP Screenshot
Settings screenshot - General
Settings screenshot - General
Settings screenshot - Common
Settings screenshot - Common
Settings screenshot - Targeting
Settings screenshot - Targeting
0
 
yo_beeDirector of ITCommented:
what if you change it to replace rather than update.
0
 
antoniokingAuthor Commented:
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.
0
 
antoniokingAuthor Commented:
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?
0
 
antoniokingAuthor Commented:
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?
0
 
yo_beeDirector of ITCommented:
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.
gpp_Archive
0
 
antoniokingAuthor Commented:
Hi yo_bee
Ticking the Archive option does not have any effect.
The destination file is still not "updated"
0
 
yo_beeDirector of ITCommented:
Did you try Replace and see if it works?
0
 
antoniokingAuthor Commented:
0
 
antoniokingAuthor Commented:
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.
0
 
yo_beeDirector of ITCommented:
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.
0
 
StrifeJesterCommented:
You need it to be replace. Update is not actually updating the file.

Update

This one is very similar to Replace however it only changes the individual attributes that changes. If the file does not already exist then it does the same as the Create option.

In order to receive changes you must use replace. I believe replace will only overwrite a file if something has changed though. If the file is identical it will not replace and waste bandwidth.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 8
  • 6
Tackle projects and never again get stuck behind a technical roadblock.
Join Now