OS: Windows Server 2022, 21H2 OS Build 20348.2402
Application: Task Scheduler
Issue: Non-administrators can run the application, create their own tasks, run them and delete them. Some tasks were created with GPO settings connected with a logged user, not by the user himself.
Goal: Non-admistrator users cannot even open the application, or they can open it but have no right to create or edit any task. Any GPO settings cannot cause a creation of a new scheduled task when a logged user is not a member of the group Administrators.
Unsuccessful attempt to solve the problem:
MMC console > new snap-in "Group Policy Object Editor" (Group Policy Object=Local Computer, Users=Non-administrators)
Left menu of MMC console User Configuration > Administrative Templates > Windows Components > Task Scheduler
- Prohibit browse
- Prevent Task Run or End
- Prohibit New Task Creation
- Prohibit Task Deletion
Settings of these options were changed from "Not Configured" to "Enabled", then a command "gpupdate /force" was run in the elevated command prompt with success.
All these settings were marked with a condition "Requirements: Windows Server 2003, Windows XP, and Windows 2000 only."
Despite configuring GPO as mentioned above, the issue was not solved. It was tested on a member of the group "Remote Desktop Users", who is not a member of the group "Administrators". He could still create a new task in Task Scheduler, however he could not see other task that could be seen by an administrator.
Restrictions for the solution: the solution should not involve modifying the system registries