{"id":11,"date":"2009-08-04T10:18:42","date_gmt":"2009-08-04T09:18:42","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/webteam\/?p=11"},"modified":"2009-08-04T10:18:42","modified_gmt":"2009-08-04T09:18:42","slug":"changing-user-agent-in-microsoft-search-server-2008","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/webteam\/2009\/08\/04\/changing-user-agent-in-microsoft-search-server-2008\/","title":{"rendered":"Changing user agent in Microsoft Search Server 2008"},"content":{"rendered":"<p>As part of evaluating <a href=\"http:\/\/www.microsoft.com\/enterprisesearch\/\">Microsoft Search Server 2008<\/a> as an intranet search tool, I wanted to modify its crawler&#8217;s <a href=\"http:\/\/en.wikipedia.org\/wiki\/User_agent\">user agent<\/a> string in order to trivially monitor it in our web logs.<\/p>\n<p>I couldn&#8217;t find any documentation on this, but eventually came across a registry entry which controls it:<\/p>\n<p><code>Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office Server\\12.0\\Search\\Global\\Gathering Manager\\UserAgent<\/code><\/p>\n<p>Modifying this (using Start-&gt;run-&gt;regedit), and restarting the search service (Start-&gt;Administrative Tools-&gt;Services-&gt;Office SharePoint Server Search) then resulted in the crawler using the text I&#8217;d entered as its user agent.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As part of evaluating Microsoft Search Server 2008 as an intranet search tool, I wanted to modify its crawler&#8217;s user agent string in order to trivially monitor it in our web logs. I couldn&#8217;t find any documentation on this, but eventually came across a registry entry which controls it: Computer\\HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Office Server\\12.0\\Search\\Global\\Gathering Manager\\UserAgent Modifying this (using [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[74],"tags":[77,78,76,79],"class_list":["post-11","post","type-post","status-publish","format-standard","hentry","category-tips","tag-microsoft-search-server","tag-registry","tag-search","tag-windows"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":5,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":16,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/11\/revisions\/16"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}