Task scheduler under user

OZ 226 Reputation points
2024-01-26T14:55:39.5133333+00:00

I need to upload logs of one program from servers to a shared network folder. I've reached a dead end. If I create a Task Scheduler under System, then it does not have the rights to upload to a network folder (only locally). If I create a Task under my domain admin account, then the Task Scheduler works only if I am logged in to the server. If I check the "Run whether user is logged on or not" checkbox, then the task does not work at all (apparently because I cannot transfer the password), and the "Do not store password" option is inaccessible. Under what account should I create the Task Scheduler so that it always works and simultaneously uploads logs to a network folder? How to do it right? 2024-01-26_173901

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,684 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,807 questions
{count} votes

Accepted answer
  1. Thameur-BOURBITA 35,436 Reputation points
    2024-01-26T19:11:06.42+00:00

    Hi @OZ

    If you want create a schedule task with domain service account to copy log file from servers to a shared folder, you have to create it through Powershell script or manually on each server.

    Unfortunately , it's not possible create a schedule task running with domain service account through the Group Policy Preference to avoid store its password in sysvol folder and be read by all users in your domain.

    Please don't forget to accept helpful answer


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.