Creating Automatic Update Tasks
Prerequisites§
- Create upgrade script file and save it as PowerShell. Consider examples available in the dedicated article.
- Determine what user account will be responsible for the upgrade.
Process§
-
Open Task Scheduler.
How to...
- Right click the Start button.
The shortcut menu appears. - From the shortcut menu, select Run.
- In the dialog box,
in the Open field,
enter
taskschd.msc

- Right click the Start button.
-
Create a new folder for SmartPTT tasks: - In the toolbar, click Actions, and then select New Folder.
- In the dialog that appears, in the Name field, enter the name of the folder. Then click OK.
- In the left pane,
right click the directory where you want to create a task,
and select Create Task.
The Create Task window appears. -
Set up the task by modifying necessary parameters:
General Settings
Perform the general task setup:
-
Select the General tab.

-
On the selected tab, in the Name field, enter the task name.
- In the Security options area,
click Change User or Group.
The Select User or Group window appears. - In the window, set up users with local admin privileges to perform the update if necessary. Then close the window.
- In the Security options area, click Run whether user is logged on or not to perform the check and upgrade SmartPTT on every account logon.
- If you want to avoid password sharing for the specified account, select the Do not store password check box.
- From the Configure for list, select your operating system.
Triggers
Set up the task triggers:
-
Select the Triggers tab.
List of triggers appears.
-
On the selected tab, in its bottom part, click New.
The New Trigger window appears.
-
In the window that appears, from the Begin the task list, select the option that fits you best.
- Depending on the selected option, modify the parameters available in the Settings area.
- If necessary, modify the parameters available in the Advanced Settings area.
- Click OK to apply changes and close the window.
Actions
Set up the upgrade action:
-
Select the Actions tab.
List of actions appears.
-
On the selected tab, in its bottom part, click New.
The New Action window appears.
-
In the window that appears, from the Action list, select Start a program.
- In the Settings area, in the Program/script field, enter the path to the upgrade script file.
- Click OK to apply changes and close the window.
-
-
In the Create Task window, click OK.