Microsoft KB Archive/310208

= HOW TO: Prevent Users from Scheduling Tasks in Windows 2000 =

Article ID: 310208

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 1
 * Microsoft Windows 2000 Service Pack 2
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Advanced Server

-



This article was previously published under Q310208



IN THIS TASK
SUMMARY
 * Deny Users Permissions to View or Change Scheduled Tasks
 * Deny Users the Ability to Create or Delete Scheduled Tasks



SUMMARY
The Windows 2000 Task Scheduler enables you to configure Windows to automatically open a document, start a program, or run a script at a preconfigured time. This functionality is convenient for administrators, who can force these tasks to occur at specified times on users' computers. The Task Scheduler starts by default when you start Windows 2000 and runs in the background.

In a high-security environment, Task Scheduler can pose a security threat. Users can create new tasks or delete those that are set to run by the administrator. If you are an administrator, you can control this behavior to provide greater security and ensure that only the tasks that you configure run at the proper time. This article describes how you can prevent users from scheduling tasks.

back to the top

Deny Users Permissions to View or Change Scheduled Tasks
You can set advanced permissions on files and folders so that users do not have permission to view or change a scheduled task. To do so:
 * 1) Click Start, point to Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.
 * 2) Right-click the task on which you want to set permissions, click Properties, and then click the Security tab.
 * 3) Click Advanced, click the user or group for whom you want to set permissions, and then click View/Edit.
 * 4) Assign the appropriate permissions.

back to the top

Deny Users the Ability to Create or Delete Scheduled Tasks
You can also deny users the ability to create or delete tasks on a more global basis by using Windows 2000 Group Policy. Microsoft has provided a built-in administrative template to make it easy to accomplish this task. You can apply the policy to the users in a site, domain, or organizational unit. To do so:  Create or edit the applicable group policy.

For example, if you want this policy to be a domain-wide policy, use the following procedure:  Click Start, click Administrative Tools, and then click Active Directory Users and Computers. Right-click the domain name, click Properties, and then click the Group Policy tab. Click the default domain policy, and then click Edit to open the Group Policy console.  In the left pane of the Group Policy console, click to expand the User Configuration node. Click to expand Administrative Templates, and then click to expand Windows Components.</li> Click Task Scheduler.</li> In the right pane, double-click Disable New Task Creation.

NOTE: To prevent users from deleting scheduled tasks, double-click Disable Task Deletion.</li> By default, this policy is not configured. To configure it, click Enabled, and then click OK.</li></ol>

When this policy is enabled, users cannot create new scheduled tasks by using either the New Task Wizard or by pasting, moving, or dragging programs or documents into the Scheduled Tasks folder.

This policy is displayed in the Computer Configuration and User Configuration folders. If both policies are configured, the setting in Computer Configuration takes precedence over the setting in User Configuration.

NOTE: This policy does not prevent administrators of a computer from using At.exe to create new tasks or from submitting tasks from remote computers.

back to the top

Keywords: kbhowto kbhowtomaster KB310208

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.