This content has been marked as final. Show 2 replies
The Orion version of Network Performance Monitor runs as a service.
The Engineer's Edition version of Network Performance Montior does not run as a service.
There are tools within the windows resource kit to turn processes into services. Here's a tutorial I wrote for someone which is based on an MS KB article. It uses TFTP as an example.
Sometimes it is necessary to run a process as a system service so it will come up when the system gets rebooted.
What you’ll need:
These two executables are found on the Windows Resource Kit CD’s. Get the appropriate kit for the specific version of Windows you are creating the process on.
· Install the resource kit from CD accepting the defaults.
C:\Program Files\Resource Kit\ will be used an example path to where the Resource Kit was installed to.
Open a DOS prompt:
Type the following command at the prompt:
· C:\Program Files\Resource Kit\instsrv.exe Choose a name for the service C:\Program Files\Resource Kit\srvany.exe
· C:\Program Files\Resource Kit\instsrv.exe TFTP Service C:\Program Files\Resource Kit\srvany.exe
Now you need to edit the registry.
Navigate to the following registry key:
· HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\[your service name]
When your service name entry is highlighted:
· From the EDIT menu click Add Key
· Type ‘Parameters’ for the Key Name and leave the Class field blank
Select the Parameters key you just created
· From the EDIT menu click Add Value
· Type ‘Application’ for the Value Name
· Set the Data Type to REG_SZ
· Enter the path to the executable that you want to create the service for in the String field. E.g. C:\tftp\tftp-server.exe
* note If there are spaces in the path to your executable, enclose the path string in double quotes
Now you should be able to see your newly installed service.
Open up the Services snap-in:
You’ll see the service you created listed here. Right click and choose properties to modify which account the service is run under, or change the way the service gets run.