Execution

HKLM\SOFTWARE\Policies\Microsoft\Windows\Task Scheduler5.0

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Removes the Run and End Task items from the context menu that appears when you right-click a task in Scheduled Tasks. As a result, users cannot start tasks manually or force tasks to end.

This entry stores the setting of the Prevent Task Run or End Group Policy. Group Policy adds this entry to the registry with a value of 1 when you enable the Prevent Task Run or End policy. If you disable the policy or set it to Not configured, Group Policy deletes the entry from the registry and the system behaves as though the value is 0.

Value Meaning
0 The policy is disabled or not configured. Users can start and stop tasks manually.
1 The policy is enabled. Users cannot start and stop tasks manually.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Prevent Task Run or End policy (Computer Configuration\Administrative Templates\Windows Components\Task Scheduler).

Note Image Note

This entry can appear in both HKEY_LOCAL_MACHINE and HKEY_CURRENT_USER. If this entry appears in both subtrees, the value in HKEY_LOCAL_MACHINE takes precedence over the value in HKEY_CURRENT_USER.

Tip Image Tip

For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.

Related Entries

Page Image