Task Scheduler not running when system is locked
-
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
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" -
Can you send us print screens of your job?
-
-
How about a screenshot of the settings you have?
Edit: Also, try running the Task Scheduler as Administrator.
-
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
-
The machine will be locked state and the task should run from the same without user help.Tried this link
-
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?
-
@dafyre the above one is internet image that \domain\User is the concept
-
@lakshmana said in Task Scheduler not running when system is locked:
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?
-
@black3dynamite said in Task Scheduler not running when system is locked:
@lakshmana said in Task Scheduler not running when system is locked:
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
-
@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:
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?
-
@dafyre May i know what changes you are speaking about ?
-
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.
-
I have tried to run calc.exe but that is also giving the same error
-
@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.
-
@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
-
@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 withoutRun with highest privileges
.
Also what do you have configured on the Trigger tab? -
@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