Configure a Windows XP Immediate Task Item
Applies To: Windows Server 2008
For computers running Windows Server 2003 or Windows XP, Immediate Task preference items allow you to create tasks to be run immediately upon the refresh of Group Policy—and then removed. Immediate Task preference items do not provide a selection of actions because they always create a task and then delete it after it has run.
Configuring an Immediate Task (Windows XP) item
To create a new Immediate Task preference item for Windows XP
Open the Group Policy Management Console. Right-click the Group Policy Object (GPO) that should contain the new preference item, and then click Edit.
In the console tree under Computer Configuration or User Configuration, expand the Preferences folder, and then expand the Control Panel Settings folder.
Right-click the Scheduled Tasks node, point to New, and select Immediate Task (Windows XP).
In the New Immediate Task (Windows XP) Properties dialog box, enter task settings for Group Policy to configure or remove. (For more information, see "Task settings" in this topic.)
Click the Settings tab, and enter any additional task settings for Group Policy to configure. (For more information, see "Other immediate task settings" in this topic.)
Click the Common tab and configure any options desired. (For more information, see Configure Common Options.)
Click OK. The new preference item appears in the results pane.
Task settings
Note
All text fields accept preference processing variables. Press F3 to display a list of variables from which you can select.
Name |
Type a name for the immediate task. This name will appear in the list of immediate tasks in the Control Panel for users or computers. Preference items configuring tasks with the same task name can conflict. |
Run |
Type the command to be run, not including any arguments. |
Arguments |
Type any command-line arguments required. |
Start in |
To specify the working directory for the command being run (typically to ensure the correct resolution of any relative file names), type the working directory used for the task when launched. Do not include quotation marks or a trailing slash. |
Comments |
Type a description of the task. This description is visible for users or computers to which this preference item is applied. |
Run as |
Configure the security context under which the task is run.
|
Other immediate task settings
On the Settings tab, configure settings to manage the behavior of the task upon completion, if the computer is in use, or under specific power conditions.
Additional considerations
You can use item-level targeting to change the scope of preference items.
Preference items are available only in domain-based GPOs.
Additional references
For additional information on configuring settings in Windows, see the Windows Server 2008 TechCenter (https://go.microsoft.com/fwlink/?LinkId=91710).