windows - Copying a file to Program Files in a Scheduled task -


i want run build process scheduled task when user isn't logged in. facts user account:

  • it has admin privileges
  • it has logon batch user right - allowing scheduled tasks run when user isn't logged in.

now, if set scheduled task run batch file copies text file program files, works provided set scheduled task 'run highest privileges'.

if instead make batch file invoke visual studio 2015 build project has custom build step copies file program files fails.

note, however, if user logged in scheduled task works fine, if it's not logged in fails.

at stage i'm open suggestions or experiments try!


Comments

Popular posts from this blog

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -