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

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -