Menu

How to allow Task Scheduler run Docfetcher Update as Standard User

Paul Rubin
2021-09-30
2021-10-02
  • Paul Rubin

    Paul Rubin - 2021-09-30

    Hello. I'm at a loss to figure out how to allow the Task Scheduler to run the --update-indexes as a scheduled task, when the user is a Standard User. It tries to run the task, but then fails, with an error code. Is there some way I can update the index for a Standard User ???

     
  • Nam-Quang Tran

    Nam-Quang Tran - 2021-10-01

    Hi,

    if you're having trouble with the DocFetcher.bat, you can also run "DocFetcher.exe --update-indexes". The latter also works, except that the update process will fork off into the background.

    In DocFetcher Pro, there's an alternative executable named DocFetcherPro-Console.exe, which works like DocFetcher.exe, but does not fork into the background.

    Best regards
    q:-) <= Quang

     
  • Paul Rubin

    Paul Rubin - 2021-10-01

    Thank you for the reply. Actually I'm using the DocFetcher.exe --update-indexes, as you suggest, but I'm having two different problems on two machines, when scheduling with the task manager in Windows 10:

    1. On one computer, task scheduler reports that the task completes OK, but for some reason the index isn't actually updating! New files are not being added to the index. What can I do here?

    2. On a 2nd computer, task scheduler tries to run the task, but then it reports failure, saying something about it not being permitted.

    Please help. There's something odd going on with trying to run these tasks as a standard (non-administrator) account.

     
  • Nam-Quang Tran

    Nam-Quang Tran - 2021-10-02

    If the standard account has no write permissions for the index files, then a DocFetcher instance running from the standard account will also be unable to update the indexes.

     
  • Paul Rubin

    Paul Rubin - 2021-10-02

    Thank you, I think I have it working now. Of course the Administrator is required to install the program, and then it seems that the standard user can get the scheduled task going.

     

Log in to post a comment.