Skip to content
This repository has been archived by the owner on Sep 14, 2021. It is now read-only.

Running as a Windows Service

rjnienaber edited this page Mar 7, 2012 · 2 revisions

Requirements

Steps

  1. Run command line as administrator
  • Change directory to where the Windows 2003 Resource Kit was installed e.g. C:\Program Files (x86)\Windows Resource Kits\Tools
  • Add a new service with the following command line (making changes where necessary)
    • instsrv.exe Simverest "c:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe"
  • Edit the registry using regedit.exe
  • Navigate to the newly create service key e.g. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Simverest
  • Add a new key named 'Parameters'
  • Add a string (REG_SZ) value called 'Application' with the full path to Simverest and include arguments
    • e.g. c:\software\simverest.exe 192.168.0.54 simverest_user simverest_password
  • Open up Windows Services and start the Simverest service

Gotchas

  • If you stop the Simverest service in the Services dialog, this won't stop the Simverest service. You will need to end task this manually as Simverest doesn't respond to window events like WM_QUIT.

References

Clone this wiki locally