Here is more information on how to run KeepRAS as a service (courtesy of Paul Sterley)

  1. Obtain srvany.exe and srvinstw.exe from the Windows NT/2000 Resource Kit.
  2. Modify keepras.ini as desired to specify hosts to ping
  3. Copy keepras.exe, keepras.ini, and srvany.exe into <systemroot>\system32
  4. Run srvinstw.exe. Choose "Install a service" and click Next.
  5. Choose "Local Machine" and click Next.
  6. Type a service name (recommend KeepRAS) and click Next.
  7. Type the path to srvany.exe (e.g. c:\winnt\system32\srvany.exe) and click Next.
  8. Choose "Service is its own process" and click Next.
  9. Choose "System Account" and check the "Allow service to interact with desktop" and click Next.
  10. Choose "Automatic", click Next, and click Finish.
  11. You should see a window stating "The Service Was Successfully Installed".

  12. Run Registry Editor and go to the following path:

    HKLM\SYSTEM\CurrentControlSet\Services

  13. Look for the service name you entered in step 7 and select it.
  14. Right-click your key name and choose New->Key. Type "Parameters" for the key name.
  15. Select the "Parameters" key you just created.
  16. Right-click your Parameters key and choose New->String Value. Type "Application" for the string name. This should be a REG_SZ string.
  17. Double-click the "Application" string you just created.
  18. Type the path to keepras.exe in the Value Data field (e.g. c:\winnt\system32\keepras.exe)


You're done. Open the Services applet and start your new service.

Note: KeepRAS does not seem to process a batch file when running in this mode, even if you specify one in the INI file.
Update: This may have been fixed in the 1.0.0.9 version.


Last modified Tuesday, November 21, 2006
lac@sedivy.com
Powered by Apache Valid HTML 4.01! Valid CSS!