{"id":113,"date":"2011-11-08T07:04:31","date_gmt":"2011-11-08T06:04:31","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=113"},"modified":"2011-11-08T07:04:31","modified_gmt":"2011-11-08T06:04:31","slug":"sccm-2012-automatic-deployment-rules","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=113","title":{"rendered":"SCCM 2012 &#8211; Automatic Deployment Rules"},"content":{"rendered":"<p>For how long we was waiting for this feature? \ud83d\ude42<br \/>\nFirst, let&#8217;s take a look back: In SCCM 2007 we had the choice between make Deployments over and over again, or to use the WSUS Console and make an Automatic Approval. In SCCM 2012 there&#8217;s no need to use the WSUS Console, when you want to deploy Updates automatically, and the best: You&#8217;ve got control over the Updates, because everthing is handled within SCCM.<\/p>\n<p><!--more--><\/p>\n<p>Now enough of words, take a look:<\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-114 aligncenter\" title=\"1\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/1.png?w=274\" alt=\"How to find\" width=\"274\" height=\"300\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/1.png 508w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/1-275x300.png 275w\" sizes=\"auto, (max-width: 274px) 100vw, 274px\" \/><\/a><\/p>\n<p>In the wunderbar (I will only poke once on this: @Microsoft o.O) under the Software Library you will find the tree Software Updates, which gives you access to the Automatic Deployment Rules. Let us make an example, and create a rule for the Exchange Anti-Spam Update, because the rule for Endpoint Protection is already done.<\/p>\n<p>When you choose to create a rule, you will be asked for a name of the rule. I chosen a template for creating the rule, so the targeted collection is already filled out. If you chose to &#8220;Create a new Software Update Group&#8221; every time the rule deploy updates, the update group name will contain the name of the rule and the date and time when the rule was applied. The checkbox &#8220;Enable the deployment after this rule is run&#8221; should be activated.<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-115\" title=\"2\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/2.png?w=300\" alt=\"Creating the rule\" width=\"300\" height=\"246\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/2.png 886w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/2-300x246.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/2-768x630.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The next screen presents normal settings, just click &#8220;Next&#8221;.<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-116\" title=\"3\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/3.png?w=300\" alt=\"\" width=\"300\" height=\"246\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/3.png 882w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/3-300x247.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/3-768x631.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>In the following screen you have to decide which type of updates should automatically be deployed. It&#8217;s a good idea to set a &#8220;Date released or Revised&#8221; Date, this will not deploy all updates ever published, when the rule runs for the first time.<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-117\" title=\"4\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/4.png?w=300\" alt=\"\" width=\"300\" height=\"245\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/4.png 883w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/4-300x246.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/4-768x630.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>If you don&#8217;t enable the rule to run on a schedule, you have to execute the rule manually. The threshold of running the rule should be lower than running the synchronisation. As you might recognize, with these settings, it is possible, that some Updates will be deploymed more than once. This is true, but not a problem, the rule will check, if an updates is already deployed for the collection, and will just skip it.<a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-118 aligncenter\" title=\"5\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/5.png?w=300\" alt=\"\" width=\"300\" height=\"244\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/5.png 886w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/5-300x244.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/5-768x626.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Next screen is simple, I want to install the Update as soon as possible and with no deadline.<\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-119 aligncenter\" title=\"6\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/6.png?w=300\" alt=\"\" width=\"300\" height=\"245\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/6.png 886w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/6-300x245.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/6-768x628.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>This next screen is important, because it defines how the update is deployed. In my environment, i haven&#8217;t any maintenance windows, so I didn&#8217;t need to use the checkboxes. But even the updates should only be defintion updates, I want to suppress restarts on servers.<\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-120\" title=\"7\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/7.png?w=300\" alt=\"\" width=\"300\" height=\"245\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/7.png 886w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/7-300x245.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/7-768x628.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Want to get alerted if the compliance is below a defined percentage? Well, just configure it here:<\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-121\" title=\"8\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/8.png?w=300\" alt=\"\" width=\"300\" height=\"245\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/8.png 886w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/8-300x246.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/8-768x629.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The Donwload Setting screen is not that interesting, so I will not show it. The screen &#8220;Deployment Package&#8221; is also not new. Pay attention, that when you chose to create a new package, the rule will create the update deployment package once, and when the rule has to deploy new updates, it uses the same package.<\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-122\" title=\"9\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/9.png?w=300\" alt=\"\" width=\"300\" height=\"245\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/9.png 887w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/9-300x246.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/9-768x629.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The rest of the wizard is &#8220;Next&#8221;, &#8220;Next&#8221; and again &#8220;Next&#8221; \ud83d\ude09<\/p>\n<p>The rule is created, and it waits now for the first execution, which will processed at the configured schedule, or manually by a click on &#8220;Run Now&#8221;.<\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-123 aligncenter\" title=\"10\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2011\/11\/10.png?w=300\" alt=\"\" width=\"300\" height=\"135\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/10.png 1174w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/10-300x136.png 300w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/10-1024x463.png 1024w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2011\/11\/10-768x347.png 768w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>And if everthing went fine, you will see, that the update is deployed. If the status of the update is not going to &#8220;Yes&#8221; in the row &#8220;Deployed&#8221;, check the Automatic Deployment Rules Logfile. The logfile is named &#8220;ruleengine.log&#8221;, and you will find it in the following directory: [SCCMInstallationPath]Logsruleengine.log<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For how long we was waiting for this feature? \ud83d\ude42 First, let&#8217;s take a look back: In SCCM 2007 we had the choice between make Deployments over and over again, or to use the WSUS Console and make an Automatic Approval. In SCCM 2012 there&#8217;s no need to use the WSUS Console, when you want [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-updates-management"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}