Run STL Port Forward as an NT Service
We have tested this on XP but it should work on other NT based operating systems too.
- To get SrvAny Download Microsoft Resource Kit Tools
- Use InstSrv to install a new service:
Run "C:\Program Files\Windows Resource Kits\Tools\Instsrv.exe" STLPortForward "C:\Program Files\Windows Resource Kits\Tools\Srvany.exe" - Use regedit to add the following key (please ensure you know what you are doing):
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\STLPortForward\Parameters]
"Application"="C:\\batch\\tools\\STL Port Forward.exe"
(note: if you're typing this in by hand in regedit, Application is a new string value to add inside the Parameters key, and you won't need to type double backslashes) - Go to control panel => administrative tools => services
- Find the STLPortForward service, and go to the Logon tab
- Tick "Allow service to interact with the desktop"
- Start the service, and set all your forwarding options
Note: When you restart your machine the user interface will not appear, if you want to make any changes to your settings, simply stop the service and restart it, and the configuration dialog will appear.
Also note: If you close the dialog then port forward will terminate even though SrvAny is still running. Just stop and restart the service if you do this.

