{"id":3400,"date":"2017-10-16T10:53:25","date_gmt":"2017-10-16T17:53:25","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=3400"},"modified":"2017-10-16T10:53:25","modified_gmt":"2017-10-16T17:53:25","slug":"prevent-interactive-services-detection","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/prevent-interactive-services-detection\/","title":{"rendered":"How do I Prevent the Interactive Services Detection Window from Constantly Coming Up?"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/interactive-services-detection-dialog.png\" width=\"462\" height=\"292\" title=\"Interactive Services Detection Dialog\" alt=\"Interactive Services Detection Dialog\" border=\"0\" ><\/div>\n<p><h2><b>Why do I see the &#8220;Interactive Services Detection&#8221; window?<\/b><\/h2>\n<p>\nThe Interactive Services Detection (ISD) window appears whenever a <a href=\"\/WindowsServices\/FAQ.html#WhatIsAWindowsService\">Windows Service<\/a> running on your computer is showing a window or prompt in <a href=\"\/WindowsServices\/FAQ.html#WhatIsSession0Isolation\">Session 0<\/a> &#8212; a &#8220;background desktop&#8221; created when your computer boots. The ISD window allows you to switch to Session 0 where you can see the window and take action.\n<\/p>\n<p>\nThe next section explains the situation in greater detail; read on to find out more. You can also <a href=\"#solutions\">skip directly to the 3 solutions<\/a> if you are short on time and just want to get rid of the dreaded ISD window. \ud83d\ude42\n<\/p>\n<h2><b>History\/Background<\/b><\/h2>\n<p>\nWindow services run in Session 0. On legacy versions of Windows (NT, XP and 2003), the first person to log into the PC was placed in Session 0 &#8212; where all the windows, alerts, tray icons and other user interface elements created by services were visible. Thus a service could easily interact with that first user.\n<\/p>\n<p>\nBut Microsoft changed the playing field in Windows Vista (circa 2007). Citing <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/dn653293(v=vs.85).aspx\" target=\"_blank\" rel=\"noopener noreferrer\">security concerns<\/a>, Session 0 was isolated and logging in to Session 0 was strictly forbidden. Suddenly it was impossible for a Windows Service running in Session 0 to interact with users, who were strictly working in Session 1, 2, etc. This behavior holds true for Windows 7, 8, 10 and Server 2008, 2012 and 2016.\n<\/p>\n<p>\nHowever isolating Session 0 introduced a problem. Services that show a window &#8212; requiring someone to click a button or enter a password to proceed &#8212; were suddenly rendered &#8220;invisible&#8221;. <b>How do you know that a windows service application needs your input when you can&#8217;t see it?<\/b>\n<\/p>\n<p>\nThe <b>Interactive Services Detection windows service<\/b> was introduced to address the invisibility problem. Whenever a window is showing in Session 0, the service will summon the ISD window to warn you and allow you to switch to Session 0.\n<\/p>\n<h2><b>Working with the Interactive Services Detection window<\/b><\/h2>\n<p>The ISD starts out by flashing on the taskbar:<\/p>\n<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/isdd-icon-flashing.gif\" width=\"48\" height=\"40\" title=\"Interactive Services Detection Dialog icon flashing\" alt=\"Interactive Services Detection Dialog icon flashing\" border=\"0\" ><\/div>\n<\/p>\n<p>\nIt you activate the window and click <b>Show program details<\/b>, the bottom of the window expands to reveal information on the program trying to get your attention. Here we see that it is the standard Notepad application running in Session 0 (launched as a windows service by AlwaysUp):<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/interactive-services-detection-show-details.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Interactive Services Detection: Show Details\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/interactive-services-detection-show-details.png\" width=\"462\" height=\"432\" title=\"Interactive Services Detection: Show Details (click to enlarge)\" alt=\"Interactive Services Detection: Show Details\" border=\"0\"><\/a><\/div>\n<\/p>\n<p>\nClicking <b>View the message<\/b> will transport you to the austere Session 0 desktop where you will see the window that may be trying to get your attention:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/session-0-desktop-notepad-running.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Session 0 - Notepad Running\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/session-0-desktop-notepad-running.png\" title=\"Session 0 - Notepad Running (click to enlarge)\" alt=\"Session 0 - Notepad Running\" border=\"0\" width=\"520\"><\/a><\/div>\n<\/p>\n<p>\nClicking <b>Ask me later<\/b> will dismiss the ISD window but only for 5-10 minutes. Read on and learn three ways to dispatch the window permanently!\n<\/p>\n<p><a name=\"solutions\"><\/a><\/p>\n<h2><b>Solution #1: Tell AlwaysUp to hide your application&#8217;s windows<\/b><\/h2>\n<p>\nIf you never need to see your program&#8217;s windows, then you should have AlwaysUp suppress the windows and avoid triggering the ISD system. Simply edit your application in AlwaysUp and check the <b>When a user logs on, don&#8217;t show the application&#8217;s windows and tray icon (if any)<\/b> box on the <b>Logon<\/b> tab:\n<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwaysup-hide-app-gui-elements.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Hide App GUI Elements in AlwaysUp\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/alwaysup-hide-app-gui-elements.png\" width=\"411\" height=\"592\" title=\"Hide App GUI Elements in AlwaysUp (click to enlarge)\" alt=\"Hide App GUI Elements in AlwaysUp\" border=\"0\" ><\/a><\/div>\n<p>\n<b>Tip:<\/b> This is the best option for legacy applications, scripts and batch files which occasionally throw up command\/status windows. You can always capture console output to a log file if necessary (via controls on the <b>Extras<\/b> tab).\n<\/p>\n<h2><b>Solution #2: Disable the Interactive Services Detection Service<\/b><\/h2>\n<p>If you never want to see Session 0, then your best option is to do away with interactive services detection altogether. To prevent the service from starting:<\/p>\n<ol>\n<li>\n<p>Open the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-msc\/\" target=\"_blank\" rel=\"noopener noreferrer\">Services Control Panel Application<\/a> (services.msc)<\/p>\n<\/li>\n<li>\n<p>Find the Interactive Services Detection service; double-click it to open its properties<\/p>\n<\/li>\n<li>\n<p>Set the <b>Startup type<\/b> value to <b>Disabled<\/b><\/p>\n<\/li>\n<li>\n<p>Click <b>OK<\/b> to save your changes.<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/disable-isd-service.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Disable the Interactive Services Detection Service\" target=\"_blank\"><br \/>\n<img decoding=\"async\" src=\"\/blog\/images\/disable-isd-service.png\" title=\"Disable the Interactive Services Detection Service (click to enlarge)\" alt=\"Disable the Interactive Services Detection Service\" border=\"0\" width=\"520\" ><\/a><\/div>\n<\/li>\n<\/ol>\n<p>\n<b>Tip:<\/b> AlwaysUp will NOT be able to switch to session 0 when the ISD is disabled. Our free <a href=\"\/products\/SwitchToSession0\/\">Switch to Session 0<\/a> utility will not work either.\n<\/p>\n<h2><b>Solution #3: Set the Interactive Services Detection Service to start manually<\/b><\/h2>\n<p>If you occasionally inspect Session 0, disabling it will be inconvenient. Instead, set the ISD service to start manually and launch it whenever you want to see Session 0:\n<\/p>\n<ol>\n<li>\n<p>Open the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-msc\/\" target=\"_blank\" rel=\"noopener noreferrer\">Services Control Panel Application<\/a> (services.msc)<\/p>\n<\/li>\n<li>\n<p>Find the Interactive Services Detection service; double-click it to open its properties<\/p>\n<\/li>\n<li>\n<p>Set the <b>Startup type<\/b> value to <b>Manual<\/b><\/p>\n<\/li>\n<li>\n<p>Click <b>OK<\/b> to save your changes.<\/p>\n<div align=\"left\"><a href=\"\/blog\/images\/set-isd-service-manual.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Set the Interactive Services Detection Service to Manual\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/set-isd-service-manual.png\" width=\"406\" height=\"468\" title=\"Set the Interactive Services Detection Service to Manual (click to enlarge)\" alt=\"Set the Interactive Services Detection Service to Manual\" border=\"0\" ><\/a><\/div>\n<\/li>\n<\/ol>\n<p>\n<b>Tip:<\/b> You will be able to switch to Session 0 from AlwaysUp as normal. AlwaysUp will start the ISD service whenever you switch and will stop the service when you return to your normal desktop.\n<\/p>\n<p><\/p>\n<p>\nHopefully one of these three methods works well for your situation. If not, please <a href=\"\/support\">get in touch<\/a> and we&#8217;ll do our best to help!<\/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\/windows-services\/windows-service-vs-web-service\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: What&#039;s the difference between a Windows Service and a Web Service?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-service-vs-web-service-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: What&#039;s the difference between a Windows Service and a Web Service?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/lanmanserver\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Essential Windows Services: LanmanServer \/ Server\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/server-service-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\">Essential Windows Services: LanmanServer \/ Server<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/miscellaneous\/artwork-from-our-web-site\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Artwork from our Web Site\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/alwaysup-boxshot-150x150.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\">Artwork from our Web Site<\/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>Why do I see the &#8220;Interactive Services Detection&#8221; window? The Interactive Services Detection (ISD) window appears whenever a Windows Service running on your computer is showing a window or prompt in Session 0 &#8212; a &#8220;background desktop&#8221; created when your &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/prevent-interactive-services-detection\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3450,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,91,93,127,153,171,196],"class_list":["post-3400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-interactive-services","tag-isds","tag-qa","tag-session-0-isolation","tag-ui0detect","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3400","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=3400"}],"version-history":[{"count":0,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/3400\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/3450"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=3400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=3400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=3400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}