Automatically restart failed Windows Services

Service Protector Frequently Asked Questions (FAQ)

Tips to keep your Microsoft Windows 10/2012/8/2008/7/Vista/2003/XP Services running 24x7, surviving crashes, hangs, leaks and more.

FAQ CONTENTS


    GENERAL

  1. What is Service Protector?

  2. How do I install Service Protector?

  3. What Windows Services are compatible with Service Protector?

  4. Can Service Protector restart services stuck in the "Stopping" or "Starting" state?

  5. Why should I use Service Protector instead of the builtin Windows Service recovery feature?

  6. How do I configure Service Protector to send email using my google/gmail account?

  7. When my service fails, I need to restart another service too. How do I do that?

  8. Is there a limit to the number of services that can be protected on a single machine?



  9. LICENSING / UPGRADING

  10. When purchasing Service Protector, I am asked for the "10-digit serial number (XXXX-XXXXXX) from the registration window". Where do I find that?

  11. I recently purchased Service Protector but have not received my registration information. What should I do?

  12. How is Service Protector licensed?

  13. How much does Service Protector cost?

  14. Is a Volume license available?

  15. Service Protector says I am not registered even though I am. How can I resolve this?

  16. How do I move my registered copy of Service Protector to another computer?

  17. I re-installed Windows and my registration code is no longer accepted. What should I do?

  18. I see that you have a new version available. Do I have to pay to upgrade?

  19. How do I upgrade from a previous version?



  20. COMPATIBILITY

  21. Does Service Protector work with Windows 2000 or Windows NT?

  22. Does Service Protector work on Windows Server 2008 R2?

  23. Does Service Protector work with Windows Server 2012 and Windows 8?

  24. Does Service Protector run on 64-bit versions of Windows?



  25. MISCELLANEOUS

  26. What is a "Sanity check utility", and why would I use one?

  27. My virus scanner tells me that Service Protector contains the [Some Scary Virus]. Help!

  28. How do I move my Service Protector protection to another machine?



  29. ADDITIONAL HELP

  30. My question has not been answered here. Can you please help?



    Windows Services: Overview

  1. What is Service Protector?

    Service Protector is a utility designed to monitor a Windows Service and ensure that it operates normally. For example, Service Protector can immediately revive a service that has died for any reason, stop a rogue service that is using too much memory or CPU, or restart a service that is stuck in the "Stopping" or "Starting" state for too long.

    Service Protector will do whatever it takes to keep your Windows Service up and running!

  2. Windows Services: Overview

  3. How do I install Service Protector?

    Service Protector is very easy to install and the installation experience is much like any other professional Windows application. The installer doesn't contain "extra" software (or ad-ware!) and won't send any information over the Internet.

    Please review our step-by-step installation instructions for the details.

  4. Windows Services: Overview

  5. What Windows Services are compatible with Service Protector?

    Service Protector can monitor and automatically restart any Windows Service. We have extensively tested the following popular services and provided a tutorial for each:

    MySQL Database · Windows Print Spooler · Apache Web Server · PostgreSQL Database · JBoss Application Server · MongoDB Database · Atlassian Bamboo · Tomcat Java Application Server · QuickBooks Database Server · Microsoft Message Queue (MSMQ) · Abyss Web Server · Mozy Pro/Home Backup · Google Cloud Print · Apple Bonjour · IIS Web Server · RabbitMQ Messaging Server · SQL Server Agent · Jenkins Integration Server · RealVNC Server · Elasticsearch Search Engine · Hudson Continuous Integration · RavenDB Database · TeamViewer Remote Control Server · WildFly Server · FileZilla FTP Server · GlassFish Java Application Server · Confluence Collaboration Server · Openfire Collaboration Server · Bitvise SSH Server · Quartz.NET Scheduler · freeSSHd SSH Server · UniFi Wireless Network Manager · DeltaCopy rsync Server · IIS SMTP Server · Amazon Merchant Transport Utility · Yawcam Webcam Server · Virtuoso Universal Server · Mongoose · Lotus Notes NSD · Redis

  6. Windows Services: Overview

  7. Can Service Protector restart services stuck in the "Stopping" or "Starting" state?

    Yes. That setting is available on the Extras tab when configuring Service Protector:

    Service Protector Extras Tab

    You will have to enter the number of seconds after which to declare your service as stuck.

  8. Windows Services: Overview

  9. Why should I use Service Protector instead of the builtin Windows Service recovery feature?

    The basic service recovery mechanism available in Windows (on the Windows Service Recovery tab) is focused on restarting a service when the underlying executable crashes. Unfortunately it does not address any of the more subtle ways that software can stop working, such as:

    1. Graceful stops: If some user (or software) stops your service, Windows will not restart it. Service Protector will restart your service however it stops.
    2. Stuck Starting or Stopping: Windows will not detect hangs and your service will simply persist in that state until someone realizes that it is not working. Service Protector can detect hangs (either in the "Starting" or "Stopping" state) and restart your service as necessary.
    3. CPU hogs: Rouge services that run off with the CPU will just keep running. Service Protector can stop those.
    4. Memory hogs: While Windows ignores services that rack up the RAM, Service Protector can stop those dead in their tracks!
    5. Extensibility: You can extend Service Protector to handle those tricky failure situations, where your service appears to be running but isn't really doing its job. For example, is your web server reallyserving pages? The builtin recovery doesn't offer that advantage.

    Combine all that with email notifications, scheduled restarts, weekly reports and you quickly realize that Service Protector really outshines the basic functionality on the Recovery tab!

  10. Windows Services: Overview

  11. How do I configure Service Protector to send email using my google/gmail account?

    To send email from using your gmail account, please specify the following settings (after clicking on the "Configure..." button on the Email tab):

    From Address: your-gmail-user-name@gmail.com
    From: Your name (or anything else you like)
    SMTP Server Name/IP: smtp.gmail.com
    Port: 465
    Check This server requires encryption and select SSL/TLS
    Check This server requires authentication and select "AUTH-LOGIN"
    Login: your-gmail-user-name@gmail.com
    Password: Your gmail password

    Gmail email configuration settings

  12. Windows Services: Overview

  13. When my service fails, I need to restart another service too. How do I do that?

    First, create a batch file that restarts your service. For a service called "myservice", your file may contain the following two lines:

    NET STOP "myservice"
    NET START "myservice"

    Next, instruct Service Protector to run the batch file when your service stops (before it is restarted) on the Extras tab:

    Service Protector Extras Tab - Restart Other Service

  14. Windows Services: Overview

  15. Is there a limit to the number of services that can be protected on a single machine?

    No! You can use Service Protector to protect as many services as you like.

  16. Windows Services: Overview

  17. When purchasing Service Protector, I am asked for the "10-digit serial number (XXXX-XXXXXX) from the registration window". Where do I find that?

    The registration window is the first window that comes up when you run Service Protector without having a license. It will look like this:

    Service Protector Registration Dialog

    From there, click on the Register Now >> button to reveal the 10-digit serial number that you will need to provide when making your purchase:

    Service Protector Registration Dialog - Serial Number

  18. Windows Services: Overview

  19. I recently purchased Service Protector but have not received my registration information. What should I do?

    First, please accept out apologies! We will do our best to get you registered ASAP.

    When you purchase Service Protector from one of our payment partners, we are notified of your purchase shortly after your credit card has passed all the necessary checks (to protect you against fraud). This initial process usually takes a few minutes but can take up to 24 hours if the order must be handled manually.

    Once we receive your order, we will send an email to your address specified in the order within 48 hours, but typically within 2-6 hours. Unfortunately though, our message may occasionally fall victim to agressive SPAM filtering and never make to it to you! Please check your SPAM and Junk folders for messages containing the text "Service Protector".

    If you still have not found your registration email, please feel free to email us (at support@CoreTechnologies.com) or give us a call at (888) 881-CORE/2673 (toll free in the USA) or +1 510 343-3565. Please provide us with an alternate email address if you have one, and a phone number where you can be reached.

  20. Windows Services: Overview

  21. How is Service Protector licensed?

    Service Protector is licensed on a per-machine basis. When you purchase a license, you will send us the unique serial number for your machine and we will respond with the unique registration code that "unlocks" Service Protector for that machine. That registration code will not work on a different machine.

  22. Windows Services: Overview

  23. How much does Service Protector cost?

    Service Protector costs $69.99 USD for use on a single machine. In volumes of 2-9, the cost falls to $59.99 USD (a 14% discount), and additional discounts kick in if you purchase larger quantities.

    Please see the Service Protector purchase page for complete pricing details.

  24. Windows Services: Overview

  25. Is a Volume license available?

    Yes.

    • An Unlimited OEM license is available for companies looking to distribute Service Protector with their own products
    • An Unlimited Site license allows you to use Service Protector on any computer at a single location in your organization
    • An Unlimited Enterprise license enables you to use Service Protector on any computer at any location in your organization

    There is no need for you to track individual licenses/registration codes and send those to us.

  26. Windows Services: Overview

  27. Service Protector says I am not registered even though I am. How can I resolve this?

    If you have gone through the registration process and your code has been accepted, this is probably caused by a lack of rights when accessing the Service Protector registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Core Technologies Consulting\ServiceProtector). Please use the regedit application to check and adjust permissions on that key.

    Using regedit:

    1. Navigate to the key on the left-hand side
    2. Right-click on the key and select "Permissions..." to bring up the permissions window
    3. Add the user(s) with full control if necessary

    Please ensure that all accounts using Service Protector have full access to the above registry key.

  28. Windows Services: Overview

  29. How do I move my registered copy of Service Protector to another computer?

    The registration code that was sent to you will only work on the computer on which you performed the registration process. If you wish to move Service Protector to another computer, please send an email to support@CoreTechnologies.com with:

    1. your order number/details
    2. the Service Protector-generated serial number of the old/original computer (optional)
    3. the Service Protector-generated serial number of the new computer

    We will respond with your new registration code.

  30. Windows Services: Overview

  31. I re-installed Windows and my registration code is no longer accepted. What should I do?

    If your serial number changes, please send an email to support@CoreTechnologies.com with:

    1. the old/original serial number (if available)
    2. the serial number of the new computer
    3. your order number/details

    We will respond with your new registration code.

  32. Windows Services: Overview

  33. I see that you have a new version available. Do I have to pay to upgrade?

    When you purchase Service Protector, your license is valid for any version with the same major version number or the next. For example, if you purchased version 2.0.13.209, you are eligible to use (free of charge) any version 2 or version 3 release, but not a version 4 release.

    As always, those paying to upgrade from a previous version are eligible for a 50% discount.

  34. Windows Services: Overview

  35. How do I upgrade from a previous version?

    We recommend that you upgrade from a previous version of Service Protector in one of two ways:

    1. Uninstall the previous version of Service Protector, then install the new. If you take this approach, any protectors that you have specified in Service Protector will be forgotten and you will have to set them up again in the new version. You may also have to re-enter your registration code.

    2. Install the new version without uninstalling the previous, which will preserve all the protectors that you have configured using Service Protector. If you choose this option, you must ensure that the Microsoft Event Viewer and Services applications are closed prior to installing or else the upgrade may fail. Also, be sure to install in the same directory as the previous installation (by default C:\Program Files\ServiceProtector). You should not have to re-enter your registration code.

  36. Windows Services: Overview

  37. Does Service Protector work with Windows 2000 or Windows NT?

    No, Windows 2000 and NT are not supported.

  38. Windows Services: Overview

  39. Does Service Protector work on Windows Server 2008 R2?

    Absolutely. Many of our customers run Service Protector on Windows Server 2008 R2.

  40. Windows Services: Overview

  41. Does Service Protector work with Windows Server 2012 and Windows 8?

    Yes! Service Protector is working well with both Windows Server 2012 and Windows 8 (all editions, both 64 and 32-bit).

  42. Windows Services: Overview

  43. Does Service Protector run on 64-bit versions of Windows?

    Yes. Service Protector is currently a 32-bit application but it works flawlessly on 64-bit operating systems.

  44. Windows Services: Overview

  45. What is a "Sanity check utility", and why would I use one?

    Service Protector can periodically run your own custom program (a "Sanity check utility") to check if your service has failed and should be restarted. This capability allows you to extend the monitoring capabilities of Service Protector to cover your unique requirements.

    For example, let's say that you use Service Protector to ensure that your web server is always running. Service Protector will restart the web server when it crashes, but Service Protector will not be able to detect more subtle, application-specific failures, such as when the web server has not crashed, but stops serving pages due to some internal error or resource problem. To resolve that second problem, Service Protector allows you to "plug in" your own failure detection program; in this case that program would check on the web server and inform Service Protector if the server has stopped serving pages. Fundamentally, your code is free to define what failure means.

    Please see our Sanity Check Plugins page for additional details.

  46. Windows Services: Overview

  47. My virus scanner tells me that Service Protector contains the [Some Scary Virus]. Help!

    This is a false alarm. Service Protector does not contain any viruses or malware.

    Please contact us with the details and we will work with the makers of your virus protection software to resolve the issue.

  48. Windows Services: Overview

  49. How do I move my Service Protector protection to another machine?

    To export your application's settings to an XML file, highlight your application in Service Protector and select Protector > Export.... You will be prompted to enter the file name in which to save the settings.

    You can later import the XML file (by choosing Protector > Import...) to re-create your protector on any machine with Service Protector installed. Exporting and then importing is a good way to copy settings from one machine to another.

  50. Windows Services: Overview

  51. My question has not been answered here. Can you please help?

    Of course! Please contact us via email or phone or fill in our feedback form and we will get back to you ASAP, within one business day.