Application as Service - Program tab

The Program tab defines the major service settings (such as application parameters, process settings, etc) and should be the first place to look at when you are going to run application as service.

This tab is divided into two panes: "Application parameters" and "Process settings". The former one allows you to set working directory and starting parameters and the latter allows to select service's display mode and bind process for a definite CPU.

Application parameters

Option Purpose
Working Directory
This option defines the working directory of the application which is to be run as service. You may type in a valid path on local disk or Universal/Uniform Naming Convention (UNC) path to a network drive ("//servername/full/path") or select it with the help of "Open file" dialog by clicking the icon at the end of the field.
Parameters
This is an optional list of parameters that can be passed to the executable at the start time. It may contain username, system or service specific environment variables (for instance, %MYVAR%), file name and so on.

Process settings

Option Purpose
Show
window
This option defines the service's display mode and is applicable for the interactive services only. You may select display mode from one of the available options: Normal, Hidden (silently causes the interaction with desktop field to have no effect), Minimized and Maximized.

Process
priority

Specify the processes priority value by selecting from the following options:

  • Normal- for the process with no special scheduling needs
  • Below normal - for the processes above Low priority but below Normal priority types. Not available for Windows 95/98/Me and NT
  • Above normal - for the processes above Normal priority but below High priority types. Not available for Windows 95/98/Me and NT
  • High - for time-critical tasks that must be executed immediately. Use with the caution because a high-priority class application can use nearly all available CPU time
  • Low - for the processes that run only when the system is idle. For example, this type of the service could be used for screen savers
  • Real time is the highest possible priority. The threads of the process preempt the threads of all other processes, including operating system processes performing important tasks
CPU binding
Specify here the processor/processors that could be used by the service process.