Link to home
Start Free TrialLog in
Avatar of lianne143
lianne143Flag for United States of America

asked on

Copying files from shared drive to workstations using GPO

Hi

I have a 2 ink files (price.ini & task.ini) on a windows 2012 shared drive and this was set by my predecessors. I would like to copy these ini files to different two locations on the network PCs.

The current syntax on the login script is
With FS
      '.CopyFile "\\FileSVR-a\MKT\MKTFiles\price.ini", "C:\WINDOWS\", True
      .CopyFile "\\FileSVR-b\MKT\MKTFiles\task.ini", "C:\Program Files\SharkFiles\Shark\", True

Will it be good to do this on a login script or through GPO?

If GPO is best way to do, I would like the file to be copied only once on the PC. If the file is copied , i don’t want the GPO to be applied again.

If so please post me tutorial to set up this.

Thanks
SOLUTION
Avatar of Cliff Galiher
Cliff Galiher
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
SOLUTION
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
ASKER CERTIFIED SOLUTION
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