{"id":99875,"date":"2018-10-02T07:00:00","date_gmt":"2018-10-02T21:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/?p=99875"},"modified":"2019-03-13T00:21:26","modified_gmt":"2019-03-13T07:21:26","slug":"20181002-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20181002-00\/?p=99875","title":{"rendered":"All sorts of bad things happen when we disable the Task Scheduler service, is that bad?"},"content":{"rendered":"<p>A customer disabled the Task Scheduler service by applying group policy to set Task Scheduler&#8217;s startup mode to <i>Off<\/i>. When they did that, they found that a lot of stuff stopped working. For example, the Start menu would hang for several minutes. Search stopped working. &#8220;Any idea what tasks could be causing the issue?&#8221; <\/p>\n<p>The customer liaison added &#8220;Obviously this is a bad idea, but I couldn&#8217;t find any official statement to that effect.&#8221; <\/p>\n<p>Aha, the customer is looking for documentation that  <a HREF=\"https:\/\/technet.microsoft.com\/en-us\/library\/jj643252.aspx\">explicitly states that a bad idea is a bad idea<\/a>, presumably because they want to shift the blame for their bad idea to Microsoft. <\/p>\n<p>We responded that a bad idea is a bad idea, even if it&#8217;s not written down anywhere. <\/p>\n<p>In the meantime, the customer liaison was able to find official documentation that confirmed that a bad idea is a bad idea! <\/p>\n<p><a HREF=\"https:\/\/docs.microsoft.com\/en-us\/windows-server\/security\/windows-services\/security-guidelines-for-disabling-system-services-in-windows-server\">Guidance on disabling system services on Windows Server 2016 with Desktop Experience<\/a> lists a bunch of services and what Microsoft has to say about disabling that service. <\/p>\n<blockquote CLASS=\"q\">\n<div STYLE=\"font-size: 200%\">Task Scheduler<\/div>\n<table CLASS=\"cp3\" CELLPADDING=\"3\" BORDER=\"1\" STYLE=\"border-collapse: collapse\">\n<tr>\n<th ALIGN=\"left\">Service description<\/th>\n<td>Enables a user to configure and schedule automated tasks     on this computer.     <u>The service also hosts multiple Windows system-critical tasks<\/u>.     If this service is stopped or disabled,     these tasks will not be run at their scheduled times.     If this service is disabled,     any services that explicitly depend on it will fail to start.     <\/td>\n<\/tr>\n<tr>\n<th ALIGN=\"left\">Service name<\/th>\n<td>Schedule<\/td>\n<\/tr>\n<tr>\n<th ALIGN=\"left\">Installation<\/th>\n<td>Always installed<\/td>\n<\/tr>\n<tr>\n<th ALIGN=\"left\">StartType<\/th>\n<td>Automatic<\/td>\n<\/tr>\n<tr>\n<th ALIGN=\"left\">Recommendation<\/th>\n<td><u>No guidance<\/u><\/td>\n<\/tr>\n<\/table>\n<p>Each service on the system is categorized as follows: <\/p>\n<ul>\n<li><b>Should Disable<\/b>:     A security-focused enterprise will most likely     prefer to disable this service and forego its functionality     (see additional details below).<\/li>\n<li><b>OK to Disable<\/b>:     This service provides functionality     that is useful to some but not all enterprises,     and security-focused enterprises that don&#8217;t use it     can safely disable it.<\/li>\n<li><b>Do Not Disable<\/b>:     Disabling this service will impact essential functionality     or prevent specific roles or features from functioning correctly.     Therefore it should not be disabled.<\/li>\n<li><b>(No guidance)<\/b>:     The impact of disabling these services has not been fully evaluated.     Therefore, the default configuration of these services     <u>should not be changed<\/u>.<\/li>\n<\/ul>\n<\/blockquote>\n<p>(Emphasis mine.) <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, it sure doesn&#8217;t sound good.<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-99875","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Well, it sure doesn&#8217;t sound good.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/99875","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=99875"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/99875\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=99875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=99875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=99875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}