A. You can block user access to scheduled tasks in a number of ways. To block access at a Group Policy level, perform the following steps:
- Start Group Policy Editor (GPE) for the container you want to modify.
- Expand either User Configuration or Computer Configuration.
- Expand Administrative Templates, Windows Components, Task Scheduler.
- Double-click "Prevent Task Run or End."
- Select Enabled and click OK.
You can also edit the registry to block access on a per compputer or per user basis:
- Start regedit.exe on the machine where you want to block access.
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Task Scheduler5.0 or HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Task Scheduler5.0 (you might need to create the key).
- From the Edit menu, select New, DWORD Value, enter a name of Execution, and press Enter.
- Double-click the new value, and set it to 1. Click OK.
- Close regedit.