I am wanting to create a GPO (other methods are open for discussion as well) for the issue below. Any and all help would be appreciated, thanks!
Users logs in, GPO creates a sub folder in C:\Users\%userprofile%\, then it copies a file from the DC itself to this sub folder.
Theoretically, unless the user logs onto a different machine, this would only have to happen once per user profile, per machine.
GPO to create subdossier and copy fichier
Re: GPO to create subdossier and copy fichier
You can create a **Group Policy Preference** to accomplish this.
Under `User Configuration > Preferences > Windows Settings > Files` create a new file.
Set the source file location `\\your.domain\NETLOGON\file.txt`
Set the destination: `C:\Users\%logonuser%\myFolder\file.txt` . Any non-existent parent folders in the destination will be created.
Then set the preference to `Apply once and do not reapply`
Under `User Configuration > Preferences > Windows Settings > Files` create a new file.
Set the source file location `\\your.domain\NETLOGON\file.txt`
Set the destination: `C:\Users\%logonuser%\myFolder\file.txt` . Any non-existent parent folders in the destination will be created.
Then set the preference to `Apply once and do not reapply`