{"id":11593,"date":"2022-10-14T11:14:05","date_gmt":"2022-10-14T18:14:05","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=11593"},"modified":"2022-11-07T08:06:21","modified_gmt":"2022-11-07T16:06:21","slug":"version-8-5-released","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/service-protector\/version-8-5-released\/","title":{"rendered":"Service Protector 8.5: New Sanity Check, Windows 10\/11 22H2 Compatibility"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" style=\"margin-bottom:20px;\" src=\"\/blog\/images\/new-release-448x250.webp\" title=\"Service Protector 8.5: New Sanity Check, Windows 10, 11 22H2 Compatibility\" alt=\"Service Protector 8.5: New Sanity Check, Windows 10, 11 22H2 Compatibility\" border=\"0\" width=\"448\" height=\"250\"><\/div>\n<p><a href=\"\/products\/ServiceProtector\/\">Service Protector<\/a> 8.5 is now available for download. Here&#8217;s what we worked on in this new version:<\/p>\n<h2 class=\"blog-caption\">Automatically restart your service when an important application isn&#8217;t running<\/h2>\n<p>Does your service depend on an important &#8220;helper&#8221; application? If so, Service Protector can periodically check if the helper application is running and restart your service if the application isn\u2019t active.<\/p>\n<p>For example, suppose you&#8217;re protecting a service that spins off a Java process to perform important image processing. You can now instruct Service Protector to restart your service if no java.exe process is running on your server. In that way, you&#8217;re protected if the supporting java process crashes or stops for any reason.<\/p>\n<p>You can activate the new sanity check from the Monitor tab. Start by checking the <b>Whenever it fails a periodic sanity check<\/b> box:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/service-protector-activate-sanity-check.png\" class=\"zoomPopup\" title=\"Activate the sanity check feature\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/service-protector-activate-sanity-check.png\" title=\"Activate the sanity check feature (click to enlarge)\" alt=\"Activate the sanity check feature\" border=\"0\" \/><\/a><\/div>\n<p>Click the <b>Set<\/b> button to open the <b>Add Sanity Check<\/b> window. From there, select <b>Check that an application is running<\/b> from the list:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/select-check-application-running-sanity-check.png\" class=\"zoomPopup\" title=\"Choose the check application running sanity check\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/select-check-application-running-sanity-check.png\" title=\"Choose the check application running sanity check (click to enlarge)\" alt=\"Choose the check application running sanity check\" border=\"0\" \/><\/a><\/div>\n<p>In the next screen, enter the <b>name of the executable to watch for<\/b>. The name must end in .exe.<\/p>\n<p>For example, to watch for a Java process, enter &#8220;java.exe&#8221;:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/check-java-executable-running.png\" class=\"zoomPopup\" title=\"Check that java.exe is running\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/check-java-executable-running.png\" title=\"Check that java.exe is running (click to enlarge)\" alt=\"Check that java.exe is running\" border=\"0\" \/><\/a><\/div>\n<p>If you don&#8217;t know the name of the application&#8217;s executable file, run the application and find its entry on the <a href=\"\/blog\/windows-services\/essential-tools-task-manager\/\">Task Manager&#8217;s<\/a> Details tab. The name will appear in the first column.<\/p>\n<p>After entering the executable name, continue on to the next pages to specify how often Service Protector should check for the application. When done, save your changes.<\/p>\n<p>And that&#8217;s it! With the sanity check in place, you can rest assured that your helper application&#8217;s &#8220;untimely demise&#8221; will trigger Service Protector to recycle your service.<\/p>\n<h2 class=\"blog-caption\">The &#8220;Check file updated&#8221; sanity check now supports date variables<\/h2>\n<p>We&#8217;ve made several improvements to the sanity check that restarts the service whenever an important file hasn&#8217;t been updated in a while. Most notably, date variables can be used in the name of the file to monitor.<\/p>\n<p>This feature is beneficial when checking a log file that &#8220;rolls over&#8221; each day. Previous releases of Service Protector &mdash; which only supported a fixed file name &mdash; could not handle a dynamic name.<\/p>\n<p>For example, let&#8217;s take the case where your service writes to a new log file each day. The file name contains the date, in the format &#8220;myserver-DD-MM-YYYY.log&#8221;.<\/p>\n<p>To monitor that log file with the sanity check, you would specify the file name as <span class=\"break-long-words\"><b>myserver-$DAY2$-$MONTH2%-$YEAR4$.log<\/b><\/span>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/file-updated-sanity-check-with-variables.png\" class=\"zoomPopup\" title=\"Using variables in the file update sanity check\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/file-updated-sanity-check-with-variables.png\" title=\"Using variables in the file update sanity check (click to enlarge)\" alt=\"Using variables in the file update sanity check\" border=\"0\" \/><\/a><\/div>\n<p>And with that in place, when running your service on October 14 2022, Service Protector would check for a file named &#8220;myserver-14-10-2022.log&#8221;.<\/p>\n<h2 class=\"blog-caption\">Service Protector is fully compatible with Windows 10 &amp; 11 22H2<\/h2>\n<div align=\"center\"><a href=\"\/blog\/images\/windows-11-22h2.png\" class=\"zoomPopup\" title=\"Service Protector is compatible with Windows 11 22H2\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/windows-11-22h2.png\" title=\"Service Protector is compatible with Windows 11 22H2 (click to enlarge)\" alt=\"Service Protector is compatible with Windows 11 22H2\" border=\"0\" \/><\/a><\/div>\n<p>As usual, Microsoft continues to roll out twice-yearly updates to its Windows operating systems.<\/p>\n<p><a href=\"https:\/\/en.wikipedia.org\/wiki\/Windows_10_version_history#Version_22H2\" target=\"_blank\" rel=\"noopener\">Windows 10 22H2<\/a> will be released to the public in a few days. However, as a member of the <a href=\"https:\/\/insider.windows.com\/en-us\/for-developers\" target=\"_blank\" rel=\"noopener\">Windows Insider program<\/a>, we&#8217;ve been playing with that new version since August.<\/p>\n<p>Similarly, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Windows_11_version_history#Version_22H2_(2022_Update)\" target=\"_blank\" rel=\"noopener\">Windows 11 22H2<\/a> started rolling out to customers in September. And like Windows 10 22H2, we&#8217;ve been evaluating it for over a month now.<\/p>\n<p>Our assessment? Service Protector continues to work flawlessly with both operating systems. In some sense, that is to be expected as Microsoft has left the Windows Services layer untouched.<\/p>\n<h2 class=\"blog-caption\">Other fixes &amp; improvements<\/b><\/h2>\n<ul>\n<li>\n<p><b>Fixed a crash when testing a custom sanity check:<\/b> Thanks to Jacques Dagousset for reporting the problem, which would occur in rare circumstances.<\/p>\n<\/li>\n<li>\n<p><b>Reduced CPU load when scanning for crash dialogs:<\/b> With recent changes, Service Protector is significantly more efficient when scanning for dialogs that indicate that your service has crashed.<\/p>\n<\/li>\n<li>\n<p><b>Improved logging when running a sanity check:<\/b> Extra messages provide insight when testing a sanity check (and when debugging subtle problems).<\/p>\n<\/li>\n<\/ul>\n<p style=\"padding-top:10px\">\nAs usual, please review the <a href=\"\/products\/ServiceProtector\/VersionHistory.html\">release notes<\/a> for the full list of features, fixes and improvements included in Service Protector version 8.5.\n<\/p>\n<h2 class=\"blog-caption\">Upgrading to Service Protector 8.5<\/h2>\n<p>If you purchased <b>Service Protector version 7 (after January 2021), you can upgrade to version 8.5 for free<\/b>. Simply download and install over your existing installation to preserve your existing services and all settings. For instance, your registration code will continue to work.<\/p>\n<p>If you bought <b>Service Protector version 6 or earlier (before January 2021), you will need to upgrade to use version 8.5<\/b>. Please <a href=\"\/products\/ServiceProtector\/#buy-upgrade\">buy upgrades here &mdash; at a 50% discount<\/a>.<\/p>\n<p>See the complete <a href=\"\/products\/ServiceProtector\/FAQ.html#Upgrade\">upgrade policy<\/a> for more details.<\/p>\n<p style=\"padding-top:10px\">Enjoy!<\/a><\/p>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/myfolders\/restore-windows-11-context-menu\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: How do I (Easily) Access MyFolders in Windows 11?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-11-logo-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: How do I (Easily) Access MyFolders in Windows 11?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/service-protector\/version-8-released\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Service Protector 8 Maximizes Service Uptime with Advanced Sanity Checks\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/whats-new-3-150x150-1.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Service Protector 8 Maximizes Service Uptime with Advanced Sanity Checks<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/service-protector\/version-6-released\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Bulletproof your Windows Services with Service Protector Version 6\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/software-update-150-150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Bulletproof your Windows Services with Service Protector Version 6<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>Service Protector 8.5 is now available for download. Here&#8217;s what we worked on in this new version: Automatically restart your service when an important application isn&#8217;t running Does your service depend on an important &#8220;helper&#8221; application? If so, Service Protector &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/service-protector\/version-8-5-released\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":11601,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[109,138,147,184,261],"class_list":["post-11593","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-service-protector","tag-new-release","tag-sanity-check","tag-service-protector-tag","tag-windows-10","tag-windows-11"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=11593"}],"version-history":[{"count":17,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11593\/revisions"}],"predecessor-version":[{"id":11653,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11593\/revisions\/11653"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/11601"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=11593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=11593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=11593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}