If a script returns non-zero success codes, you should specify these non-zero success codes while
launching the action. For example, explorer.exe in Windows returns a success code of 1. To
successfully launch the Explorer application, you should add 1 as the success code while launching
the action.
Working Directory: Click More Options to specify the script's working directory. Specify the
initial working directory for the script.
Priority: Click More Options to specify the script's priority. Specify the priority of the process that
runs the script. This option lets you configure how much of the CPU usage the script process
consumes. Select from the following priorities: Real Time, High, Above Normal, Normal, Below
Normal, and Low.
Run As: Click More Options to specify the script's run as setting. Specify an option:
System: Runs the script as the system account (as a service).
Administrator: Runs the script as a dynamic administrator user. A dynamic administrator is an
administrator account that is created on the fly to perform certain procedures, such as installing
applications or running scripts. Using a dynamic administrator is helpful when installing
applications (some MSI applications, for example) that cannot be installed in the system space.
When you select this action, the dynamic administrator is created, it performs the required
tasks, and then the account is deleted.
User: The script runs, using the logged-in user's credentials. For example, the script has the
same rights to the registry and the file system as the logged-in user.
E.26.2 Define Your Own Script
Select this option to type a script in ZENworks Control Center.
166 ZENworks 10 Configuration Management Software Distribution Reference
Need help?
Do you have a question about the ZENWORKS 10 CONFIGURATION MANAGEMENT SP3 - SOFTWARE DISTRIBUTION REFERENCE 10.3 30-03-2010 and is the answer not in the manual?