The user account does not have permission to Enable/Disable/Run task Scheduler in Windows server 2019. is there way to run /disable task from user account.(without admin rights)
If it's a scheduled task that the non-admin user account has created, he/she can disable it, if it's a scheduled task created by an administrator he/she will need modify permissions to be able to enable/disable scheduled tasks in the Task Scheduler, and that requires administrator rights.
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Use my UnlockScheduledTask,ps1 script to allow non-admin users to run a task.
If you want to allow any user to update the task change this:
$newSD = $sddl['SDDL'] + '(A;ID;0x1301bf;;;AU)' # add authenticated users read and execute
$newSD = $sddl['SDDL'] + '(A;;FA;;;AU)"' # add authenticated users full control
I don't know what your task does, but I don't think that I would normally allow users to modify a task that an admin created.
The Task Scheduler belongs to administrative tools on windows server 2019 and these tools are supposed to be used by admins to configure the system. The admin accounts will have full access to these tools while the normal user will have limited access to some of these tools. The access will be restricted for non-admin users. This could be regard as a system design by default for the security consideration. I can also reproduce your issue in my lab.
So do you check if Mr Moto X80 solution can unlock this limitation?
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
12 people are following this question.