HP Device Manager 4.6 Administrator Guide
5. In the Wait column, select Yes if the command has to wait for the previous command to finish
before executing.
6. If you want to add more commands, click Add.
7. Click OK when you are finished editing registry settings.
8. Click Save as, enter a name for the new template, and then click OK. The template is added to
the Task Templates tab of the task pane.
9. Drag and drop the template onto the desired devices.
10. Click OK to apply the task to the devices.
Remotely executing Windows scripts
Windows Script Host is a comprehensive scripting infrastructure that provides the scripting engines
Microsoft Visual Basic Scripting Edition and Microsoft Jscript. These engines can be embedded into
Windows applications to make it easier to script Windows applications.
For more information on how to write Windows scripts, go to
http://www.msdn.microsoft.com and
search for windows script.
To run Windows scripts as a command using HPDM:
▲
Add wscript before the script name you want to run.
NOTE: wscript.exe is located in C:\Windows\system32.
Pausing a _File and Registry task
You can pause a _File and Registry task to wait for certain events such as a system reboot.
To add a Pause subtask to a _File and Registry task:
1. In the Template Editor of a _File and Registry template, click Add, select the Pause subtask, and
then click OK.
2. Specify the pause duration, and then click OK.
Adding or removing program records
To add or remove program records:
1. Double-click the _File and Registry template to open the Template Editor.
2. Click Add, select the Program Record subtask, and then click OK.
3. In the Program Record Editor, click Add.
4. Specify the action type (add or remove).
5. Input the publisher, version, and comments if necessary.
6. Click OK when you are finished editing program records.
7. Click Save as, enter a name for the new template, and then click OK. The template is added to
the Task Templates tab of the task pane.
8. Drag and drop the template onto the desired devices.
9. Click OK to apply the task to the devices.
Managing normal thin clients 45