0

Im Using Robocopy to copy files from my users Desktop to their Personally folder on the Server..

im using robocopy C:\Users\%username%\Desktop W:\skrivebord /xo /fft /E which works perfectly, when its running from the desktop or via local Scheduled task.

However, if i create this Scheduled task via GPO, the user is "system"

I can change the user, but this needs to according to the user himself, and not a predefined user in the script.

How can i make a task, which is used by every user on the GPO?

womble
  • 96,255
  • 29
  • 175
  • 230

1 Answers1

1

The robocopy parameters indicates that you are synchronizing files. It won't be that simple if you want to use just robocopy and Task Scheduler. You can create PowerShell script to check which user is currently logged on, and create copy of files using robocopy. You can also deploy Folder Redirection to handle that in completely other way. This solution have pros and cons of course.

mrc02_kr
  • 164
  • 7