To specify an application to start as a service

1. Add a new Parameters subkey in the following registry location:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
MyService\

2. In the new Parameters subkey, create an Application value entry with a data type of REG_SZ, and specify the full path of the executable file for the application (including the extension). For example:

Application: REG_SZ: D:\Tools\Vi.exe

 

To specify parameters required when starting an application

· In the new Parameters subkey in the registry, create an AppParameters value entry with a data type of REG_SZ, and specify the parameters for the application. For example:

AppParameters: REG_SZ: C:\Tmp\FOO