{"id":689,"date":"2013-02-24T12:20:15","date_gmt":"2013-02-24T12:20:15","guid":{"rendered":"https:\/\/poiseddevelopers.com\/reality-tech\/?p=689"},"modified":"2024-04-26T12:52:32","modified_gmt":"2024-04-26T12:52:32","slug":"patching-sharepoint-useful-tips","status":"publish","type":"post","link":"https:\/\/poiseddevelopers.com\/reality-tech\/patching-sharepoint-useful-tips\/","title":{"rendered":"Patching SharePoint: Useful Tips"},"content":{"rendered":"<h4>Patching SharePoint<\/h4>\n<p>In patching SharePoint, prior to the August 2012 CU (wow, that\u2019s a long time ago), patches had to be applied sequentially as a matched pair. First Foundation, then Server. As of August 2012 CU, there\u2019s a single patch. If you have SP2010 Server, just apply that one CU. Note the 2012 CUs assume SP1 is already installed.<\/p>\n<p>Note: I would not apply a CU unless the last SharePoint Config Wizard ran successfully. That can be seen in Central Admin under Upgrade\/Patch Status. The one exception is a farm with a known existing problem running a successful Config Wizard session, in which case a CU is a rational approach to solving this, as long as you have a server snapshot and a full DB Server backup (all SharePoint DBs) to roll back to in case the CU doesn\u2019t solve the Config Wizard session issue. The place to start for Config failures is the log. After any Config Wizard run a log is produced. This log provides (too much) detail. The place in the log to look is the first \u201cERROR\u201d text.<\/p>\n<p>Sometimes the Registry on a server gets out of sync with the products in the Farm Config DB. Here\u2019s how to very quickly and safely sync them:<\/p>\n<p>&nbsp;<\/p>\n<pre lang=\"php\">Set-SPFarmConfig - installedproductsrefresh\r\n<\/pre>\n<p>Sometimes the CU will complain that the expected version is not found. You can force this to occur, by telling the CU to bypass the detection of correct software, but do so at your own risk:<\/p>\n<pre lang=\"php\">.glb.exe PACKAGE.BYPASS.DETECTION.CHECK=1<\/pre>\n<p>After applying the CU, a reboot is required. The process tells you as much at the end. However on reboot it doesn\u2019t tell you you need to run the Config Wizard. here\u2019s how:<\/p>\n<p>From command line, you can always trigger a Config Wizard session using:<\/p>\n<div>\n<div id=\"highlighter_918934\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"powershell plain\">psconfig<\/code> <code class=\"powershell color1\">-cmd<\/code> <code class=\"powershell plain\">upgrade<\/code> <code class=\"powershell color1\">-inplace<\/code> <code class=\"powershell plain\">b2b<\/code> <code class=\"powershell color1\">-wait<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>More thorough is this command:<\/p>\n<div>\n<div id=\"highlighter_677139\" class=\"syntaxhighlighter powershell\">\n<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td class=\"gutter\">\n<div class=\"line number1 index0 alt2\">1<\/div>\n<\/td>\n<td class=\"code\">\n<div class=\"container\">\n<div class=\"line number1 index0 alt2\"><code class=\"powershell plain\">psconfig<\/code> <code class=\"powershell color1\">-cmd<\/code> <code class=\"powershell plain\">upgrade<\/code> <code class=\"powershell color1\">-inplace<\/code> <code class=\"powershell plain\">b2b<\/code> <code class=\"powershell color1\">-force<\/code> <code class=\"powershell color1\">-cmd<\/code> <code class=\"powershell plain\">applicationcontent<\/code> <code class=\"powershell color1\">-install<\/code> <code class=\"powershell color1\">-cmd<\/code> <code class=\"powershell plain\">installfeatures<\/code><\/div>\n<\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>August 2012 CU installs clean, but sometimes the bypass detection is needed. Spot testing indicates faster performance in the browswer, and lower RAM utilization when compared against SP1 + June 2011 CU.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Patching SharePoint In patching SharePoint, prior to the August 2012 CU (wow, that\u2019s a long time ago), patches had to be applied sequentially as a matched pair. First Foundation, then Server. As of August 2012 CU, there\u2019s a single patch. If you have SP2010 Server, just apply that one CU. Note the 2012 CUs assume [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":921,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[26],"tags":[],"class_list":["post-689","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-powershell"],"acf":[],"_links":{"self":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/689","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/comments?post=689"}],"version-history":[{"count":5,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/689\/revisions"}],"predecessor-version":[{"id":706,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/689\/revisions\/706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media\/921"}],"wp:attachment":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media?parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/categories?post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/tags?post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}