> Setting up eValid as a Service
Running eValid as a service can be very advantageous at times due
to the fact that a user does not need to be logged on in order to
run eValid.
A user can run scripts in the background without eValid interefering
with the desktop and can be prompted to send an Alarm once a specified
threshold ir reached or exceeded.
(1) Download a copy of the SRVANY_X86.EXE from Microsoft at
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt40/
i386/srvany_x86.exe
(2) Assuming that you have installed eValid to the default directory
path:
"C:\Program Files\Software Research\eValid\Program\"
Copy srvany.exe to
"C:\Program Files\Software Research\eValid\Program\"
(3) Open a Command Prompt window and install the service portion by
typing:
instsrv eValidService "C:\Program Files\Software Research\
eValid\Program\srvany.exe".
The quotes around the path are needed because of the space
in the path. Omit the quotes if you do not have spaces in your
path. Press Enter after typing the command line.
(4) Open the Services utility in Control Panel, click on
eValidService, then click on Startup to display the Startup
dialog box.
(5) In the Startup group, click Automatic or Manual.
(We suggest Automatic)
(6) In the Log On As group, select the account you want the
service to run under, we suggest using the System Account and
be sure to check Allow Service to Interact with Desktop.
(7) Open the Registry Editor to complete the process by
clicking on the Start button, then click Run; in the Open box,
type regedt32, and click OK.
(8) Add a new Parameters subkey in the following registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
\eValidService\
(9) Enter Parameters for the Key Name and leave the Class field blank.
Once this is done, the new subkey will appear in the tree.
(10) Click on the Parameters Key folder then use the Edit/Add Value
menu command to add an Application value entry of type REG_SZ.
(11) When you click OK, it will ask for a path, enter this path to
the eValid executable:
"C:\Program Files\Software Research\eValid\Program
\eValid.exe"
(12) Click on the Parameters Key folder then use the Edit/Add
Value menu command to add an AppDirectory value entry of
type REG_SZ. When you click OK, it will ask for a path,
enter this working directory path:
"C:\Program Files\Software Research\eValid\Program"
(13) Close the Registry Editor.
(14) To start or stop the eValid service manually, go to Control
Panel, click on eValidService, then click on Start or Stop.
If you click on start, eValid will appear either as a window
or on the taskbar icon area---in the mode it was when the
Exit button was last pressed.
If you are going to stop the service, maximize eValid and
click on the Exit button before stopping the service.
Note: Warning: Using Registry Editor incorrectly can cause
serious problems that may require you to reinstall your
operating system. We cannot guarantee that problems resulting
from the incorrect use of Registry Editor can be solved.
Use the Registry Editor at your own risk.
|