<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="www.w3.org/2005/Atom" xmlns:sy="purl.org/rss/1.0/modules/syndication/" xmlns:dc="purl.org/dc/elements/1.1/" xmlns:content="purl.org/rss/1.0/modules/content/" xmlns:wfw="wellformedweb.org/CommentAPI/" xmlns:slash="purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>DrRez: Microsoft Lync Server Technical Reference Hub</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/drrez/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/drrez/feed.xml</link>
    <description>Brought to you by the Microsoft Lync Server Resource Kit team</description>
    <lastBuildDate>Tue, 16 Apr 2019 06:03:39 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>DrRez Blog Bids Farewell</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/drrez-blog-bids-farewell</link>
      <pubDate>Wed, 27 Mar 2013 19:00:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2013/03/27/drrez-blog-bids-farewell/</guid>
      <description><![CDATA[The DrRez blog, community channel for the Microsoft Lync Server 2010 Resource Kit and Lync Server...]]></description>
      <content:encoded><![CDATA[<p><em>The DrRez blog, community channel for the <a href="https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=22644">Microsoft Lync Server 2010 Resource Kit</a> and Lync Server 2010 technical reference articles is retiring. All articles currently posted to the DrRez blog will migrate to <a title="NextHop" href="blogs.technet.com/b/nexthop/">NextHop</a> in April 2013. Lync Server 2013 technical reference content will be available later this spring in the <a href="https://technet.microsoft.com/en-us/library/gg398616.aspx">Lync Server 2013 Technical Library</a>.</em></p>
<p><em>Note, however, that <a title="DrRez on Facebook" href="https://www.facebook.com/pages/DrRez-Microsoft-Lync-Team/186325747060?ref=hl">DrRez on Facebook</a> and <a title="DrRez on Twitter" href="https://twitter.com/drrez">DrRez on Twitter</a> will still be there for you&mdash;as the continuing voice for the NextHop Community on those channels.</em></p>
<p><strong>Author</strong>: Susan S. Bradley, Microsoft Senior Content Project Manager</p>
<p><strong>Publication date</strong>: March 27, 2013<strong></strong></p>
<p><strong>Product version</strong>: Lync Server 2010</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/6558.DrRez%20Header.png" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/6558.DrRez-Header.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/6558.DrRez%20Header.png" original-url="blogs.technet.com/resized-image.ashx/__size/650x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/6558.DrRez-Header.png" alt="" border="0" /></a>&nbsp;</p>
<p>It is with some sadness that we are announcing the retirement of the DrRez blog, which launched in June 2010 for the primary purpose of showcasing the <em><a href="https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=22644" target="_blank">Microsoft Lync Server 2010 Resource Kit</a></em> and the secondary purpose of creating a community channel for a continuing stream of Lync Server technical reference articles.</p>
<p>All articles currently posted to the DrRez blog will migrate to <a title="NextHop" href="blogs.technet.com/b/nexthop/">NextHop</a> in April 2013. Lync Server 2013 technical reference content will be available later this spring in the <em><a href="https://technet.microsoft.com/en-us/library/gg398616.aspx" target="_blank">Lync Server 2013 Technical Library</a></em>.</p>
<p>In closing this chapter of our community content strategy, we are proud to say that as of February 2013, the DrRez blog ranks in the top 4% of all Microsoft TechNet blogs and has garnered nearly 500,000 page views since its launch.</p>
<p>In addition, downloads of Resource Kit chapters reached 250,000 in February 2013, well exceeding sales of previous versions of the print book. Our strategy to make the Lync Server Resource Kit available to customers at no cost was clearly the right approach.</p>
<p>We can&rsquo;t say goodbye without thanking the cast of dedicated writers, technical reviewers, and editors that made the DrRez blog a trusted channel of Lync deep-dive, technical reference content. Without these folks, our dream to create and sustain this important channel could not have become a reality:</p>
<p>Andreas Strebel, Andrew Sniderman, Bernd Ott, Brandon Bernier, Brandon Taylor, Brian R. Ricks, Byron Spurlock, Chris Norman, Cindy Kwan, Curtis Johnstone, Dhigha Sekaran, Dustin Hannifin, Faruk Celik, Francois Doremieux, Fr&eacute;d&eacute;ric Dubut, Geoff Clark, Hong Sodoma, Indranil Dutta, Janet Lowen, Jared Gradle, Jeff Schertz, Jerome Bernier, Jim Bradley, John Johnson, Kangmo Kim, Keith Hanna, Kelly Fuller Blue, Kent Tilger, Kurt De Ding, Lei Hua, Michele Martin, Mike Adkins, Mike Sneeringer, Mike Wood, Mitch Duncan, Namendra Kumar, Okan Gurer, Paul Adams, Philipp Beck, Rahul Indurkar, Riccardo Trocca, Rick Kingslan, Rick Varvel, Rob Pittfield, Roy Kuntz, Rui Maximo, Sam Gantner, Sankaran Narayanan, Sasa Juratovic, Scott Stubberfield, Seth Paul, St&eacute;phane Cavin, Subbu Chandrasekaran, Susan S. Bradley, Taimoor Husain, Tarang Mittal, Thomas Binder, Tommy Larsson, Tonino Filipovic, Tracy Zheng, Vassili Kaplan,<strong> </strong>Wajih Yahyaoui, and Wayne Filin-Matthews.</p>
<p>And because the DrRez blog began as a vehicle for the delivery of the <em><a href="https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;id=22644" target="_blank">Microsoft Lync Server 2010 Resource Kit</a>,</em> we also want to acknowledge the tremendous effort of the writers, technical reviewers, and editors who created the Resource Kit:</p>
<p>Abdul Waraich, Ahmet Gyger, Ajay Chitturi, Ajit Kalele, Alex Hehmeyer, Alexandra Lise, Amey Parandekar, Antti Kiviniemi, Arish Alreja, Benjamin Chau, Bernd Ott, Brandon Bernier, Brandon Taylor, Brian R. Ricks, Byron Spurlock, Cameron Parker, Chris Eagan, Cindy Kwan, Conal Walsh, Dave Grob, Hong Sodoma, Dave Howe, Dustin Hannifin, Duy Tran, Edwin Young, Fr&eacute;d&eacute;ric Dubut, Gang Peng, Gennady Kostinsky, Geoff Clark, Greg Anthony, Hao Yan, Humayun Khan, Indranil Dutta, Jamie Stark, Jared Gradle, Jason Bubolz, Jeffery Reed, Jens Trier Rasmussen, Jerome Berniere, Jim Bradley, Joe Schaeffer, Josh Marshak, Kam Toor, Kate Gleeson, Katrina Purcell, Kaushal Mehta, Keith Hanna, Kelly Fuller Blue, Ken Araujo, Kent Tilger, Kurt De Ding, Lei Hua, Lekshmi Menon, Ling Cao, Mahendra Sekaran, Mark Stafford, Marta Luis Burguete, Mei Lu, Michele Martin, Mike Sneeringer, Moustafa Noureddine, Neil Deason, Nick Smith, Oscar Antezana Chavez, Patrick Kelley, Paul Adams, Paul Brombley, Phillip Beck, Prasad Thota, Premal Gandhi, Radu Constantinescu, Ramesh Narayanan, Randy Wintle, Rick Kingslan. Rob Pittfield, Rob Young, Robbie Bikdash, Roy Kuntz, Rui Maximo, Sam Gantner, Samantha Woogerd, Satya Kondepudi, Seth Paul, Stefan Plizga, Stephane Cavin, Thomas Laciano, Stephen Wong, Steve Wood, Steven van Houttum, Stuart Birkett, Subbu Chandrasekaran, Susan S. Bradley, Taimoor Husain, Tarang Mittal, Thomas Lee, Tin Fan, Tom Laciano, Tony Bell, Tracy Zheng, Vassili Kaplan, Venkat Addanki, Vincent Valdez, Wei Zhong, Weiming Shen, William Looney, Xu Liu, and Yong Zhang.</p>
<p>Please join me in extending a big THANK YOU to all these great folks in the Comments below. We hope you have benefited from the information presented on the DrRez blog and look forward to connecting with you on <a title="NextHop" href="blogs.technet.com/b/nexthop/">NextHop</a>.</p>]]></content:encoded>
    </item>
    <item>
      <title>Update: Microsoft Lync Server 2010 Protocol Workloads Poster</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/update-microsoft-lync-server-2010-protocol-workloads-poster</link>
      <pubDate>Wed, 06 Jun 2012 08:30:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2012/06/06/update-microsoft-lync-server-2010-protocol-workloads-poster/</guid>
      <description><![CDATA[The Microsoft Lync Server 2010 communications software protocol workloads poster shows the protocols...]]></description>
      <content:encoded><![CDATA[<p><span><em>The Microsoft Lync Server 2010 communications software protocol workloads poster shows the protocols that are used by each workload in Lync Server 2010, describing relationships, dependencies, the servers that initiate connections, and certificate requirements. This poster provides a snapshot of the network connections between server roles. You can download this poster from </em><a href="https://go.microsoft.com/fwlink/?LinkId=204599" target="_blank"><em>here</em></a><em>.&nbsp;</em><em><span><span>The latest update is version 5.12. <em>This version adds details to the Enterprise Voice workload quadrant based on feedback from Lync experts.</em></span></span></em></span></p>
<p><span><em><span><span><em><strong>NOTE</strong>&nbsp;&nbsp;&nbsp;Microsoft Lync Server 2010 Protocol Workloads Poster version 5.15 is now&nbsp;available&nbsp;<a title="Microsoft Lync Server 2010 Protocol Workloads Poster Version 5.15." href="blogs.technet.com/b/nexthop/archive/2012/10/15/update-microsoft-lync-server-2010-protocol-workloads-poster.aspx">here</a>. </em></span></span></em></span></p>
<p><strong>Author: </strong><a href="blogs.technet.com/b/nexthop/p/contributors.aspx#RuiMaximo" target="_blank">Rui Maximo</a></p>
<p><strong>Publication date: </strong>November 2010</p>
<p><strong>Revision date</strong>: June 6, 2012</p>
<p><strong>Product version: </strong>Microsoft Lync Server 2010</p>
<h3>Description</h3>
<p><span>The Microsoft Lync Server 2010 Protocol Workloads Poster is an update of the Office Communications Server 2007 R2 protocol poster, which was released in 2009 and is still </span><a href="blogs.technet.com/b/drrez/p/r2_worlkoads_diagrams.aspx" target="_blank"><span style="color: #0000ff;">available</span></a><span><span>. So many customers and professionals liked it and found it useful that they requested I update it for Lync Server 2010. Encouraged by the positive feedback, I made it a priority to release an updated poster for Lync Server. </span></span></p>
<p><span><span>Since the initial release early the week of November 15, 2010, customers and UC professionals sent in e-mails with positive comments and valuable feedback regarding inaccuracies and enhancements. Providing accurate information is important&mdash;every effort is made to quickly update the poster so that erroneous information isn&rsquo;t disseminated. </span></span></p>
<p><span><span>To help you track the latest update of the poster, you&rsquo;ll notice a version number in the upper-left corner of the poster. The current and latest update is marked as version 5.12. This version updates adds more detailed traffic information to the Enterprise Voice workload based on feedback from Richard Pasztor and Thomas Binder. </span></span></p>
<p><span>As the &ldquo;guardian&rdquo; of this poster, I&rsquo;m committed to keeping the poster updated. You can download the poster from </span><a href="https://go.microsoft.com/fwlink/?LinkId=204599" target="_blank"><span style="color: #0000ff;">here</span></a><span><span>. Hope you like it!</span></span></p>
<p><a href="zoom.it/azZ4" target="_blank">View this poster at Zoom.IT</a>.</p>
<h3>Purpose</h3>
<p>Isn't eye-candy enough to serve as a purpose? You can print it and hang it in your office. Co-workers passing by will immediately be impressed by your technical prowess, and your manager will suddenly, to your surprise, give you a raise. We've heard customer stories reporting unexpected good luck coming their way. So, go ahead and plaster this protocol poster on your wall, and let the goodwill shower down on you.</p>
<p>In addition to good fortune, this poster provides an understanding of the protocols and ports used for each workload. By isolating the protocols for each media, you can gain a better understanding of how Lync Server works. This deeper understanding can help you troubleshoot problems with a specific media in your Lync Server deployment.</p>
<p>Because certificate configuration can be confusing, this poster also details which settings to define in the server certificate request. If you don't find these settings defined in the certificate issued, it is an indication that the server certificate wasn't properly requested from the certification authority (CA).</p>
<p>Domain Name System (DNS) is a configuration step that can often be missed and is prone to misconfiguration, particularly for Edge servers. The poster lists the DNS configurations that are needed for Lync Server.</p>
<p>Last, but not least, this poster has useful links to where you can obtain additional resources, such as articles, the <em>Microsoft Office Communications Server 2007 R2 Resource Kit</em> book, product documentation, and useful tools. You'll notice a Microsoft Tag. Take a picture with your mobile phone, and the picture will automatically resolve the embedded URL to NextHop. Here you'll find lots of useful technical articles and a community of like-minded technical professionals, such as yourself. The Microsoft Tag application must be installed on your phone. If you're not familiar with Microsoft Tag, you can get more information at <a href="https://microsoft.com/tag" target="_blank">microsoft.com/tag</a>.</p>
<h3>Summary</h3>
<p>The Microsoft Lync Server 2010 Protocol Workloads Poster summarizes the protocols, ports, and certificate and DNS requirements for each workload in Lync Server. Having a visual snapshot of how the product works can be useful. If you would like to provide feedback, you can reach me at <a href="mailto:rui@maximo.ws" target="_blank">rui@maximo.ws</a>.</p>
<p>Stay tuned for Microsoft Lync Server 2010 Firewall Poster to be released. I've heard that many customers (that's you, yes, you) would like to have it. Please check back on <a href="https://go.microsoft.com/fwlink/?LinkId=204623" target="_blank">NextHop</a> or follow <a href="https://twitter.com/drrez" target="_blank">DrRez </a>on Twitter for an announcement of when it will be published.</p>
<h3>Lync Server 2010 Resources</h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server TechNet Library</a></li>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=201187" target="_blank">Microsoft Lync TechCenter</a></li>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=204599" target="_blank">Lync Server workload poster</a></li>
</ul>
<h4>We Want to Hear from You</h4>
<ul>
<li>To give us feedback about this article or to propose a topic for an article, e-mail us at <a href="mailto:NextHop@microsoft.com" target="_blank">NextHop@microsoft.com</a>.</li>
<li>You can also send us a tweet at <a href="www.twitter.com/DrRez" target="_blank">www.twitter.com/DrRez</a>.</li>
</ul>
<p><strong>Keywords: </strong><span><span>Enterprise Voice; IM; presence; conferencing; application sharing; CAC; certificate; central management store; Edge Server; Mediation Server; Exchange UM; Mobility Server; Monitoring Server; Group Chat Server; Director; XMPP gateway; sip; rtp; srtp; stun; turn; psom; https; mtls; tls; dns;</span></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Update: Microsoft Lync Server 2010 Resource Kit Tool: ABSConfig</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/update-microsoft-lync-server-2010-resource-kit-tool-absconfig</link>
      <pubDate>Wed, 09 May 2012 12:00:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2012/05/09/update-microsoft-lync-server-2010-resource-kit-tool-absconfig/</guid>
      <description><![CDATA[ABSConfig is an administrative tool that helps to customize Microsoft Lync Server 2010 Address Book...]]></description>
      <content:encoded><![CDATA[<p><i>ABSConfig is an administrative tool that helps to customize Microsoft Lync Server 2010 Address Book Service configuration. You can download this tool and other Microsoft Lync Server 2010 Resource Kit tools from the <a href="https://go.microsoft.com/fwlink/?LinkId=203466" target="_blank">Download Center</a>.</i></p>
<p><strong><i>The ABSConfig.exe has been updated. </i></strong><i>The update resolves an issue where the ABSConfig.exe tool does not save changes. For a description of the update see </i><a href="https://support.microsoft.com/kb/2672934" target="_blank">The ABSConfig.exe tool does not save the most recent changes in Lync Server 2010</a><i>.</i></p>
<p><b>Author</b>: Tracy Zheng</p>
<p><b>Publication date</b>: January 2011</p>
<p><strong>Update</strong>: May 9, 2012&nbsp;</p>
<p><b>Product version</b>: Microsoft Lync Server 2010</p>
<p></p>
<h3>Introduction</h3>
<p>The Address Book Service Configuration tool (ABSConfig) is an administrative tool that helps administrators customize the Address Book Service configuration in Microsoft Lync Server 2010 communications software. It also allows Lync Server 2010 administrators to restore the default Address Book Service settings. You can download this tool and other Microsoft Lync Server 2010 Resource Kit tools from the <a href="https://go.microsoft.com/fwlink/?LinkId=203466" target="_blank">Download Center</a>.</p>
<h3>Description</h3>
<p>ABSConfig is a graphical user interface application that enables administrators to configure Active Directory Domain Services attributes that are related to Address Book Service.</p>
<p>The primary scenarios for the tool are the following:</p>
<ul class="unIndentedList">
<li>To enable administrators to map attributes in Active Directory Domain Services to the attributes for Lync Server.</li>
<li>To enable administrators to specify the Active Directory attribute to be included or excluded in the Address Book Service files.</li>
<li>To enable administrators to restore default Address Book Service settings.</li>
</ul>
<p>The ABSConfig tool can be started by using the absConfig.exe file. The tool opens to the <b>Configure Attributes</b> tab. This tab has options to map Active Directory attributes to the attribute fields for Lync Server and to specify which users to include or exclude in Address Book Service files based on specific attribute filters. It also has options to customize which value of the phone number to be included in the Address Book file. The <b>Restore Defaults</b> option enables administrators to restore Address Book Service settings to default values.</p>
<h3>Output</h3>
<p>ABSConfig stores the Address Book Service configuration in the database.</p>
<p><b>Path:</b> %programFiles%\Microsoft Lync Server\Reskit</p>
<h3>Purpose</h3>
<p>ABSConfig provides a quick and easy way to customize Lync Server Address Book Service.</p>
<h3>Requirements</h3>
<h4>Computer</h4>
<p>ABSConfig can be run only from a domain-joined computer that has Lync Server installed. In the case of Microsoft Lync Server 2010, Enterprise Edition, this tool can be run on any Front End Servers that have the Address Book Service enabled during setup.</p>
<h4>Network</h4>
<p>The computer should be able to connect to the Front End pool and back-end database.</p>
<h4>Software</h4>
<p>Lync Server must be installed before running the ABSConfig tool.</p>
<h4>Users</h4>
<p>Administrators who have the permissions required to update the Lync Server deployment.</p>
<h3>Example</h3>
<p>ABSConfig can be started by typing <b>ABSConfig.exe</b> at a command prompt. Figure 1 shows the ABSConfig tool user interface.</p>
<p>Figure 1. ABSConfig tool UI</p>
<p><img border="0" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/5270.Tool_ABSConfig_Fig1.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/850x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-73/5270.Tool_5F00_ABSConfig_5F00_Fig1.jpg" /></p>
<h3>Summary</h3>
<p>The ABSConfig tool provides administrators a quick and easy to use tool to customize Lync Server Address Book Service.</p>
<p><b>Keywords</b>: Address Book Service; configuration; admin; ABSConfig; Active Directory; Domain Services; Front End; database; back end</p>
<h3>Lync Server Resources</h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server 2010 documentation in the TechNet Library</a></li>
<li><a href="blogs.technet.com/b/nexthop/" target="_blank">NextHop blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank">Lync Server and Communications Server resources</a></li>
</ul>
<h3>We Want to Hear from You</h3>
<ul>
<li><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank">Fan us on Facebook</a></li>
<li><a href="https://twitter.com/DrRez" target="_blank">Follow us on Twitter</a></li>
<li><a href="mailto:nexthop@microsoft.com">Send us e-mail</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>How to Create Additional Lync Server 2010 Call Details Reports: Part 2</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/how-to-create-additional-lync-server-2010-call-details-reports-part-2</link>
      <pubDate>Thu, 12 Jan 2012 06:00:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2012/01/12/how-to-create-additional-lync-server-2010-call-details-reports-part-2/</guid>
      <description><![CDATA[Microsoft Lync Server 2010 Monitoring Server Reports provide a collection of system usage and call...]]></description>
      <content:encoded><![CDATA[<p><i>Microsoft Lync Server 2010 Monitoring Server Reports provide a collection of system usage and call diagnostic reports. This collection of reports meets the needs of most Lync Server 2010 audio/visual (A/V) call scenarios. However, administrators that want to add to the extensibility of the Lync Server 2010 Monitoring Server Reports can easily do so by using tools that are provided with Microsoft SQL Server and the Monitoring Server Reports to add user-defined call details reports that are based on user-defined data sources. This article, in two parts, describes how to create these additional call details reports. </i></p>
<p><strong>Author</strong>: <a href="blogs.technet.com/b/nexthop/p/contributors.aspx#MichaelAdkins" target="_blank">Mike Adkins</a></p>
<p><strong>Publication date</strong>: January 12, 2012</p>
<p><strong>Product version</strong>: Lync Server 2010<i></i></p>
<h3>Introduction</h3>
<p>Any Lync Server 2010 infrastructure benefits from installing Lync Server 2010 Monitoring Service Reports. The variety of summary and diagnostics reports that are provided by the Monitoring Service Reports usually meet the needs of the Lync Server 2010 Voice over Internet Protocol (VoIP) network administrator. Some organizations may require the addition of proprietary reports that display additional information from the Lync Server 2010 Monitoring Service LcsCDR database. The prerequisite installation of the Microsoft SQL Server Reporting Services includes the SQL Server Report Builder tool, which provides a convenient way to access application or user-defined data sources that are hosted by Microsoft SQL Server databases. This makes the SQL Server Report Builder tool an excellent choice for creating additional Lync Server 2010 call details reports that meet the requirements of an organization's VoIP reporting services. This article is divided into two parts that explain the steps needed to create a Lync Server 2010 call details report based on specific information that is stored in the LcsCDR database. <a href="blogs.technet.com/b/drrez/archive/2012/01/09/how-to-create-additional-lync-server-2010-call-details-reports-part-1.aspx" target="_blank">Part 1</a> of this article provides the step-by-step information that is needed to use the SQL Server Management Studio tools to design and create a SQL Server stored procedure that can be used as a data set for a custom Lync Server 2010 Monitoring Service Report. In this, part 2 of the article, I describe stepping through the SQL Server Report Builder Table or Matrix Wizard to create a data source, access data from database objects, design a report that includes summary information and user-defined functionality, and then to save that report.</p>
<h3>Creating a custom call details report</h3>
<p>The first step to creating a custom call details report for use with the pre-existing Lync Server 2010 Monitoring Service Reports is to establish a secure connection to the SQL Server and LcsCdr database objects that will be used as data sources for any new reports. Next, access will be provided to the user-defined database objects that reside in the LcsCDR database. Once the data is accessible, then it is time to present it by using the SQL Server Report tool. The SQL Server Report tool allows data to be presented as a chart, map, or as a table or matrix as shown in this article. Once the report is completed, it can be saved to the LyncServerReports folder for convenient access.</p>
<h4>Accessing the LcsCdr database objects</h4>
<p>Use SQL Server Report Builder tool in the following steps to access the LcsCdr database and the user-defined referredToPSTNFrom SQL Server stored procedure that will be used as the source of information for the new Lync Server 2010 call details report. This new report will be used to determine which Lync 2010 users have used the call forwarding feature to forward their incoming calls to the public switched telephone network (PSTN).</p>
<p>1. From a browser, open the SQL Server Reporting Services home page by entering its URL in the browser&rsquo;s address line. For example: <a href="server01/Reports">server01/Reports</a>.</p>
<p>2. Click the <b>Report Builder</b> link to access the SQL Server Report Builder wizard (see figure 1).</p>
<p><b>Figure 1. Opening SQL Server Reporting Services</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/3463.Figure%201.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/3463.Figure-1.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/3463.Figure%201.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/3463.Figure-1.jpg" /></a><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/$clip_image002[3].jpg"></a></p>
<p>3. Click <b>New Report</b>, and then click <b>Table or Matrix Wizard</b> (see figure 2).</p>
<p><b>Figure 2. Starting the SQL Report Builder Wizard</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0211.Figure%202.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0211.Figure-2.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0211.Figure%202.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0211.Figure-2.jpg" /></a><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/$clip_image004[3].jpg"></a></p>
<p>4. Select the <b>Create a new dataset</b> option on the <b>Choose a dataset</b> page, and then click <b>Next</b> (see figure 3).</p>
<p><b>Figure 3. Selecting a dataset from the LcsCDR database</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0383.Figure%203.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0383.Figure-3.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0383.Figure%203.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/510x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0383.Figure-3.jpg" /></a><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/$clip_image005[3].jpg"></a></p>
<p>5. On the Choose a connection to a data source page, click <b>Browse</b> to locate the preexisting CDRDB data connection object.</p>
<p>6. In the <b>Select data source</b> dialog box, select the CDRDB data connection object, and then click <b>Open</b>.</p>
<p>7. On the <b>Choose a connection to a data source</b> page, click <b>Next</b> .</p>
<p>8. In the <b>Database view</b> window on the <b>Design a query</b> page, expand the stored procedures node and check the stored procedure that will be used for the new report. Click <b>Next</b> (see figure 4).</p>
<p><b>Figure 4. Select the data source for the report</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4666.Figure%204.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4666.Figure-4.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4666.Figure%204.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/531x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4666.Figure-4.jpg" /></a><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/$clip_image006[3].jpg"></a></p>
<h4>Designing and previewing the report</h4>
<p>The next section of this article will walk through the design phases of the report, previewing the report, and saving the report to the SQL Server Reporting Service LyncServerReports folder.</p>
<p>1. Use the <b>Arrange fields</b> page of the New Table or Matrix wizard to arrange the fields for the report in column and row fashion. Row grouping places similar information together in the report. Column groups are displayed from left to right across the report. Summary values such as count, sum, average, maximum, and minimum are used to calculate values contained in the Row groupings (see figure 5).</p>
<p><b>Figure 5. Arranging the fields for the report</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0572.Figure%205.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0572.Figure-5.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0572.Figure%205.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/527x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0572.Figure-5.jpg" /></a><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/$clip_image007[3].jpg"></a></p>
<p>2. To design the report&rsquo;s layout, on the <b>Choose the layout</b> page, make sure the defaults are checked, and then click <b>Next</b>.</p>
<p>3. Use the <b>Choose the style</b> page to apply one of the predefined layouts to the report, and then click <b>Next</b> (see figure 6).</p>
<p><b>Figure 6. Selecting the style for the report</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0574.Figure%206.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0574.Figure-6.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0574.Figure%206.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/527x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0574.Figure-6.jpg" /></a><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/$clip_image008[3].jpg"></a></p>
<p>4. Use the SQL Server Reporting Service report designer to add finishing touches to the report. You can add a title for the report, adjust column widths, add built-in fields if you want, and add any other user-defined touches to enhance the report (see figure 7).</p>
<p><b>Figure 7. Working with the report in design view</b><b> </b></p>
<p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/2437.Figure%207.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/2437.Figure-7.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/2437.Figure%207.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/2437.Figure-7.jpg" /></a></b></p>
<p>5. To preview the report, on the toolbar, click <b>Run</b>, or press F5 on the keyboard. Remove the checks from the default parameter Null checkboxes and add the needed parameter values, for example the beginning and ending dates, and then click <b>View Report</b> to preview the report.</p>
<p>6. With the report in full view you can make derminations on how the report should be formatted for optimal viewing. Also, notice the &ldquo;+&rdquo; in the column headings. This feature allows the viewer to expand that column to view more detailed information (see figure 8).&nbsp;<br /><b>Figure 8 &ndash; Previewing the report</b><b> </b></p>
<p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/1440.Figure%208.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/1440.Figure-8.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/1440.Figure%208.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/1440.Figure-8.jpg" /></a></b></p>
<p>7. Once you have formatted the report, click <b>File</b>, click <b>Save</b>, and then save it to the following location: LyncServerReports\Reports_Content folder. Now the report can be accessed from the SQL Server Reporting Services LyncServerReports page by clicking its link (see figure 9) . <br /><b>Figure 9. Saving the report to LyncServerReports folder</b><b>&nbsp;</b></p>
<p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/8688.Figure%209.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/8688.Figure-9.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/8688.Figure%209.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/8688.Figure-9.jpg" /></a></b></p>
<h3>Summary</h3>
<p>The installation of the Lync Server 2010 Monitoring Server Reports provides a set of predefined reports that are used for Lync Server 2010 VoIP call analysis. This is useful when additional Lync Server 2010 call details reporting is needed for more detailed analysis of VoIP call traffic on a network. The default installation of the SQL Server Report Builder tool that is included with the Monitoring Server Reports installation can be used for easy access to any additional information in the LcsCDR database. This additional information can be utilized for reporting purposes. The SQL Server Report Builder wizard will allow the creation of maps, charts, and table or matrix reports that can display this additional Lync Server 2010 VoIP call information. Once created, these reporting objects can be saved to and then accessed from the LyncServerReports folder on the SQL Server Reporting Services home page.</p>
<h3>Additional Information</h3>
<ul>
<li><a href="blogs.technet.com/b/drrez/archive/2011/06/15/microsoft-lync-server-2010-resource-kit-archiving-and-monitoring.aspx" target="_blank">Microsoft Lync Server 2010 Resource Kit: Archiving and Monitoring</a></li>
<li><a href="blogs.technet.com/controlpanel/blogs/posteditor.aspx/<a href=&quot;http:/www.microsoft.com/downloads/details.aspx?FamilyID=8C64A1E1-F0B3-479C-A265-E480875C61D8&amp;amp;amp;displaylang=e&amp;amp;displaylang=en&quot;>Microsoft Lync </a><a href=&quot;http:/www.microsoft.com/downloads/details.aspx?FamilyID=8C64A1E1-F0B3-479C-A265-E480875C61D8&amp;amp;amp;displaylang=e&amp;amp;displaylang=en&quot;>Server</a><a href=&quot;http:/www.microsoft.com/downloads/details.aspx?FamilyID=8C64A1E1-F0B3-479C-A265-E480875C61D8&amp;amp;amp;displaylang=e&amp;amp;displaylang=en&quot;> 2010 Resource Kit</a>" target="_blank">Microsoft Lync Server 2010 Resource Kit</a></li>
</ul>
<h3>Lync Server Resources</h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server 2010 documentation in the TechNet Library</a></li>
<li><a href="blogs.technet.com/b/drrez/" target="_blank">DrRez blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/" target="_blank">NextHop blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank">Lync Server and Communications Server resources</a></li>
</ul>
<h3>We Want to Hear from You</h3>
<ul>
<li><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank">Fan us on Facebook</a></li>
<li><a href="https://twitter.com/DrRez" target="_blank">Follow us on Twitter</a></li>
<li><a href="mailto:nexthop@microsoft.com">Send us e-mail</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>How to Create Additional Lync Server 2010 Call Details Reports: Part 1</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/how-to-create-additional-lync-server-2010-call-details-reports-part-1</link>
      <pubDate>Mon, 09 Jan 2012 06:00:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2012/01/09/how-to-create-additional-lync-server-2010-call-details-reports-part-1/</guid>
      <description><![CDATA[Microsoft Lync Server 2010 Monitoring Server Reports provide a collection of system usage and call...]]></description>
      <content:encoded><![CDATA[<p><i>Microsoft Lync Server 2010 Monitoring Server Reports provide a collection of system usage and call diagnostic reports. This collection of reports meets the needs of most Lync Server 2010 audio/visual (A/V) call scenarios. However, administrators that want to add to the extensibility of the Lync Server 2010 Monitoring Server Reports can easily do so by using tools that are provided with Microsoft SQL Server and the Monitoring Server Reports to add user-defined call details reports that are based on user-defined data sources. This article, in two parts, describes how to create these additional call details reports.</i></p>
<p><strong>Author</strong>: <a href="blogs.technet.com/b/nexthop/p/contributors.aspx#MichaelAdkins" target="_blank">Mike Adkins</a></p>
<p><strong>Publication date</strong>: January 9, 2012</p>
<p><strong>Product version</strong>: Lync Server 2010</p>
<h3>Introduction</h3>
<p>The Lync Server 2010 Monitoring Server Reports provide customers with a set of predesigned reports that provide the diagnostic and the summary details for audio/visual (A/V) calls that are managed in the Lync Server 2010 environment. Installing the Lync Server 2010 Monitoring Service adds the LcsLog (archiving) and the LcsCDR (call details) databases to the SQL Server instance that manages data for the Lync Server 2010 Monitoring Service. The predesigned Monitoring Server Reports may not provide all the information that is needed by an organization to completely assess the use of their networks Voice over Internet Protocol (VoIP)-enabled clients. Any need for additional A/V call detail reporting could require the design and implementation of new database objects for the LcsCDR database, a data source connection, and the reports that will display the additional A/V call detail information.</p>
<p>This article is divided into two parts that explain the steps needed to create a Lync Server 2010 call details report based on specific information that is stored in the LcsCDR database. Part 2 of this article will provide the step-by-step information for using the Microsoft SQL Server Report Builder to create the data connection to the new SQL Server stored procedure and the new Lync Server 2010 call details report that will display that stored procedures information.</p>
<h3>Designing and creating the database objects</h3>
<p>Whether you create a new Lync Server 2010 call details report is dependent on the availability of the data that the report will present. You can use Microsoft SQL Server Management Studio to display all of the LcsCDR database&rsquo;s tables and their contents so you can inspect the information that may be used for a new report. Just expand Tables node under the LcsCDR database (see Figure 1).</p>
<p><b>Important</b> SQL Server requires the delegation of its security model to the user account that will access the SQL Server, perform SQL Server configuration updates, read and write information that is stored in its databases and perform design updates to databases. For detailed information on managing SQL Server permissions, see the &ldquo;Additional Information&rdquo; section of this article.</p>
<p><b>Figure 1. Using SQL Server Management Studio to analyze information in the LcsCDR database</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4885.Figure%201.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4885.Figure-1.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4885.Figure%201.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4885.Figure-1.jpg" /></a></p>
<p>To view additional information stored in the Lync Server 2010 Monitoring Service LcsCDR database, you need to create the SQL Select queries that will be used as the basis for the report&rsquo;s SQL Server stored procedure. The SQL Select query will allow the extraction of information from the tables in the LcsCDR database that contain information needed for the report. A SQL Select statement allows the use of SQL Join syntax to extract related information from multiple tables in a database. The simple SQL Select query example that is provided (see Figure 2) will use a SQL Select statement with a simple SQL Inner Join and SQL Where clause. The purpose of the Inner Join is to display the number of rows of information in a secondary table that contains a key value that matches the key value for one row in the primary table. In practice the secondary table will contain many matches for the key value that is listed only once in the primary table. This determines the range of data and the overall number of rows returned by the SQL Select query. The SQL Where clause is used to determine the type and amount of information that is returned by the SQL Select query based in the criteria defined by it.</p>
<p><b>Note:</b> This article will not go into detail on the many uses of SQL syntax. For details about using basic SQL Select statements, see the SQL Server Search option from the Help menu of SQL Server Management Studio.</p>
<h4>Creating a SQL query</h4>
<p>The SQL Select query created in this example provides information that can be used to determine which Microsoft Lync 2010 users have used the enabled call forwarding feature to forward their incoming calls to the public switched telephone network (PSTN). This information will be displayed in a Lync Server 2010 Call Details Report that can be used to track the cost of this type of call to the PSTN (see Figure 2). The Select query will extract information from two tables that are part of the LcsCdr database. The primary table for the SQL Select query is named Users. The Users table contains a record for each Lync 2010 user that initiates an A/V call. The secondary table is named SessionDetails. The SessionDetails table contains a record of each A/V call that is managed by the Lync Server 2010 Voice over IP (VoIP) environment. The key fields in each table that will host the Inner Join are Users.UserId and SessionDetails.ReferredById. Each of these fields contains an integer value that represents the Lync A/V caller&rsquo;s UserId. With the Inner Join defined in this manner, the SQL query will display the user&rsquo;s SIP Uniform Resource Identifier (URI) that referred or forwarded the incoming A/V call from another local Lync 2010 user to the PSTN.</p>
<p>The following procedure shows how to create the SQL Select query statement for analyzing A/V calls that have been forwarded by a specific Lync 2010 user to the PSTN.</p>
<p>To create the SQL Select query statement</p>
<p>1. Open the SQL Server Management Studio console.</p>
<p>2. On the SQL Server Management Studio&rsquo;s toolbar, click <strong>New Query</strong> to open a SQL Server query window.</p>
<p>3. Use the SQL Server query window to design and test the query that will be used as the data source for the new A/V call detail report.</p>
<p>4. To test and view the results of the new query, click <strong>Execute</strong>, as shown in Figure 2.</p>
<p>5. Save the contents of the SQL Server query window as a file with a .sql extension.</p>
<p><b>Figure 2. Creating and testing a SQL Select query</b></p>
<p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0564.Figure%202.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0564.Figure-2.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0564.Figure%202.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0564.Figure-2.jpg" /></a></b></p>
<h4>Create a SQL Server Stored Procedure</h4>
<p>A SQL Server stored procedure is a database object that contains procedural instructions that are defined in SQL syntax. It&rsquo;s useful because of its portability. In this example the SQL Server stored procedure is designed to contain the SQL Select query statement that we defined in the &ldquo;Creating a SQL Query&rdquo; section of this article. This SQL Server stored procedure allows the entry of the BeginDate and EndDate parameters to be passed to the SQL Query&rsquo;s Where clause.</p>
<p>Creating a SQL Server stored procedure requires three steps:</p>
<ul>
<li>Create the SQL Server stored procedure template</li>
<li>Add the SQL Select query&rsquo;s code to the SQL Server stored procedure template</li>
<li>Test the SQL Server stored procedure</li>
</ul>
<p><strong>To create the SQL Server stored procedure template</strong></p>
<p>1. Use the SQL Server Management Studio object browser to locate the LcsCDR database that is listed under the user database objects.</p>
<p>2. Expand the <strong>LcsCDR</strong> database, and then expand the <strong>Programmability</strong> node.</p>
<p>3. Right-click the <strong>Stored Procedures</strong> node, and then click <strong>New Stored Procedure</strong>.</p>
<p>4. The SQL Server query window will now display the SQL Server Create Stored procedure template, as shown in Figure 3.</p>
<p><b>Figure 3. The SQL Server Create Stored procedure template</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/3108.Figure%203.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/3108.Figure-3.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/3108.Figure%203.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/3108.Figure-3.jpg" /></a></p>
<p>The next step in the stored procedure creation process is to add the SQL Select query&rsquo;s code (see Figure 2) to the SQL Server stored procedure template.</p>
<p><strong>To add the SQL Select query&rsquo;s code</strong></p>
<p>1. Add the name for the stored procedure to the right of the Create Procedure clause of the SQL Server stored procedure template, as shown in Figure 3.</p>
<p>2. Copy and paste the SQL query @BeginDate and @EndDate parameters from the SQL query that is described in the &ldquo;Creating a SQL Query&rdquo; section of this article into the parameters section of the SQL Server stored procedure template, as shown in Figure 3.</p>
<p>3. Copy and paste the SQL query Select statement from the SQL query that is described in the &ldquo;Creating a SQL Query&rdquo; section of this article into the &ldquo;Insert statements for procedure here&rdquo; section of the SQL Server stored procedure template, as shown in Figure 3.</p>
<p>4. To create the new SQL Server stored procedure, click <strong>Execute</strong>, as shown in Figure 4.</p>
<p><b>Figure 4. Adding the SQL Select query syntax for the new SQL Server stored procedure</b></p>
<p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4370.Figure%204.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4370.Figure-4.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4370.Figure%204.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4370.Figure-4.jpg" /></a></b></p>
<p>The last step in the creating database objects procedure is to test the new SQL Server stored procedure to make sure that it works as expected.</p>
<p><strong>To test the SQL Server stored procedure</strong></p>
<p>1. Open the SQL Server Management Studio console.</p>
<p>2. From the toolbar, click <strong>New Query</strong> to open a SQL Server query window.</p>
<p>3. Select the <strong>LcsCDR</strong> database from the database selector on the toolbar.</p>
<p>4. Use the SQL Server query windows to type the following (as shown in Figure 5):</p>
<p><strong>Execute &lt;name of stored procedure&gt; &lt;paramerter1&gt;, &lt;parameter2&gt;&hellip; </strong></p>
<p>5. To test and view the results of the new query, click <strong>Execute</strong>.</p>
<p><b>Figure 5. Running the new SQL Server stored procedure</b></p>
<p><b><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4338.Figure%205.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4338.Figure-5.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/4338.Figure%205.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/4338.Figure-5.jpg" /></a></b></p>
<h3>Summary</h3>
<p>You need only a limited amount of knowledge of SQL Server Management Studio tools to use the A/V conferencing information that is stored in the LcsCDR database to create custom call details reports. Using SQL Select queries to analyze A/V call detail information provides insight into how specific information can be extracted from the LcsCDR database as presentation material for a call details report. The use of the SQL Server stored procedure database object provides a convenient way to manage access to the data that will be presented by the call details report. The second part of this article will provide a step-by-step process on how to access the output of SQL Server stored procedures from a SQL Server Report Builder report.</p>
<h3>Additional Information</h3>
<p>For more details about creating additional Lync Server 2010 Monitoring Server Reports, see chapter 2 of the Lync Server 2010 Resource Kit:</p>
<ul>
<li><a href="https://www.microsoft.com/downloads/details.aspx?FamilyID=8C64A1E1-F0B3-479C-A265-E480875C61D8&amp;amp;displaylang=e&amp;displaylang=en" target="_blank">Microsoft Lync Server 2010 Resource Kit</a></li>
</ul>
<p>For more details on managing SQL Server permissions:</p>
<ul>
<li><a href="https://technet.microsoft.com/en-us/library/ms191465.aspx" target="_blank">Permissions Hierarchy (Database Engine)</a></li>
<li><a href="https://technet.microsoft.com/en-us/library/ms189612.aspx" target="_blank">Permissions of Fixed Database Roles (Database Engine)</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Support for Microsoft Lync 2010 and Communicator 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/support-for-microsoft-lync-2010-and-communicator-2007</link>
      <pubDate>Tue, 20 Dec 2011 05:25:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2011/12/20/support-for-microsoft-lync-2010-and-communicator-2007/</guid>
      <description><![CDATA[If you need the latest support information on Lync 2010, bookmark this page: Support for Microsoft...]]></description>
      <content:encoded><![CDATA[<p>If you need the latest support information on Lync 2010, bookmark this page: <a href="https://support.microsoft.com/ph/924">Support for Microsoft Lync 2010 and Communicator 2007</a>. Here you will find latest resources and support solutions for Microsoft Lync 2010, Microsoft Server Lync 2010, Communicator 2007 R2, Communicator 2007, Communicator 2005, Office Communications Server 2007 R2, Office Communications Server 2007, Live Communications Server 2005, and Live Communications Server 2003.</p>
<p>Support topics include:</p>
<ul>
<li>Key Resources</li>
<li>Community</li>
<li>Self Support Options</li>
<li>Assisted Support Options</li>
<li>Support Lifecycle</li>
</ul>
<p>To stay up-to-date on the latest support issues, subscribe to the <a href="https://support.microsoft.com/rss/en/lync.xml">Top Microsoft Lync, Office Communications Server and Office Communicator Solutions from Microsoft Support</a> RSS feed.</p>
<h3>Lync Server Resources</h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server 2010 documentation in the TechNet Library</a></li>
<li><a href="blogs.technet.com/b/drrez/" target="_blank">DrRez blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/" target="_blank">NextHop blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank">Lync Server and Communications Server resources</a></li>
</ul>
<h3>We Want to Hear from You</h3>
<ul>
<li><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank">Fan us on Facebook</a></li>
<li><a href="https://twitter.com/DrRez" target="_blank">Follow us on Twitter</a></li>
<li><a href="mailto:nexthop@microsoft.com">Send us e-mail</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Lync Server 2010 Resource Kit: External User Access</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/microsoft-lync-server-2010-resource-kit-external-user-access</link>
      <pubDate>Tue, 16 Aug 2011 04:23:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2011/08/16/microsoft-lync-server-2010-resource-kit-external-user-access/</guid>
      <description><![CDATA[Microsoft Lync Server 2010 communications software allows users to connect to each other remotely....]]></description>
      <content:encoded><![CDATA[<p><i><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/3286.ResKit-Badge-with-edge.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/3286.ResKit_2D00_Badge_2D00_with_2D00_edge.jpg"><img style="float: left;" border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/3286.ResKit-Badge-with-edge.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/165x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/3286.ResKit_2D00_Badge_2D00_with_2D00_edge.jpg" /></a></i><i>Microsoft Lync Server 2010 communications software allows users to connect to each other remotely. This chapter describes the most common remote access scenarios, and then provides detailed call flow diagrams, traces, and related ms-diagnostics codes. Overviews of the basic scenarios are provided, giving context for how users make various connections. You can download this and other Microsoft Lync Server 2010 Resource Kit chapters from the <a href="https://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c64a1e1-f0b3-479c-a265-e480875c61d8&amp;displaylang=en" target="_blank">Download Center</a>.</i></p>
<p><i></i>&nbsp;</p>
<p><i></i>&nbsp;</p>
<p></p>
<p><strong>Authors</strong>: <a href="blogs.technet.com/b/nexthop/p/contributors.aspx#RandyWintle" target="_blank">Randy Wintle</a>, <a href="blogs.technet.com/b/nexthop/p/contributors.aspx#DustinHannifin" target="_blank">Dustin Hannifin</a></p>
<p><strong>Publication date</strong>: August 2011</p>
<p><strong>Product version</strong>: Lync Server 2010, Lync 2010</p>
<p>The upcoming <i>Microsoft Lync Server 2010 Resource Kit</i> book will provide in-depth technical content about Lync Server 2010. The book will focus on professionals who want to understand more about how the product works internally. You can download this and other Microsoft Lync Server 2010 Resource Kit chapters from the <a href="https://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c64a1e1-f0b3-479c-a265-e480875c61d8&amp;displaylang=en" target="_blank">Download Center</a>.</p>
<p>Internals (technical details of remote user access capabilities) are discussed in depth in this chapter and figure prominently in the scenarios. An introduction to the Interactive Connectivity Establishment (ICE) protocol, Simple Traversal Underneath NAT (STUN), and Traversal Using Relay NAT (TURN) implementations in Lync Server are provided.</p>
<p>Lync Server 2010 allows users to access instant messaging (IM) and presence remotely by using the Lync Server Access Edge service. The scenarios in this chapter describe remote IM and presence in remote user access, federation, and public IM connectivity.</p>
<h4>Summary</h4>
<p>The most common call flow scenarios that involve remote user access are described in detail and as follows:</p>
<ul>
<li><b>Instant Messaging:</b> peer-to-peer, internal user to federated partner, and internal user to PIC user.</li>
<li><b>Conferencing:</b> application sharing conference (desktop sharing), and audio and video Conferencing.</li>
<li><b>Enterprise Voice:</b> peer-to-peer audio, involving two remote participants; peer-to-peer audio, involving a federated partner; and a PSTN gateway audio call, involving a remote user.</li>
</ul>
<h3>Lync Server Resources</h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server 2010 documentation in the TechNet Library</a></li>
<li><a href="blogs.technet.com/b/nexthop/" target="_blank">NextHop blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank">Lync Server and Communications Server resources</a></li>
</ul>
<h3>We Want to Hear from You</h3>
<ul>
<li><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank">Fan us on Facebook</a></li>
<li><a href="https://twitter.com/DrRez" target="_blank">Follow us on Twitter</a></li>
<li><a href="mailto:nexthop@microsoft.com">Send us e-mail</a></li>
</ul>
<p><strong>Keywords</strong>: Presence, IM, instant messages, Enterprise Voice, peer to peer, conferencing, PSTN, gateway, remote access, federated, user, partner,</p>]]></content:encoded>
    </item>
    <item>
      <title>Update: Microsoft Lync Server 2010 Resource Kit: Enterprise Voice</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/update-microsoft-lync-server-2010-resource-kit-enterprise-voice</link>
      <pubDate>Mon, 08 Aug 2011 16:02:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2011/08/08/update-microsoft-lync-server-2010-resource-kit-enterprise-voice/</guid>
      <description><![CDATA[We are pleased to announce a major update to this previously released Resource Kit chapter. We have...]]></description>
      <content:encoded><![CDATA[<p><i>We are pleased to announce a major update to this previously released Resource Kit chapter. We have added eight pages of new information on Call Admission Control (CAC). &nbsp;&nbsp;&nbsp;</i></p>
<p><i>You can download this and other Microsoft Lync Server 2010 Resource Kit chapters from the </i><a href="https://www.microsoft.com/downloads/en/details.aspx?FamilyID=8c64a1e1-f0b3-479c-a265-e480875c61d8&amp;displaylang=en" target="_blank"><i><span style="color: #0000ff;" color="#0000ff">Download Center</span></i></a><i>.</i></p>
<p><b>Author:</b> <a href="blogs.technet.com/b/nexthop/p/contributors.aspx#AndreasStrebel" target="_blank"><span style="color: #0000ff;" color="#0000ff">Andreas Strebel</span></a> with <a href="blogs.technet.com/b/nexthop/p/contributors.aspx#RoyKuntz" target="_blank"><span style="color: #0000ff;" color="#0000ff">Roy Kuntz</span></a>, Mahendra Sekaran, and Radu Constantinescu</p>
<p><b>Publication date:</b> April 2011</p>
<p><b>Revision date: </b>August 2011</p>
<p><b>Product version:</b> Microsoft Lync Server 2010</p>
<p>As stated in <a href="blogs.technet.com/b/drrez/archive/2011/04/11/microsoft-lync-server-2010-resource-kit-enterprise-voice.aspx" target="_blank"><span style="color: #0000ff;" color="#0000ff">the original Enterprise Voice chapter release</span></a>, Lync Server 2010 builds on the Enterprise Voice features introduced in Communications Server and Communications Server 2007 R2 and introduces several features that are required for an enterprise to consider Lync Server as a viable replacement option for their telephony infrastructure. The following new voice features are covered in this chapter:</p>
<ul>
<li>Call park and retrieve</li>
<li>Enhanced 9-1-1 (E9-1-1)</li>
<li>Private line</li>
<li>Routing enhancements</li>
<li>Call Admission Control</li>
</ul>
<h3>Summary</h3>
<p>With the introduction of the new Enterprise Voice features in Lync Server and the strength of the existing features, Lync Server is a viable option for organizations to replace their current telephony infrastructure.</p>
<h3>Lync Server Resources</h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server 2010 documentation in the TechNet Library</a></li>
<li><a href="blogs.technet.com/b/nexthop/" target="_blank">NextHop blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank">Lync Server and Communications Server resources</a></li>
</ul>
<h3>We Want to Hear from You</h3>
<ul>
<li><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank">Fan us on Facebook</a></li>
<li><a href="https://twitter.com/DrRez" target="_blank">Follow us on Twitter</a></li>
<li><a href="mailto:nexthop@microsoft.com">Send us e-mail</a></li>
</ul>
<p><strong>Keywords:</strong> voice, E911, private line, routing, call park, orbit, locations, call admission control, (CAC),</p>]]></content:encoded>
    </item>
    <item>
      <title>How to use the Office Communications Server 2007 R2 Resource Kit Script LCSEnableConfigureUsers</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/how-to-use-the-office-communications-server-2007-r2-resource-kit-script-lcsenableconfigureusers</link>
      <pubDate>Tue, 02 Aug 2011 12:47:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2011/08/02/how-to-use-the-office-communications-server-2007-r2-resource-kit-script-lcsenableconfigureusers/</guid>
      <description><![CDATA[The Microsoft Office Communications Server 2007 R2 version of the LCSREnableConfigureUsers windows...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: %value;"><i><span size="3"><span face="Calibri">The Microsoft Office Communications Server 2007 R2 version of the LCSREnableConfigureUsers windows scripting file provides Office Communications Server 2007 R2 administrators with an unrestricted way to enable and configure Active Directory Domain Services user accounts for use with Office Communications Server 2007 R2.</span></span></i></span></p>
<p class="Byline"><span style="font-family: %value;" size="3"><span face="Calibri"><strong>Author: &nbsp;</strong><a href="blogs.technet.com/b/nexthop/p/contributors.aspx#MichaelAdkins" target="_blank">Mike Adkins</a></span></span></p>
<p class="Byline"><span style="font-family: %value;" size="3"><span face="Calibri"><strong>Publication date: </strong>August 2, 2011</span></span></p>
<p class="Byline"><span style="font-family: %value;" size="3"><span face="Calibri"><strong>Product version: </strong>Office Communications Server 2007 R2</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Introduction </span></span></h3>
<p><span style="font-family: %value;">The Office Communications Server 2007 R2 LCSEnableConfigureUsers.wsf script demonstrates how a Visual Basic script can be used to access the Windows Management Interface (WMI) and to update user accounts that reside in the local Active Directory Domain Services domain. The LCSEnableConfigureUsers.wsf script automates enabling and configuring users belonging to the local Active Directory Domain Services domain. These Communications Server users may reside in the Users container or in user defined Organizational Units. Using the LCSEnableConfigureUsers.wsf script does not require membership in the local Domain Admins group or access to the console of the Office Communications Server. The LCSEnableConfigureUsers.wsf script allows members of the RTCUniversalUserAdmins group to access and perform updates to local Active Directory Domain Services domain user account through the WMI.</span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Description </span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">To use the LCSEnableConfigureUsers.wsf script, two text files must be manually configured. First, configure the user file that contains the Active Directory Domain Services distinguished name (DN) path to the containers or organizational units that manage the domain user accounts. Second, configure the file that contains the Office Communications Server 2007 R2 user configuration and home server or pool distinguished name (DN). The LCSEnableConfigureUsers.wsf script uses the information listed in the user file, to traverse the organizational units and default Users container in the Active Directory Domain Services domain. It then enables and configures user account objects to meet the specifications listed in the configuration files.&nbsp;&nbsp;</span></span></p>
<h4><span style="font-family: %value; color: #365f91;" size="4"><span color="#4f81bd"><span face="Cambria">User Configuration Information</span></span></span></h4>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Configuration updates are applied to the specified user accounts using the Communications Server WMI class MSFT_SIPESUserSetting. These Communications Server user account updates are applied to newly enabled Communications Server user accounts or as configuration updates to pre-existing Communications Server user accounts.</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The MSFT_SIPESUserSetting&nbsp; WMI class properties used as part of the Communications Server user account creation or configuration update process are listed below:</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Enabled (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForFederation (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForInternetAccess (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForEnhancedPresence (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">PublicNetworkEnabled (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">RemoteCallControlTelephonyEnabled (boolean) </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">ArchiveInternalCommunications (boolean) </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">ArchiveFederatedCommunications (boolean) </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">AllowOrganizeMeetingWithAnonymousParticipants (boolean) </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">IPPBXSoftPhoneroutingEnabled (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCEnabled (boolean)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">MeetingPolicy (string)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">PresencePolicy (string) </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">LocationProfile (string)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCPolicy (string)</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">To function, the configuration.txt file requires at least one line entry in the LCSEnableConfigureUsers.wsf script. That line requires a unique prefix along with the DN of the Communications Server pool or Front End Server. For example:</span></span></p>
<p><span style="font-family: %value;"><b><span size="3"><span face="Calibri">For Communications Server Enterprise Edition</span></span></b></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">HomeServerDN:=CN=LC Services,CN=Microsoft,CN=Pool01,CN=Pools,CN=RTC Service,CN=Configuration,DC=contoso,DC=com</span></span><span style="font-family: %value;" size="3" face="Calibri">&nbsp;</span></p>
<p><span style="font-family: %value;"><b><span size="3"><span face="Calibri">For Communications Server Standard Edition</span></span></b></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">HomeServerDN:=CN=LC Services,CN=Microsoft,CN=Server01,CN=Pools,CN=RTC Service,CN=Configuration,DC=contoso,DC=com</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">When saved to the configuration.txt file, the previously listed DN information allows the LCSEnableConfigureUsers.wsf script to enable users, defined in the users.txt file, for Communications Server and Enhanced Presence. This is the default action for the LCSEnableConfigureUsers.wsf script.</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">MSFT_SIPESUserSetting WMI class properties must be added to the configuration.txt file one line at a time. Append &ldquo;:=&rdquo; to the end of each WMI property to denote the following designated value for that WMI property.&nbsp; See the following example:</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCEnabled :=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">LocationProfile:=ContosoLocationProfile</span></span></p>
<p><span style="font-family: %value;" face="Calibri"><span size="3">Before adding a list of WMI properties to the configuration.txt file, some possible caveats should be considered to ensure the LCSEnableConfigureUsers.wsf script completes its task.</span></span></p>
<ul>
<li><span size="3"><span face="Calibri">The AllowOrganizeMeetingWithAnonymousParticipants feature is overridden when the global Communications Server Meeting policy&rsquo;s <b>Anonymous Participants</b> setting is not set to <b>Enforce per user</b>.</span></span></li>
<li><span size="3"><span face="Calibri">The RemoteCallControlTelephonyEnabled feature will fail if set to true when enabling a new Communications Server user account. This occurs because the new account does not have LineURI and ServerLineURI values already in place. </span></span></li>
<li><span size="3"><span face="Calibri">The RemoteCallControlTelephonyEnabled feature will fail if set to true when the pre-existing Communications Server user account is Enterprise Voice enabled. </span></span></li>
<li><span size="3"><span face="Calibri">The RemoteCallControlTelephonyEnabled feature can be used to toggle the pre-existing RCC enabled user account between RCC enabled or RCC disabled.</span></span></li>
<li><span size="3"><span face="Calibri">The UCEnabled feature can be set to true after enabling a new Communications Server user account.</span></span></li>
<li><span size="3"><span face="Calibri">If the value for the LocationProfile property string value does not match an existing Communications Server Location Profile, the user configuration will complete without error and the Communications Server user will not have a location profile associated with their Enterprise Voice enabled Communications Server user account.</span></span></li>
<li><span size="3"><span face="Calibri">The MeetingPolicy WMI property requires that the global Communications Server Meeting policy&rsquo;s <b>Policy settings</b>, <b>Global </b>settings are set to <b>Use per user policy</b>. The MeetingPolicy value is the meeting name, a string descriptor. The meeting name value must be a string with no spaces in it. If the meeting name assigned to MeetingPolicy has spaces, it will not be assigned to the MeetingPolicy WMI property by the LCSEnableConfigureUsers.wsf script.</span></span></li>
<li><span size="3"><span face="Calibri">The UCPolicy WMI property requires that the global Communications Server Voice policy&rsquo;s <b>Global Policy </b>settings be set to <b>Use per user policy</b>. The UCPolicy value is the enterprise voice policy name. The enterprise voice policy name value must be a string descriptor with no spaces. If the meeting name assigned to UCPolicy has spaces, it will not be assigned to the UCPolicy WMI property by the LCSEnableConfigureUsers.wsf script.</span></span></li>
<li><span size="3" face="Calibri">The PresencePolicy WMI property requires that you create a custom Office Communications server presence policy before implementing the LCSEnableConfigureUsers.wsf script. For more detailed information on implementing a custom Office Communications server presence policy see: </span><span style="color: #365f91;"><a href="https://technet.microsoft.com/en-us/library/dd572698(office.13).aspx" target="_blank"><span style="color: #365f91;" size="3" face="Calibri" color="#0000ff">Configuring Presence Policies Using Configure Policies Script</span></a></span></li>
<li><span size="3"><span face="Calibri">If you add entries to disable Remote Call Control and enable Enterprise Voice to the configuration.txt file, the pre-existing Communications Server user account will be disabled for Remote Call Control and enabled for Enterprise Voice. &nbsp;See the following example</span></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri">RemoteCallControlTelephonyEnabled:=false</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCEnabled:=true</span></span></p>
<ul>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">If you add the entries to enable Remote Call Control and disable Enterprise Voice to the configuration file, the pre-existing Communications Server user account will be disabled for Enterprise Voice and enabled for Remote Call Control. See the following example:</span></span></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri">RemoteCallControlTelephonyEnabled:=false</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCEnabled:=true</span></span></p>
<h4><span style="color: #365f91;" size="4"><span color="#4f81bd"><span face="Cambria">User Information</span></span></span></h4>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script uses two different prefixes, specified in the users.txt file, to create and configure Communications Server user accounts. The two prefixes require that the line in the user&rsquo;s file, which describes the user account, is prefixed with DN: or EMAIL: Here&rsquo;s how it works:</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">DN:CN=Alan Brewer, OU=Users,OU=Communications Server,DC=contoso,DC=com</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EMAIL:cycarey@contoso.net</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Each line shown above can be used separately in the user.txt file. Each line creates an enabled Communications Server user or updates a pre-existing Communications Server user. The similarities between the two lines are:</span></span></p>
<ul>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The DN: prefix provides the user accounts distinguished name (DN) in its context. </span></span></span></li>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The EMAIL: prefix points to the email address associated with the user account, in Active Directory Domain Services that retrieves the user account&rsquo;s DN.</span></span></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The differences between the two lines are:</span></span></p>
<ul>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The DN: prefix assigns a SIP URI, to the newly enabled Communications Server user account that uses a domain suffix that matches the user&rsquo;s DN. Before the Communications Server enabled account can be used, the user account&rsquo;s DN domain suffix must match the domain suffix of a supported Communications Server SIP domain.</span></span></span></li>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The EMAIL: prefix assigns a SIP URI to the newly enabled Communications Server user account that uses a domain suffix of the email address associated with the user account. Before the Communications Server enabled account can be used, the email address&rsquo;s domain suffix must match the domain suffix of a supported Communications Server SIP domain.</span></span></span></li>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The DN: or EMAIL: prefix relies on the distinguished name (DN) of the pre-existing Communications Server user account to perform configuration updates.</span></span></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri">To enable multiple Communications Server user accounts or to update multiple pre-existing Communications Server user accounts, the DN: prefix can include the Organization Unit (OU) the user accounts belong to.</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Here is the DN: line used to enable Communications Server user accounts or to update multiple pre-existing Communications Server user accounts in the Users OU:</span></span></p>
<ul>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">DN:OU=Users,OU=Communications Server, DCcontoso,DC=com </span></span></span></li>
</ul>
<p></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri"><b>Warning:</b> it is not recommended to use DN: to point to the Active Directory Domain Services default Users container, for example, DN:CN=Users,DC-contoso,DC=com. This user.txt file entry forces the LCSEnableConfigureUsers.wsf script to enable and configure all user accounts and contacts located in thee Users container.</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">After Communications Server user accounts are initially enabled and configured, the LCSEnableConfigureUsers.wsf script can be used to reconfigure specific Communications Server user accounts using the DN:, EMAIL:, or SIP: prefixes in the users.txt file. For example you can use the prefixes to update specific Communications Server enabled accounts:</span></span></p>
<p><span style="font-family: %value;"><span size="3" face="Calibri">SIP: </span><span style="color: #365f91;"><a href="mailto:abrewer@contoso.com"><span style="color: #365f91;" size="3" face="Calibri" color="#0000ff">abrewer@contoso.com</span></a></span></span></p>
<p><span style="font-family: %value;"><span size="3" face="Calibri">EMAIL: </span><span style="color: #365f91;"><a href="mailto:cycarey@contoso.com"><span style="color: #365f91;" size="3" face="Calibri" color="#0000ff">cycarey@contoso.com</span></a></span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">DN:CN=Florence Flipo,OU=Users,OU=Communications Server,DC=contoso,DC=com</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script can be used to reconfigure multiple Communications Server user accounts using the DN: prefix in the users.txt file. For example you can use DN to update all Communications Server enabled accounts in the Users OU:</span></span><span style="font-family: %value;" size="3" face="Calibri">&nbsp;</span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">DN: OU=Users,OU=Communications Server, DC=contoso,DC=com</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Output </span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script can enable and perform configuration updates to individual or multiple Communications Server user accounts. The LCSEnableConfigureUsers.wsf script updates Active Directory Domain Services user accounts that reside in a Communications Server enabled user&rsquo;s domain. The Office Communications Server Active Directory preparation adds the msRTCSIP* attributes to all user accounts in the domain hosting Communications Server. By design, msRTCSIP* user attributes can be accessed through MSFT_SIP*WMI classes which are enabled locally during the installation of Communications Server. The LCSEnableConfigureUsers.wsf script performs requested updates on specified instances of the MSFT_SIPESUserSetting class properties. Updated MSFT_SIPESUserSetting class properties are then replicated to their corresponding msRTCSIP* user attributes in the Communications Server prepped Active Directory domain. </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri"><b>Warning:</b> The LCSEnableConfigureUsers.wsf script is a powerful tool that can also affect the configuration of Active Directory Doman Services user accounts that are not enabled for Communications Server. Use the LCSEnableConfigureUsers.wsf script in a test lab environment using the constraints mentioned above before running it in your environment. Learning to correctly use the LCSEnableConfigureUsers.wsf script provides administrators with a quick and effective way to enable new and re-configure existing Communications Server users.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Purpose </span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script provides non domain administrators with an efficient way to update and enable Communications Server user accounts. Because the LCSEnableConfigureUsers.wsf script does not have to run from the Communications Server console, it provides administrators with remote access. </span></span></p>
<h3><span style="color: #365f91;" color="#365f91"><span face="Cambria"></span></span><span style="color: #365f91;" color="#365f91"><span face="Cambria">Requirements </span></span></h3>
<p><span style="font-family: %value;" face="Calibri"><span size="3">The Communications Server Resource Kit tools are supported on the following Window Server operating systems:</span></span></p>
<ul>
<li><span style="font-family: %value;" face="Calibri"><span size="3">Windows Server 2003 Standard Edition operating system with Service Pack 2.</span></span></li>
<li><span style="font-family: %value;" face="Calibri"><span size="3">Windows Server 2003 Enterprise Edition operating system with Service Pack 2.</span></span></li>
<li><span style="font-family: %value;" face="Calibri"><span size="3">Windows Server 2008 operating system.</span></span></li>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script requires the domain user to be a member of the RTCUniversalUserAdmins group. Group membership grants permissions needed to enable and update Communications Server user accounts</span></span></span></li>
<li><span style="font-family: %value;"><span size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script requires the installation of the Communications Server Administrative tools to access to the Communications Server WMI.</span></span></span></li>
</ul>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Examples </span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script can be run from a command line window on a computer that has the Communications Server administrative tools installed on it. The LCSEnableConfigureUsers.wsf script requires the configuration of two text files. These text files contain the user account location information and the intended user configuration information. Here are three configuration examples of user.txt and configuration.txt:</span></span></p>
<h4><span style="font-family: %value; color: #365f91;" size="4"><span color="#4f81bd"><span face="Cambria">Enabling all Communications Server users for Enterprise Voice</span></span></span></h4>
<p><span style="font-family: %value;"><b><span size="3"><span face="Calibri">Users.txt</span></span></b></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">DN:OU=Users,OU=Communications Server,DC=contoso,DC=com</span></span></p>
<p><span style="font-family: %value;"><b><span size="3"><span face="Calibri">Configuration.txt</span></span></b></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Enabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCEnabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForEnhancedPresence:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">IPPBXSoftPhoneroutingEnabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">MeetingPolicy:=VoIPConferencing</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">LocationProfile:=ContosoLocationProfile</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCPolicy:=ContosoEnterpriseVoicePolicy</span></span></p>
<h4><span style="font-family: %value; color: #365f91;" size="4"><span color="#4f81bd"><span face="Cambria">Updating a single Communications Server for Remote Call Control</span></span></span></h4>
<p><b><span size="3"><span face="Calibri">Users.txt</span></span></b></p>
<p><span size="3"><span face="Calibri">SIP:abrewer@contoso.com</span></span></p>
<p><b><span size="3"><span face="Calibri">Configuration.txt</span></span></b></p>
<p><b><span size="3"><span face="Calibri"></span></span></b><span size="3"><span face="Calibri">RemoteCallControlTelephonyEnabled:=true</span></span></p>
<h4><span size="4"><span color="#4f81bd"><span face="Cambria">Enabling one Communications Server user for Enterprise Voice</span></span></span></h4>
<p><span style="font-family: %value;"><b><span size="3"><span face="Calibri">Users.txt</span></span></b></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">DN:CN=Florence Flipo,OU=Users,OU=Communications Server,DC=contoso,DC=com</span></span></p>
<p><span style="font-family: %value;"><b><span size="3"><span face="Calibri">Configuration.txt</span></span></b></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Enabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForFederation:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForInternetAccess:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">EnabledForEnhancedPresence :=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">PublicNetworkEnabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">ArchiveInternalCommunications:=true </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">ArchiveFederatedCommunications:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">AllowOrganizeMeetingWithAnonymousParticipants:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCEnabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">IPPBXSoftPhoneroutingEnabled:=true</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">MeetingPolicy:=VoIPConferencing</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">LocationProfile:=ContosoLocationProfile</span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">UCPolicy:=ContosoEnterpriseVoicePolicy</span></span></p>
<h4><span style="font-family: %value;" size="4"><span color="#4f81bd"><span face="Cambria">Using LCSEnableConfigureUsers.wsf&nbsp; from the Command Line</span></span></span></h4>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The LCSEnableConfigureUsers.wsf script can be run from a command prompt window as follows:</span></span><span style="font-family: %value;" size="3" face="Calibri">&nbsp;</span></p>
<p><span style="font-family: %value;" face="Calibri">C:\Tools&gt; LCSEnableConfigureUsers.wsf /usersFile:users.txt /configFile:configuration.txt</span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">To record the positive or error feedback add the &ldquo;&gt;&rdquo; operator to the end of the command line and point it to the folder where you want the log file stored. For example:</span></span><span style="font-family: %value;" size="3" face="Calibri">&nbsp;</span></p>
<p><span style="font-family: %value;" face="Calibri">C:\Tools&gt; LCSEnableConfigureUsers.wsf /usersFile:users.txt /configFile:configuration.txt &gt; C:\output.txt</span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">When the LCSEnableConfigureUsers.wsf script completes its process, view the output.txt file for the results of the command.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Summary</span></span></h3>
<p><span style="font-family: %value;">The LCSEnableConfigureUsers.wsf script allows non domain administrators to perform Active Directory updates on Communications Server user accounts from a remote location. To use the LCSEnableConfigureUsers.wsf script from a non-Communications Server computer, you must install the Communications Server Administrative tools on the local machine. Important: exercise caution when using the LCSEnableConfigureUsers.wsf script. When improperly used, the script tries to apply Communications Server updates to all user accounts in the Active Director Domain Services container. When used correctly; however, the LCSEnableConfigureUsers.wsf script is an efficient and powerful tool for administering Communications Server user accounts.</span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Additional Information</span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">To learn more, check out the following articles:</span></span></p>
<ul>
<li><span style="font-family: %value; color: #365f91;"><a href="https://www.microsoft.com/downloads/en/details.aspx?familyid=9E79A236-C0DF-4A72-ABA6-9A9602A93ED0&amp;displaylang=en" target="_blank"><span style="color: #365f91;" size="3" face="Calibri" color="#0000ff">Office Communications Server 2007 R2 Resource Kit Tools</span></a></span></li>
<li><span style="font-family: %value;"><span style="color: #0000ff;" size="3" face="Calibri" color="#0000ff"><a href="https://technet.microsoft.com/en-us/library/dd572698(office.13).aspx" target="_blank"><span style="color: #365f91;">Configuring Presence Policies Using</span> <span style="color: #365f91;">Configure Policies Script</span></a></span></span></li>
</ul>
<h3><span style="font-family: %value; color: #365f91;">Lync Server Resources</span></h3>
<ul>
<li><span style="color: #365f91;"><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank"><span style="color: #365f91;">Lync Server 2010 documentation in the TechNet Library</span></a></span></li>
<li><span style="color: #365f91;"><a href="blogs.technet.com/b/nexthop/" target="_blank"><span style="color: #365f91;">NextHop blog</span></a></span></li>
<li><span style="color: #365f91;"><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank"><span style="color: #365f91;">Lync Server and Communications Server resources</span></a></span></li>
</ul>
<h3><span style="color: #365f91;">We Want to Hear from You</span></h3>
<ul>
<li><span style="color: #365f91;"><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank"><span style="color: #365f91;">Fan us on Facebook</span></a></span></li>
<li><span style="color: #365f91;"><a href="https://twitter.com/DrRez" target="_blank"><span style="color: #365f91;">Follow us on Twitter</span></a></span></li>
<li><span style="color: #365f91;"><a href="mailto:nexthop@microsoft.com"><span style="color: #365f91;">Send us e-mail</span></a></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri"><strong>Keywords: </strong>LCSEnableConfigureUsers.wsf, communications, server, user, configure, script</span></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Office Communications Server 2007 R2 Tool: LCS Verify Clean</title>
      <link>https://docs.microsoft.com/archive/blogs/drrez/office-communications-server-2007-r2-tool-lcs-verify-clean</link>
      <pubDate>Tue, 19 Jul 2011 01:18:00 GMT</pubDate>
      <dc:creator><![CDATA[DrRez_]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/drrez/2011/07/19/office-communications-server-2007-r2-tool-lcs-verify-clean/</guid>
      <description><![CDATA[The Microsoft Office Communications Server 2007 R2 LCS Verify Clean tool (LcsVerifyClean.vbs) is a...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: Calibri;" face="Calibri"><i><span style="font-family: %value;">The Microsoft Office Communications Server 2007 R2 LCS Verify Clean tool (LcsVerifyClean.vbs) is a command-line tool that can be used to troubleshoot issues during the uninstallation or installation of an Office Communications Server 2007 R2 deployment. LcsVerifyClean is an efficient and straightforward tool that provides step-by-step guidance through the sometimes stubborn uninstallation of Office Communications Server.</span></i><span style="font-family: %value;"><span size="3"> </span><i>You can download this tool and other Office Communications Server 2007 R2 Resource Kit tools from the <a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=15344" target="_blank"><span style="color: #0000ff;" color="#0000ff">Download Center</span></a>.</i></span></span></p>
<p><span style="font-family: %value;"><b><span face="Calibri" size="3">Author:</span></b><span face="Calibri" size="3"> </span><a href="blogs.technet.com/b/nexthop/p/contributors.aspx#MichaelAdkins" target="_blank"><span style="color: #0000ff;" face="Calibri" size="3" color="#0000ff">Mike Adkins</span></a></span></p>
<p class="Byline"><span style="font-family: %value;"><strong><span size="3"><span face="Calibri">Publication date:</span></span></strong><span size="3"><span face="Calibri"> July 2011</span></span></span></p>
<p class="Byline"><span style="font-family: %value;"><strong><span size="3"><span face="Calibri">Product version: </span></span></strong><span size="3"><span face="Calibri">Office Communications Server 2007 R2</span></span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Introduction</span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">LCS Verify Clean, a tool in the Office Communications Server 2007 R2 Resource Kit, is a straightforward command-line utility (LcsVerifyClean.vbs). LcsVerifyClean provides Office Communications Server administrators with diagnostic information that can be useful in detecting the cause of product installation failures that are sometimes caused by faulty Office Communications Server uninstallations. LcsVerifyClean provides Office Communications Server administrators with step-by-step guidance through the tricky process of removing Office Communications Server products. You can download this tool and other Office Communications Server 2007 R2 Resource Kit tools from the <b><a href="https://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=15344" target="_blank"><span style="color: #0000ff;" color="#0000ff">Download Center</span></a></b><i>.</i></span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Description </span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The Office Communications Server set-up program checks for the remnants of prior installations of Office Communications Server. The set-up program may halt the installation process if legacy Office Communications Server information is detected locally on the computer that is running Windows Server. LcsVerifyClean verifies that your computer is clean of Office Communications Server product binaries, registry keys, and Windows Management Instrumentation (WMI) classes that may belong to a prior installation of Office Communications Server. LcsVerifyClean outputs the needed step-by-step uninstallation instructions to the Command Prompt window that it is run from. This process helps ensure the uninstallation of Office Communications Server from a computer running Windows Server.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Output </span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">If LcsVerifyClean locates any legacy information, the tool provides the location of the unwanted information, and then prompts the administrator to remove it from the system before again running LcsVerifyClean from its Command Prompt window. For instance, when LcsVerifyClean locates Office Communications Server binaries that are installed on the computer running Windows Server, LcsVerifyClean will prompt the administrator to remove the preexisting binaries by using Add/Remove Programs in Control Panel in Windows Server 2003 or Program Features applets in Windows Server 2008 (see Figure 2). If LcsVerifyClean locates no legacy Office Communications Server information on the computer running Windows Server, the tool provides output as shown in Figure 1.</span></span></p>
<p class="CaptioninList"><span style="font-family: %value;"><strong><span style="color: #4f81bd;" color="#4f81bd"><span face="Calibri">Figure 1. LcsVerifyClean shows the computer running Windows Server is clean of any legacy Office Communications Server information</span></span></strong></span></p>
<p><strong><span style="font-family: Calibri; color: #4f81bd;" face="Calibri" color="#4f81bd"></span></strong><span style="font-size: small;" size="3"><span style="font-family: Calibri;" face="Calibri"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/8688.LcsVerifyClean_Figure_1.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/8688.LcsVerifyClean_5F00_Figure_5F00_1.jpg"></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/7558.LcsVerifyClean_Figure_1.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/7558.LcsVerifyClean_5F00_Figure_5F00_1.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/7558.LcsVerifyClean_Figure_1.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/7558.LcsVerifyClean_5F00_Figure_5F00_1.jpg" /></a>&nbsp;</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Purpose</span></span></h3>
<p><span style="font-family: %value;" face="Calibri"><span size="3">LcsVerifyClean has been available for use with both Office Communications Server 2007 R2 and Office Communications Server 2007. Each new release of LcsVerifyClean has been designed to check for the previous versions and the current version of Office Communications Server on the computer running Windows Server that hosts Office Communications Server. Using LcsVerifyClean as a preliminary step during the installation process of Office Communications Server helps ensure a trouble-free installation of Office Communication Server. Moreover, using LcsVerifyClean as the last step of the uninstallation process for an Office Communications Server uninstallation ensures that the computer running Windows Server that is to be re-purposed has no legacy Office Communications Server binaries, registry entries, or WMI information. The LcsVerifyClean uninstallation process begins with the manual uninstallation of any preexisting Office Communications Server binaries by using either of the following:</span></span></p>
<ul>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2008: Program Features applets</span></span></li>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2003: Add/Remove Programs in Control Panel </span></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri">After all preexisting Office Communications Server binaries have been removed, subsequent uses of LcsVerifyClean check for unwanted registry entries, installation folders, and WMI information. When the clean-up operation is complete, LcsVerifyClean will return information that is similar to Figure 1.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Requirements</span></span></h3>
<p><span style="font-family: %value;" face="Calibri"><span size="3">The Office Communications Server 2007 R2 Resource Kit tools are supported on the following Window Server operating systems:</span></span></p>
<ul>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2008 operating system</span></span></li>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2003 Standard Edition operating system with Service Pack 2 (SP2)</span></span></li>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2003 Enterprise Edition operating system with Service Pack 2 (SP2)</span></span></li>
</ul>
<p><span style="font-family: %value;" size="3"><span face="Calibri">LcsVerifyClean requires the equivalent permissions from a member of the Domain Admins group in the Active Directory Domain Services domain that is hosting the Office Communications Server installation.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Examples</span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">An Office Communications Server installation may be halted if the installation program detects any previously installed Office Communications Server information on the computer running Windows Server. LcsVerifyClean can determine the cause of the Office Communications Server installation failure (see Figure 2).</span></span></p>
<p></p>
<p><span style="font-family: %value;"><strong><span style="color: #4f81bd;" color="#4f81bd"><span face="Calibri">Figure 2. LCS Verify Clean displays the Office Communications Server binaries that need to be removed</span></span></strong></span></p>
<p></p>
<p><span style="font-family: %value;" face="Calibri"><span size="3"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/7875.LcsVerifyClean_Figure_2.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/7875.LcsVerifyClean_5F00_Figure_5F00_2.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/7875.LcsVerifyClean_Figure_2.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/7875.LcsVerifyClean_5F00_Figure_5F00_2.jpg" /></a></span></span></p>
<p><span style="font-family: %value;" face="Calibri"><span size="3">Figure 2 recommends either of the following to remove the prior Office Communications Server installation application data from the system:</span></span></p>
<ul>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2008: Program Features applets</span></span></li>
<li><span style="font-family: %value;" size="3"><span face="Calibri">Windows Server 2003: Add/Remove Programs in Control Panel</span></span></li>
</ul>
<p class="AlertText"><span style="font-family: %value;"><span size="3"><span face="Calibri"><b>Note</b> The use of the Windows Installer Cleanup Utility in Figure 2 is no longer distributed or recommended by Microsoft. For details, see </span></span><a href="https://support.microsoft.com/kb/290301" target="_blank"><span style="color: #0000ff;" face="Calibri" size="3" color="#0000ff">How do I uninstall Office 2003, Office 2007 or Office 2010 suites if I cannot uninstall it from Control Panel?</span></a><span size="3"><span face="Calibri"> </span></span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">After the uninstallation of residual Office Communications Server applications from the computer that is running Windows Server, running LcsVerifyClean again displays legacy registry information that can halt the installation of Office Communications Server (see Figure 3).</span></span></p>
<p></p>
<p class="CaptioninList"><span style="font-family: %value;"><strong><span style="color: #4f81bd;" color="#4f81bd"><span face="Calibri">Figure 3. LcsVerifyClean displays legacy registry information that needs to be removed</span></span></strong></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/1263.LcsVerifyClean_Figure_3.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/1263.LcsVerifyClean_5F00_Figure_5F00_3.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/1263.LcsVerifyClean_Figure_3.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/1263.LcsVerifyClean_5F00_Figure_5F00_3.jpg" /></a></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The error information in Figure 3 suggests removing legacy Office Communications Server registry information that is located at HKLM\Software\Microsoft\Real-Time Communications by using the registry editor tool on the computer running Windows Server (see Figure 4).&nbsp;</span></span><span style="font-family: %value;" face="Calibri" size="3">&nbsp;</span></p>
<p class="AlertText"><span style="font-family: %value;" size="3"><span face="Calibri"><b>Warning:</b> Before your delete any registry information, export (back up) this information as a .reg file to a safe location.</span></span></p>
<p></p>
<p><span style="font-family: %value;"><strong><span style="color: #4f81bd;" color="#4f81bd"><span face="Calibri">Figure 4. Use the Windows Server registry editor to remove the unwanted registry information</span></span></strong></span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0675.LcsVerifyClean_Figure_4.jpg" original-url="blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0675.LcsVerifyClean_5F00_Figure_5F00_4.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/73/0675.LcsVerifyClean_Figure_4.jpg" original-url="blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-73/0675.LcsVerifyClean_5F00_Figure_5F00_4.jpg" /></a></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The legacy Office Communications Server uninstallation may now be complete. To confirm this, use the LcsVerifyClean tool one more time to ensure that its output matches the information in Figure 1.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Summary</span></span></h3>
<p><span style="font-family: %value;" size="3"><span face="Calibri">Using the Office Communications Server 2007 R2 Resource Kit LCS Verify Clean tool to ensure the complete uninstallation of Office Communications Server from a computer running Windows Server is a sound preventive measure to take before re-purposing that server. </span></span></p>
<p><span style="font-family: %value;" size="3"><span face="Calibri">The challenge of a failed Office Communications Server installation can be met through the proper use of LcsVerifyClean to help ensure that residual Office Communications Server information is not preventing the installation. LcsVerifyClean has been updated and is reliable when used with either Office Communications Server 2007 R2 or Office Communications Server 2007.</span></span></p>
<h3><span style="font-family: %value; color: #365f91;" color="#365f91"><span face="Cambria">Additional Information</span></span></h3>
<p><span style="font-family: %value;" face="Calibri"><span size="3">For more information, see the following:</span></span></p>
<ul>
<li><a href="https://www.microsoft.com/downloads/en/details.aspx?familyid=9E79A236-C0DF-4A72-ABA6-9A9602A93ED0&amp;displaylang=en" target="_blank"><span style="color: #0000ff;" face="Calibri" size="3" color="#0000ff">Office Communications Server 2007 R2 Resource Kit Tools</span></a></li>
<li><a href="https://support.microsoft.com/kb/290301" target="_blank"><span style="color: #0000ff;" face="Calibri" size="3" color="#0000ff">How do I uninstall Office 2003, Office 2007 or Office 2010 suites if I cannot uninstall it from Control Panel?</span></a></li>
</ul>
<h3><span style="color: #365f91;">Lync Server Resources</span></h3>
<ul>
<li><a href="https://go.microsoft.com/fwlink/?LinkId=202714" target="_blank">Lync Server 2010 documentation in the TechNet Library</a></li>
<li><a href="blogs.technet.com/b/nexthop/" target="_blank">NextHop blog</a></li>
<li><a href="blogs.technet.com/b/nexthop/p/links.aspx" target="_blank">Lync Server and Communications Server resources</a></li>
</ul>
<h3><span style="color: #365f91;">We Want to Hear from You</span></h3>
<ul>
<li><a href="www.facebook.com/?ref=home#!/pages/DrRez-Microsoft-Lync-Team/186325747060" target="_blank">Fan us on Facebook</a></li>
<li><a href="https://twitter.com/DrRez" target="_blank">Follow us on Twitter</a></li>
<li><a href="mailto:nexthop@microsoft.com">Send us e-mail</a></li>
</ul>
<p><span style="font-family: %value;"><strong><span size="3"><span face="Calibri">Keywords: </span></span></strong><span size="3"><span face="Calibri">WMI, removal, setup, failure, uninstallation</span></span><span size="3"><span face="Calibri"> </span></span></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>