Documentation Home · White Papers · Installation Guide: Running SNFServer as a Service · Running SNFServer as a Service with SRVANY
Installation Guide: Running SNFServer as a Service with SRVANY
  1. Download & install the Windows 2003 Resource Kit.
  2. Open a command prompt (Click on the Start Button, select Run, and type CMD).
  3. Enter the following commands (customize for the paths of the executables):
    C:\> cd "Program Files\Windows Resource Kits\Tools" 
    C:\> Instsrv SNFServer "C:\Program Files\Windows Resource Kits\Tools\SRVANY.exe"
  4. Open up the Registry Editor (Click on the Start Button, select Run, and type REGEDIT).
  5. Locate the following key:
     HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SNFServer 
  6. From the Edit menu, select New, select Key, and name the new key "Parameters".
  7. Highlight the Parameters key.
  8. From the Edit menu, select New, select String Value, and name the new value "Application".
  9. From the Edit menu, select Modify, and type in the full path name and application name, including the drive letter and file extension (don't use quotes). You must customize the path to match your installation. If you installed SNFServer in C:\SNF\ then you would use:
    C:\SNF\SNFServer.exe C:\SNF\snf_engine.xml
    If you have white space in your path double quote (don't single quote) each parameter seperately like so:
    "C:\Program Files\SNF\SNFServer.exe" "C:\Program Files\SNF\snf_engine.xml"
  10. Open the Services MMC.
  11. Double click your service and check the Log-On tab to be sure the service is running with acceptable permissions.
  12. Start the Sniffer service. Some systems may require a restart in order to fully start the service. NOTE: If after restart, the service tries to start and then stops immediately : Double check your snf_engine.xml and your identity files, as these files can cause the Server to fail initialization if they are incomplete.
  13. Set the Sniffer service to Automatic.