No permission to write a file from task scheduler?

前端 未结 2 846
遥遥无期
遥遥无期 2021-01-26 02:11

I got a batch file that will run a c++ program and output to a file with \">\" redirection. This file is to be run by task scheduler.

I found out that when the batch fil

2条回答
  •  礼貌的吻别
    2021-01-26 02:59

    There may be quite a few reasons of it, first check below points:

    1. Check whether the user who has scheduled batch script to run in Task scheduler has admin access on the system or not.

    2. Give that user full Share/NTFS permissions on the "RedirectedFolders" and all of the sub folders as well.you can manually propagate all permissions down to the folders.

    3. The user should have read and write permissions along with full control to the "RedirectedFolders" .

提交回复
热议问题