This example demonstrates how to configure EZproxy to run as a Windows service. Windows services are started when you power up your computer before anyone logs in, so this is the preferred method for production installations of EZproxy.
Before configuring EZproxy to run as a service, you must have already installed and configured EZproxy. See Install EZproxy for Windows for the installation steps that must be performed before you configure EZproxy to run as a service.
Please note that if you are also running IIS and EZproxy together on a single server, and if each is using a port 80 on separate IP addresses, then you must perform an additional step. See www.usefulutilities.com/support/technote/1.html for the required steps.
On Windows Vista, you must open a command prompt window as an administrator to install or remove EZproxy as service.
To do this, click on Start, All Programs, Accessories, right-click Command Prompt, Run as administrator, and Continue.
Except for Vista, you can open a command prompt window by clicking on Start, Run, and in the Run window next to Open type:
and click OK.
To install EZproxy as a Windows service, open a command prompt, change your current directory to your EZproxy directory, issue the command:
and then you can start EZproxy running with the command:
If you receive error 1067 at this point, see www.usefulutilities.com/support/1067.html for steps to diagnose the problem.
Regardless of how you install EZproxy as a Windows service, from a command prompt window, use the commands:
to remove EZproxy from running as a service.
If you update the ezproxy.cfg files, you need to restart the service. See www.usefulutilities.com/support/restart.html for information on how to restart EZproxy.
If you installed an older version of EZproxy with the -sw option for IIS compatability and if you have followed the steps mentioned in www.usefulutilities.com/support/technote/1.html you can change back to the -si form with the commands:
If you have any questions, comments or suggestions, from the smallest typo to the biggest problem, please send them to info@UsefulUtilities.com.