ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Task Scheduler not running when system is locked

    IT Discussion
    3
    18
    3.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • LakshmanaL
      Lakshmana
      last edited by Lakshmana

      I have created a .bat file to run at evening at 05:59 PM everyday but the task is not running in the machine when the system is locked.I have selected the option as provided in this link

      https://superuser.com/questions/1214736/windows-10-scheduled-tasks-with-workstation-lock-unlock-not-being-triggered

      But I am getting error while changing the Security Option in Print Screen A.Can anyone help me on the same.

      Error is provided below for reference
      "Task Scheduler cannot apply your changes.The user account is unknown,the password is incorrect or the user account does not have permission to modify the task"

      1 Reply Last reply Reply Quote 0
      • dafyreD
        dafyre
        last edited by

        Can you send us print screens of your job?

        1 Reply Last reply Reply Quote 0
        • LakshmanaL
          Lakshmana
          last edited by

          0_1519152270756_test.jpg

          1 Reply Last reply Reply Quote 0
          • dafyreD
            dafyre
            last edited by dafyre

            How about a screenshot of the settings you have?

            Edit: Also, try running the Task Scheduler as Administrator.

            1 Reply Last reply Reply Quote 0
            • LakshmanaL
              Lakshmana
              last edited by

              0_1519152485441_446a4b74-2b22-4ac4-aad3-aad56e811210-image.png

              When checking the Run with Higher Privileges and checked on Run Whether user is logged on or not also.But at that time only above error comes here

              black3dynamiteB 1 Reply Last reply Reply Quote 0
              • LakshmanaL
                Lakshmana
                last edited by Lakshmana

                The machine will be locked state and the task should run from the same without user help.Tried this link

                https://jetsupport.jetreports.com//hc/en-us/articles/219402177-Scheduler-Permissions-Running-Scheduled-Tasks-When-Logged-Off#backupop

                1 Reply Last reply Reply Quote 0
                • dafyreD
                  dafyre
                  last edited by

                  I see the task is set to run as "Charles".... .But it was created by DEFIANT\Charles...

                  Is DEFIANT the name of the computer, or an AD Domain?

                  LakshmanaL 1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @dafyre
                    last edited by

                    @dafyre the above one is internet image that \domain\User is the concept

                    1 Reply Last reply Reply Quote 0
                    • black3dynamiteB
                      black3dynamite @Lakshmana
                      last edited by

                      @lakshmana said in Task Scheduler not running when system is locked:

                      0_1519152485441_446a4b74-2b22-4ac4-aad3-aad56e811210-image.png

                      When checking the Run with Higher Privileges and checked on Run Whether user is logged on or not also.But at that time only above error comes here

                      Ever consider running the task using the Administrator account?

                      LakshmanaL 1 Reply Last reply Reply Quote 0
                      • LakshmanaL
                        Lakshmana @black3dynamite
                        last edited by

                        @black3dynamite said in Task Scheduler not running when system is locked:

                        @lakshmana said in Task Scheduler not running when system is locked:

                        0_1519152485441_446a4b74-2b22-4ac4-aad3-aad56e811210-image.png

                        When checking the Run with Higher Privileges and checked on Run Whether user is logged on or not also.But at that time only above error comes here

                        Ever consider running the task using the Administrator account?

                        Tried from my AD Admin Login there is not local admin present in the machine.Where the task needs to be run as AD user if possible

                        dafyreD 1 Reply Last reply Reply Quote 0
                        • dafyreD
                          dafyre @Lakshmana
                          last edited by

                          @lakshmana said in Task Scheduler not running when system is locked:

                          @black3dynamite said in Task Scheduler not running when system is locked:

                          @lakshmana said in Task Scheduler not running when system is locked:

                          0_1519152485441_446a4b74-2b22-4ac4-aad3-aad56e811210-image.png

                          When checking the Run with Higher Privileges and checked on Run Whether user is logged on or not also.But at that time only above error comes here

                          Ever consider running the task using the Administrator account?

                          Tried from my AD Admin Login there is not local admin present in the machine.Where the task needs to be run as AD user if possible

                          What happens if you try to edit the job you are working on. Does it let you make any changes to it?

                          LakshmanaL 1 Reply Last reply Reply Quote 0
                          • LakshmanaL
                            Lakshmana @dafyre
                            last edited by

                            @dafyre May i know what changes you are speaking about ?

                            1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre
                              last edited by

                              Your error message is telling you that the user is unknown. Make a change to the job any thing... and then try to hit OK to save it again.

                              It should pop up and ask you for the username & password for the user the job needs to run as.

                              1 Reply Last reply Reply Quote 0
                              • LakshmanaL
                                Lakshmana
                                last edited by

                                I have tried to run calc.exe but that is also giving the same error

                                black3dynamiteB 1 Reply Last reply Reply Quote 0
                                • black3dynamiteB
                                  black3dynamite @Lakshmana
                                  last edited by

                                  @lakshmana said in Task Scheduler not running when system is locked:

                                  I have tried to run calc.exe but that is also giving the same error

                                  If you haven't already, try using a domain admin account instead.

                                  LakshmanaL 1 Reply Last reply Reply Quote 1
                                  • LakshmanaL
                                    Lakshmana @black3dynamite
                                    last edited by

                                    @black3dynamite said in Task Scheduler not running when system is locked:

                                    using a domain admin account instead.

                                    For that domain admin also throws the same error

                                    black3dynamiteB 1 Reply Last reply Reply Quote 0
                                    • black3dynamiteB
                                      black3dynamite @Lakshmana
                                      last edited by

                                      @lakshmana said in Task Scheduler not running when system is locked:

                                      @black3dynamite said in Task Scheduler not running when system is locked:

                                      using a domain admin account instead.

                                      For that domain admin also throws the same error

                                      Use NT AUTHORITY\SYSTEM with or without Run with highest privileges.
                                      Also what do you have configured on the Trigger tab?

                                      1 Reply Last reply Reply Quote 0
                                      • LakshmanaL
                                        Lakshmana
                                        last edited by

                                        @black3dynamite said in Task Scheduler not running when system is locked:

                                        NT AUTHORITY\SYSTEM

                                        NT AUTHORITY \SYSTEM is not working and Trigger is set for Daily at 05:50 PM
                                        When clicking on Run with highest privieges i am getting the same error which was mentioned already

                                        1 Reply Last reply Reply Quote 0
                                        • 1 / 1
                                        • First post
                                          Last post