copy file from sysvol to all users programdata using GPo

Christos Gavridis 1 Reputation point
2021-03-22T12:45:09.447+00:00

0

Hello we have new license to deploy in all of our computers c:\programdata\softwarename\licence

i put the license in the following directory to be copied

\company.local\SYSVOL\company.local\ChocoLicense\chocolatey.license.xml

and the destinations

C:\ProgramData\chocolatey\license\

i also put action: replace and all of this is happening in gpo computer configurations| preference| windows settings | files

even after restart pc of force gpupdate the license is not overwritten or replace

Windows Group Policy
Windows Group Policy
A feature of Windows that enables policy-based administration using Active Directory.
1,880 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Fan Fan 15,061 Reputation points
    2021-03-23T01:37:56.98+00:00

    Hi,
    Before going further, i would recommend you check if the gpo was applied successfully.
    You can check the result by the command :
    Gpresult /h report.html

    If possible , you can share a screenshot here.(hide the private information)

    Best Regards,

    No comments