{"id":5167,"date":"2015-08-22T14:40:25","date_gmt":"2015-08-22T06:40:25","guid":{"rendered":"http:\/\/rmohan.com\/?p=5167"},"modified":"2015-08-22T14:59:20","modified_gmt":"2015-08-22T06:59:20","slug":"howto-enable-automatic-updates-in-windows-2008-server-core","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5167","title":{"rendered":"Howto: Enable Automatic Updates in Windows 2008 Server Core"},"content":{"rendered":"<p>Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\\Windows\\System32 to configure Automatic Updates behavior.<\/p>\n<p>To view the current Automatic Updates settings, from the command prompt type:<\/p>\n<p><i>c:\\windows\\system32\\scregedit.wsf \/AU \/v<\/i><\/p>\n<p>The following values correspond to the response generated by the scregedit.wsf script.<\/p>\n<p><i>1<\/i> = Automatic Updates Disabled<\/p>\n<p><i>4<\/i> = Automatic Updates Enabled<\/p>\n<p>To enable Automatic Updates, from the command prompt type:<\/p>\n<p><i>c:\\windows\\system32\\scregedit.wsf \/AU 4<\/i><\/p>\n<p>To disable Automatic Updates, from the command prompt type:<\/p>\n<p><i>c:\\windows\\system32\\scregedit.wsf \/AU 1<\/i><\/p>\n<p><b>Note<\/b>:<\/p>\n<p>I\u2019ve seen all over the Internet people posting that the syntax to enable AU is:<\/p>\n<p><i><span style=\"text-decoration: line-through;\">Cscript c:\\windows\\system32\\ scregedit.wsf \/au \/4<\/span><\/i><\/p>\n<p>I can tell you for sure using the syntax on the line above will generate the following error:<\/p>\n<p><i>\u201cParameter 1 : Parameter type mismatch expected DWord.\u201d<\/i><\/p>\n<p>Make sure there is no leading slash before the numbers 1 or 4. There is a slash before the letter <i>v<\/i> when viewing current AU settings.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 2008 Server Core uses the SCregEdit.wsf script found in C:\\Windows\\System32 to configure Automatic Updates behavior.<\/p>\n<p>To view the current Automatic Updates settings, from the command prompt type:<\/p>\n<p>c:\\windows\\system32\\scregedit.wsf \/AU \/v<\/p>\n<p>The following values correspond to the response generated by the scregedit.wsf script.<\/p>\n<p>1 = Automatic Updates Disabled<\/p>\n<p>4 = Automatic Updates Enabled<\/p>\n<p>To enable [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5167"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5167"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5167\/revisions"}],"predecessor-version":[{"id":5168,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5167\/revisions\/5168"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}