Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 245
نمايش فراداده

TasksTasks

Schedule a Task

Control Panel Add Scheduled Task choose a program or browse to select an executable or script specify name for task specify scheduling option specify time and date specify credentials required to run program

The available scheduling options are:

  • Daily at a specific time, weekdays only, or every nth day

  • Weekly on a specific day(s) at a specific time for n weeks

  • Monthly on a specific month(s) at a specific day or date

  • Only once (specify date and time)

  • Whenever your computer restarts

  • Whenever you log on

You can also schedule a task by dragging a program, script, batch file, or document into the

Scheduled Tasks folder and then configuring the properties of the task.

Configure a Task

Control Panel Scheduled Tasks select task

Then modify the properties of the task as desired. The Settings tab is of particular interest and can be used to do a number of tasks.

  • Delete a task not scheduled to run again

  • Stop a task that runs too long

  • Run the task when the system is idle

  • Stop running the task when the system is no longer idle

  • Prevent the task from running when batteries are used or when batteries are low

  • Wake the system from hibernation to run the task

Disable a Scheduled Task

To temporarily prevent a scheduled task from running:

Control Panel Scheduled Tasks select task General clear Enable checkbox

Configure an Additional Schedule for a Task

Control Panel Scheduled Tasks select task Schedule Show multiple schedules New configure schedule 2

You can have only two schedules for a task.

Configure How Often a Scheduled Task Runs

Control Panel Scheduled Tasks select task Schedule Advanced Repeat Task specify settings

Run a Task Now

Start All Programs Accessories System Tools Scheduled Tasks right-click on task Run

Run a Remote Task

Windows Explorer My Network Places Entire Network Microsoft Windows Network select domain or workgroup select remote computer Scheduled Tasks right-click on task Run

This works on WS2003, XP, W2K, NT, and Windows 95/98 computers, except that on Windows 95/98 computers you need to enable remote administration for your account and share the drive where the

Scheduled Tasks folder is located. You must have administrative privileges on the remote system to run tasks like this.

Configure a Remote Task

Windows Explorer My Network Places Entire Network Microsoft Windows Network select domain or workgroup select remote computer Scheduled Tasks right-click on task Properties

Create a Remote Task

Create the task on the local machine, open the

Schedule Tasks folders on both the local and the remote machine, and drag and drop the task from the local folder to the remote one. You can also email a task (

.job file) to a user and have her save it into her

Scheduled Tasks folder.

Open Task Manager

Right-click on taskbar Task Manager

Ctrl+Alt+Delete Task Manager

Command prompt taskmgr.exe

End a Task

Task Manager Applications End Task

Kill a Process Associated with a Task

Task Manager Applications right-click on task Go To Process End Process

Disconnect or Log Off a User

Task Manager Users select user Disconnect or Logoff

Send a Console Message to a User

Task Manager Users select user Send Message