Keep VisualSVN Server Windows Service running 24/7

How to Keep your VisualSVN Server Windows Service Running 24/7 with Service Protector

Automatically restart VisualSVN Server whenever it stops, crashes or has trouble serving web requests. Ensure that your Subversion repositories are always available


Last Updated on October 16, 2026

VisualSVN Server is a fully-functional Subversion server for the Windows platform. It's freely available for commercial use under the Community license.

VisualSVN provides a convenient HTML web interface to your repository. That functionality is hosted by the "VisualSVNServer" Windows Service:


To monitor & protect VisualSVNServer with Service Protector:

  1. Download and install Service Protector, if necessary.

  2. Start Service Protector.

  3. Select Protector > Add to open the Add Protector window:

    Add Protector

  4. On the General tab, in the Service to protect field, select VisualSVN HTTP Service:

    VisualSVN Server Windows Service: General Tab

  5. To monitor and restart VisualSVN if it stops serving HTML pages, switch to the Monitor tab. We'll set up a health check to detect when the VisualSVN web server runs into trouble.

    1. Switch to the Monitor tab. Check the Whenever it fails a periodic sanity check box and click the Set button:

      VisualSVN Windows Service: Add a sanity check

    2. In the Add Sanity Check window, select the Check that a web server is responding properly option and click Next to proceed:

      Add a web server sanity check

    3. Enter the URL you use to access your VisualSVN Server. For example, you can open a repository in your browser to get the URL.

      Note: In order to access a VisualSVN server web page, our URL includes a username and password that authenticates the request to the web server. Please be sure to consider the security implications in your environment if you take the same approach!

      Enter the URL for VisualSVN Server

      Click Next to continue.

    4. Specify how often Service Protector should verify the URL. The default of every 5 minutes should be fine but you can check more often if you like.

      After you're done, click Next to move on:

      VisualSVN Server Sanity Check frequency

    5. And finally, confirm your settings:

      Confirm your sanity check settings

      If everything looks good, click Add to record your new sanity check and return to the Monitor tab.

  6. Click the Save button to record your settings. In a few seconds, an entry for VisualSVN HTTP Service will appear in the Service Protector window.

    The green shield indicates that Service Protector is already actively monitoring the Subversion server to quickly detect and mitigate failures:

    VisualSVN Server Windows Service: Protected

  7. That's it! Next time your computer boots, VisualSVN will start automatically and Service Protector will babysit the service to promptly restart it if it terminates for any reason.

    We encourage you to edit your VisualSVN HTTP Service entry in Service Protector and explore the many other settings that may be appropriate for your Subversion environment.

    For example, send an email when the service fails, schedule a regular restart to cure memory leaks, tamp down the effects of CPU hogging, and much more.


Trouble protecting the VisualSVN Server Windows Service?

  • From Service Protector, select Protector > Report Activity > Today to bring up an HTML report detailing the interaction between Service Protector and VisualSVN Server.

  • Browse the Service Protector FAQ for answers to commonly asked questions and troubleshooting tips.

  • Contact us and we will be happy to help!