[How To] Prevent Users From Forcefully Ending Scheduled Tasks

This article will show you the way to prevent users from forcefully ending scheduled tasks in Windows XP using Group Policy and Registry Editor.

Kapil Arya
11x Microsoft MVP · Admin
2 min read
Add as a preferred
source on Google

Task Scheduler aka Scheduled Tasks is one of the important component in Windows as far as processing is concerned. It basically manages Windows complete operations according to priority. Every Windows copy have a Task Manager inside it, and you can access it anytime. In the Scheduled Tasks window, I noticed that there are Start and End options, embedded by default, for right click context on every task.

Let us consider a scenario, we picked up a random task in the Scheduled Tasks window, which is still running, but if we use End option using right click context of corresponding task, Windows will do a force to stop the task. This may be injurious to your computer, or if the task is of top priority, you’ll lose the important data concerning it. In this article, I’ll tell you the way, how you can prevent users from ending a task forcefully. The method is described as follows:

Prevent Users From Forcefully Ending Scheduled Tasks

1. Press Windows Key + R combination, type put gpedit.msc in Run dialog box and hit Enter to open the Local Group Policy Editor.

2. Navigate here:

Computer Configuration -> Administrative Templates -> Windows Components -> Task Scheduler

3. In the right pane of this location, look for the setting Prevent Task Run or End. Double click on same setting to modify it, you’ll got this:

4. In the above window, click on Enabled to prevent users from ending task while they are in running phase. Click Apply followed by OK. Now Group Policy immediately disables the End Task option, so the users can’t use it and thus can’t force Windows to end the task. That’s it!

Prevent Task End Using Registry Editor

1. Press Windows Key + R combination, type put Regedt32.exe in Run dialog box and hit Enter to open the Registry Editor.

2. Navigate to the following location:

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Task Scheduler5.0

3. In the right pane of this location, create a DWORD named Execution using Right click -> New -> DWORD. Double click on it to modify:

4. In the above box, input the Value data as 1 to prevent users to forcefully end the tasks. Click OK. Reboot to see results.

Hope you like the tip and find it useful!

Share this article
https://www.kapilarya.com/prevent-users-from-forcefully-ending-scheduled-tasks

Shareable URL

Article by

Kapil Arya
11x Microsoft MVP · Admin

Kapil holds Microsoft MVP title in Windows IT Pro expertise, 11-times in a row (2014-2025). He is 8-times Windows Insider MVP as well, and author of 'Windows Group Policy Troubleshooting' book. In 2015, Microsoft India accomplished him as 'Windows 10 Champion'. Being passionate Windows blogger, he loves to help others on fixing their system issues. Kapil has worked with official Microsoft Community Engagement Team (CET) on several community projects. You can subscribe him for news/updates and fixes for Windows.

Leave a Comment

Your email address will not be published. Required fields are marked *