<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>RamblingsFromTheField</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:48:47 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Make friends and work closely with your networking team: Skype audio and video</title>
      <link>https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/make-friends-and-work-closely-with-your-networking-team-skype-audio-and-video</link>
      <pubDate>Wed, 29 Mar 2017 14:10:20 GMT</pubDate>
      <dc:creator><![CDATA[Mack McMillan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ramblingsfromthefield/?p=85</guid>
      <description><![CDATA[Imagine that you are a car manufacturer. Of course I am talking about Ford. You have a meeting with...]]></description>
      <content:encoded><![CDATA[Imagine that you are a car manufacturer. Of course I am talking about Ford. You have a meeting with the county and they determine that they will do no more road maintenance because they cannot afford to pay inspectors to review the integrity of the roads. Unless you’re a real man and drive a Ford Pickup Truck this is horrible news. Fairly soon the road will have so many pot holes that driving a car will become very difficult and unpleasant.

Your users will no longer enjoy taking drives in their cars. Car sales will fall off and you will soon be laying off all of your employees. Users will go back to using your competitor’s products; horse and buggy, motorcycle, walking, etc.

You have two options:
<ol>
 	<li>Explain to your users that it is the county’s fault for not monitoring their roads.</li>
 	<li>Now imagine that you make a deal with the county. Since your employees travel down the county roads every day, you will have your employees provide feedback to the county when they find a pot hole. Then the county can dispatch a maintenance crew to repair that specific area of the road. You do not need to shut down your factories and lay everybody off. Users are happy again.</li>
</ol>
It’s a win-win situation.

Hopefully you can see where I am going with this. You need to use the Skype monitoring reports, especially the location report, to let the networking team know what the issue is and the IP addresses of the end points that experienced the issues.

Skype is the canary in the coal mine. (Shout out to our President for putting our coal miners back to work.) Real time Audio and Video will find every little issue with the network. Providing this information to the networking team will help everybody involved.

Key network issues that affect Skype:

<strong>Packet loss</strong>: I have seen the following cause this
<ul>
 	<li>Quality of Service (QoS). This is very common when QoS is configured properly on Skype and the OS but not properly configured on the internal network or the ISP’s network. I have found with Verizon that they have a service called Gold Car where they expedite all traffic in the EF queue. However, if the customer’s network equipment is putting Audio packets in the EF queue but Gold Car is not configured on the Verizon circuit, all of the audio packets are dropped.</li>
 	<li>Congestion on the network. There just simply is not enough bandwidth to handle all of the demands. Packets will be dropped.</li>
 	<li>Maxim Transmission Unit (MTU) size mismatch. The maximum size of the packets is set on the computer and the network equipment. If the computer is using a larger packet size than the network equipment then those packets must be fragmented, often leading to Packet drops. A common issue is when the MTU size is set differently at remote locations than it is at the datacenter.</li>
</ul>
<strong>Jitter</strong>: I have seen the following cause this:
<ul>
 	<li>Congestion on the network.</li>
 	<li>QoS</li>
 	<li>MTU size mismatch</li>
 	<li>Jitter buffer <a href="http://searchunifiedcommunications.techtarget.com/definition/jitter-buffer">http://searchunifiedcommunications.techtarget.com/definition/jitter-buffer</a></li>
</ul>
<strong>Latency:</strong> When it takes the packets too long to get from point A to point B the quality of the audio and video will be significantly degraded.

<a href="http://sourcedaddy.com/windows-7/what-causes-latency-how-measure-it-and-how-to-control-it.html">http://sourcedaddy.com/windows-7/what-causes-latency-how-measure-it-and-how-to-control-it.html</a>
<ul>
 	<li>When dealing with international organizations the distances between locations can be too great to get the packets to their destination in a timely manner.</li>
 	<li>Routing.  I have seen many cases where routing was not properly configured to use the most efficient path for the packets. You can provide evidence of this to the networking team by doing a trace route between the end points and providing the screen capture of the results.</li>
</ul>
I have saved screen shots of trace routes to my key locations, when all is well, so that I can compare them to new trace routes when I suspect a routing issue. It is not uncommon for the route to change as network equipment goes offline. Also Performance based routing can cause a route change.

The maximum latency that Microsoft considers acceptable for Skype Audio and Video is 150ms per direction. Meaning that for an A/V conference there should be no more than 150ms from the client to the server and 150ms from the server back to the client.

I have built a good relationship with my networking teams at most of my customers. There was one that no matter how nice I was they hated me because my application was using their bandwidth and I wouldn’t allow them to perform deep packet inspection on traffic to and from the Edge servers.

At my current customer I have almost daily meetings with the network team to explain where there are possible issues. This makes things much better for the users, rather than me complaining about the network and doing nothing of value.

Working with the closely with the networking team we have reduced the poor call quality from 40% to below 1%.]]></content:encoded>
    </item>
    <item>
      <title>Performance Based Routing: not necessarily good for real time audio and video</title>
      <link>https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/performance-based-routing-not-necessarily-good-for-real-time-audio-and-video</link>
      <pubDate>Tue, 28 Mar 2017 11:21:33 GMT</pubDate>
      <dc:creator><![CDATA[Mack McMillan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ramblingsfromthefield/?p=75</guid>
      <description><![CDATA[At first read performance based routing sounds great. The network automatically choosing the best...]]></description>
      <content:encoded><![CDATA[At first read performance based routing sounds great. The network automatically choosing the best route based on the performance of the routes and being able to make automatic adjustments without admin intervention.

However if the network doesn’t converge quickly after the route is changed it can adversely affect real time audio and video. At my customer we use both Skype and ACANO/CISCO VTC. The network is stretched across the globe but mostly across the greatest country in the world, you guessed it “the United States of America”.

Several of our field sites were having issues when using real time audio and video. Their Lync clients would disconnect constantly during A/V conferences and peer to peer sessions with users at other locations, the Video would freeze and the Audio drop. Needless to say the users at these locations were very unhappy with Microsoft and ACANO.

After many times of providing metrics, pulled from the Skype monitoring reports I was finally able to get the networking team to take notice and monitor the network for one of the remote locations for more than a 30 second snap shot. What they found was that every few minutes routing loops would form and it would take about 30 seconds before things went back to normal.

Another indicator was that performing tracert’s you could see the routes changing frequently.

The network engineer, we’ll call him Bob, determined that this was one of the remote locations where Performance Based Routing had been Piloted. For some reason the route was constantly changing and when it did it would take the network up to 30 seconds to converge.

30 seconds is a life time for Skype.

After removing the performance based routing we held a 30 minute A/V conference with several sites, including the affected site and the experience was as expected. The users at the location were extremely happy. Of course they all asked me what I had fixed in Skype and the ACANO. Luckily for me the network engineer is a standup guy and explained in detail about the issue.

Of course now we are fighting the battle with the manager who championed performance based routing as the magical thing that would fix all of our networking issues. No one wants to hear that their baby is ugly.

Performance Based Routing:

<a href="http://www.cisco.com/c/en/us/products/ios-nx-os-software/performance-routing-pfr/index.html">http://www.cisco.com/c/en/us/products/ios-nx-os-software/performance-routing-pfr/index.html</a>

<a href="http://docwiki.cisco.com/wiki/Performance_Routing_FAQs">http://docwiki.cisco.com/wiki/Performance_Routing_FAQs</a>

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Office 2013 Lag – Slow Launch on a Closed Loop Network</title>
      <link>https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/office-2013-lag-slow-launch-on-a-closed-loop-network</link>
      <pubDate>Mon, 06 Mar 2017 02:37:05 GMT</pubDate>
      <dc:creator><![CDATA[Flurb]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ramblingsfromthefield/?p=65</guid>
      <description><![CDATA[Day 1:
Today my customer is experiencing an issue with multiple lag problems running Office 2013 on...]]></description>
      <content:encoded><![CDATA[Day 1:
Today my customer is experiencing an issue with multiple lag problems running Office 2013 on a Closed Loop Network.  What is a Closed Loop Network?  Closed Loop Network (which I will reference as CLN from now on) is a network that has NO ability to connect the Internet.  Let’s breakdown the scenario:
1) Running Windows 7 w/SP-1.
2) Running Office 2013 w/SP-1.
3) Running McAfee antivirus.
4) Running Internet Explorer as the default browser.
5) Bitlocker is being used for hard drive encryption
6) All workstations are domain joined.
7) All Domain Controllers are running Server 2012R2 (DFL/FFL is also at 2012R2).
8) Home Drives (H-Drives) are mapped to NetApp appliances.
9) Folder Redirection for My Documents also points to the same NetApp appliance.
10) No roaming profiles.
Here is what ALL customers are experiencing:
1) Customer Logs in.
2) Customer launches Word 2013 (I just picked this application as an example).
3) At the Word 2013 “splash screen”, you see one of the following plug-ins load and sit there for up to 30 seconds (per plug-in):
a. OneNote 2013.
b. Adobe Acrobat XI.
c. Dragon Naturally Speaking.
4) Once all the plug-ins finish, then the customer can utilize Word 2013.
a. If they were to close Word and re-open Word, the behavior happens all over again.
5) This is happening to all main Office 2013 applications (Outlook, Word, Excel &amp; PowerPoint, but not Access).
6) Obviously not everyone has all 3 of the above “problem” plug-ins installed but for those that do, they are experiencing up to a 90 second lag every time they launch an Office application.

Now I just love spoilers, so I am going to tell you what the culprit/root cause is:
CRL Checking.
The how/what/why/who/when/where I will get in to on Day 2, which I will post tomorrow.
………… to be continued.

&nbsp;

Day 2 (sorry for the delay):

Let me start off by saying that 2 of my most commonly used tools are ProcMon (part of the SysInternals Suite) and NetMon (but this has been replaced by Microsoft Message Analyzer).  ProcMon (Process Monitor) is great at giving you a SUPER detailed report of every process that is running on your computer and what it is try do (Query/Write/Open a file or registry key).  NetMon (Network Monitor) is great at giving you a SUPER detailed report of every process that is running that is accessing a Port and/or Protocol.  The reports that these utilities create can be overwhelming.  I ran both of these tools (not going in to detail about the use of these great utilities), one at a time, and started digging through the results.  These are the "key" items that I observed:
<ol>
 	<li> When I launched Word (with Dragon Naturally Speaking installed) I saw DNS traffic looking for crl.verisgn.com.</li>
 	<li>When I launched Word (with OneNote 2013 previous launched, this is KEY) I saw DNS traffic looking for crl.microsoft.com (NOTE:  I later found out that this also happened with Visual Studio installed)</li>
 	<li>When I launched Word (with Adobe Acrobat XI installed) I saw DNS traffic looking for crl.symcb.com &amp; crl.symdb.com &amp; ocsp.symantec.com.
<ol>
 	<li>NOTE:  symcb and symdb are simply variants of Symantec.</li>
</ol>
</li>
</ol>
Well on a CLN (Closed Loop Network), this type of traffic is NEVER going to resolve and the websites will never be reached and therefore the servers at the other end of these request will never respond.  The most important part of these URLs are the CRL (Certificate Revocation List) and OCSP (Online Certificate Status Protocol) section.  Without going in to SUPER detail, these products are trying to contact a server to find out if the certificates that were used to sign their perspective company's files are valid or not.  Since there is no server to talk to, they wait XXX number of seconds, then timeout.  XXX number of seconds = LAG!  Each plugin that is installed is that much more LAG experienced.  If each plug-in take 30 seconds and you have all 3 products installed, it could take Word over 90 seconds to launch before the customer can type his/her first letter.  Well this is highly unacceptable.

So now that we know that the Certificate checking is causing the lag there are 3 more things we need to figure out.
<ol>
 	<li> What files are causing this Certificate checking?
<ol>
 	<li>Well I left my list of DLL/MSI/EXE files for each product at work, so I can't provide that this today but I will have then added to this BLOG by the end of the week.</li>
</ol>
</li>
 	<li>Are there any other websites/URLs that these plug-ins are trying to reach that my captures may have missed?
<ol>
 	<li>HECK YES!</li>
 	<li>Between the 3 plug-ins there were almost 20 different URLs that these products were trying to access (that I captured).</li>
</ol>
</li>
 	<li>How do eliminate/reduce the LAG time of the Certificate checking that will NEVER work?
<ol>
 	<li>This is the most important question on this entire web page.</li>
 	<li>There are over 8 different ways to attack this, but I am only going to focus on the 2 that I used</li>
</ol>
</li>
</ol>
Option #1 (AKA: The down and dirty, I washed my hands for hours after doing this and never felt clean):

NOTE:  I highly recommend to NEVER DO THIS long term and only use this method as a Proof Of Concept/testing.  Also NEVER do this on an Internet connected computer!
<ol>
 	<li> HOSTS. file
<ol>
 	<li>Using the HOSTS. file (no extension), located at the C:\Windows\System32\Drivers\ETC folder, I added the following "DNS" entries:
<ol>
 	<li>127.0.0.1     crl.microsoft.com</li>
 	<li>127.0.0.1     crl.verisign.com</li>
 	<li>127.0.0.1     crl.symcb.com</li>
 	<li>127.0.0.1     crl.symdb.com</li>
 	<li>127.0.0.1     ocsp.symantec.com</li>
</ol>
</li>
 	<li>I then saved the HOSTS. file (by default it is read only to a "normal" user).</li>
 	<li>I re-launched Word and the launch time, with all 3 plug-ins installed, was between 5-10 seconds (before it was over a minute long).
<ol>
 	<li>I tested this with Excel, PowerPoint and Outlook and they all had the same speed improvement.</li>
</ol>
</li>
</ol>
</li>
</ol>
So what did I do/accomplish by modifying my HOSTS. file?  I told the software that when you go looking for these EXACT (notice there are no wildcards being used here) websites that you will "call home".  127.0.0.1 is every computer home address, no matter what its true IP address is.  So the Certificate checking was looking for crl.microsoft.com, and the HOSTS file said to look locally ("call home") and since there was a computer with a "heart beat", the timeout took less than 1 second.  The fact that your computer CAN NOT perform Certificate checking on these plug-ins and their files is irrelevant.  There are some big downsides of doing this:
<ol>
 	<li>This is a manual process to create and maintain these entries.</li>
 	<li>There is a good chance that these websites addresses will change with future releases of their products (I know that one of Dragon Naturally Speaking crl sites changed between v10 and v12)).</li>
 	<li>Since I can't use wildcards there is a good chance that I will miss one of the Certificate sites that the plug-in may reference later on in the usage of the application.</li>
 	<li>OH YEA, this is just a horrible idea (did I mention that I felt dirty even trying this?)!</li>
</ol>
So, what is a better way to handle this?  Remember the modification of the HOSTS. file should only be used for testing or a temporary solution.  Also remember this is a CLN (Closed Loop Network), any traffic destined for ANYTHING.Microsoft.com or ANYTHING.Symantec.com or ANYTHING.Verisgn.com will NEVER make it.  Time to break out the BIG GUNS and start creating zones in DNS.

However I will cover what we tested and finally did in DNS tomorrow.

………… to be continued.]]></content:encoded>
    </item>
    <item>
      <title>Services on Lync Edge server will not start and 14611, 42012 errors are in the logs</title>
      <link>https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/services-on-lync-edge-server-will-not-start-and-14611-42012-errors-are-in-the-logs</link>
      <pubDate>Fri, 14 Nov 2014 13:55:22 GMT</pubDate>
      <dc:creator><![CDATA[Mack McMillan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ramblingsfromthefield/2014/11/14/services-on-lync-edge-server-will-not-start-and-14611-42012-errors-are-in-the-logs/</guid>
      <description><![CDATA[I wrote this blog after the customer asked me to look intowhy one of their Edge server&rsquo;s...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: times new roman,times; font-size: large;">I wrote this blog after the customer asked me to look into</span><br /><span style="font-family: times new roman,times; font-size: large;">why one of their Edge server&rsquo;s services would not start and would not</span><br /><span style="font-family: times new roman,times; font-size: large;">replicate.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">My customer has Two Lync Edge servers in its topology.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Issue: One edge server is functioning fine. The services on</span><br /><span style="font-family: times new roman,times; font-size: large;">the second Lync edge server would not start. The Lync Management Console on the</span><br /><span style="font-family: times new roman,times; font-size: large;">Front End server showed that only the healthy Edge server was replicating.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Lync Event logs on the troublesome Edge server shows 14611</span><br /><span style="font-family: times new roman,times; font-size: large;">and 42012 errors.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">&ldquo;Current topology configuration either does not include this</span><br /><span style="font-family: times new roman,times; font-size: large;">machine or the definition for this service.&rdquo;</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">A quick Bing search showed several blogs with the issue</span><br /><span style="font-family: times new roman,times; font-size: large;">being an error with the topology and importing it into the Edge server.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">At my customer this was not the issue.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">The customer had forgotten to add a primary DNS suffix to</span><br /><span style="font-family: times new roman,times; font-size: large;">the one of their Edge servers. So the Edge server had a short name but did not</span><br /><span style="font-family: times new roman,times; font-size: large;">have an FQDN. As you know Lync is all about FQDNs.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">I opened the computer properties, clicked on Advance System</span><br /><span style="font-family: times new roman,times; font-size: large;">Settings, clicked on Computer Name, clicked Change, clicked More, entered the</span><br /><span style="font-family: times new roman,times; font-size: large;">domain name into the Primary DNS Suffix of this computer window, clicked my way</span><br /><span style="font-family: times new roman,times; font-size: large;">out of the properties and rebooted the server.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">After the reboot the services were started and the</span><br /><span style="font-family: times new roman,times; font-size: large;">replication showed green on the Lync management console.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Turns out that the Event log error, &ldquo;Current topology</span><br /><span style="font-family: times new roman,times; font-size: large;">configuration either does not include this machine or the definition for this</span><br /><span style="font-family: times new roman,times; font-size: large;">service.&rdquo;, was spot on.&nbsp; The topology</span><br /><span style="font-family: times new roman,times; font-size: large;">listed an FQDN for the Edge servers, as it should. That FQDN did not exist on</span><br /><span style="font-family: times new roman,times; font-size: large;">the server so when the services tried to start there was no match for the FQDN</span><br /><span style="font-family: times new roman,times; font-size: large;">listed in the topology.</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/57/31/05/Lync%20Edge%20services%20do%20not%20start-14611-42012-errors.docx" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-57-31-05/Lync-Edge-services-do-not-start_2D00_14611_2D00_42012_2D00_errors.docx">Lync Edge services do not start-14611-42012-errors.docx</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Using SEFautil  to manage users delegates</title>
      <link>https://docs.microsoft.com/archive/blogs/ramblingsfromthefield/using-sefautil-to-manage-users-delegates</link>
      <pubDate>Fri, 14 Nov 2014 13:41:00 GMT</pubDate>
      <dc:creator><![CDATA[Mack McMillan]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/ramblingsfromthefield/2014/11/14/using-sefautil-to-manage-users-delegates/</guid>
      <description><![CDATA[I wrote this blog when my customer asked me to handle thefollowing issue. 
UserA had made UserB a...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family: times new roman,times; font-size: large;">I wrote this blog when my customer asked me to handle the</span><br /><span style="font-family: times new roman,times; font-size: large;">following issue. </span></p>
<p><span style="font-family: times new roman,times; font-size: large;">UserA had made UserB a delegate. However, now UserA is</span><br /><span style="font-family: times new roman,times; font-size: large;">archived and I wasn&rsquo;t allowed to remove them from Lync. UserB was tired of</span><br /><span style="font-family: times new roman,times; font-size: large;">getting Lync calls for UserA.&nbsp; Apparently </span><span style="font-family: times new roman,times; font-size: large;">UserA was quite popular.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">The SEFAutil resource kit utility was not easy to use.</span><br /><span style="font-family: times new roman,times; font-size: large;">However once you get the syntax down it does the job nicely.</span></p>
<p>&nbsp;</p>
<h3><span style="font-family: times new roman,times; font-size: large;"><strong>Using the SEFAutil Resource Kit tool</strong></span></h3>
<p><span style="font-family: times new roman,times; font-size: large;">Before you can use the SEFAutil tool to manage delegates and</span><br /><span style="font-family: times new roman,times; font-size: large;">calling features for users you need to configure the Lync environment to trust</span><br /><span style="font-family: times new roman,times; font-size: large;">the tool.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Environment:</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Domain: Mackzilla.com</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">SIPDomain: Songcha.com</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Site = Site1</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">PoolFQDN = Lyncpool.MackZilla.com</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">FrontEnd Servers: HQ-LYFE-401, HQ-LYFE-402,</span><br /><span style="font-family: times new roman,times; font-size: large;">HQ-LYFE-403</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4><span style="font-family: times new roman,times; font-size: large;">Create variable for site:</span></h4>
<p><span style="font-family: times new roman,times; font-size: large;">$site=Get-CsSite &ndash;Identity &ldquo;&lt;sitename&gt;&rdquo;</span></p>
<h4><span style="font-family: times new roman,times; font-size: large;">Create Trusted Application Pool</span></h4>
<p><span style="font-family: times new roman,times; font-size: large;">New-CsTrustedApplicationPool &ndash;Identity</span><br /><span style="font-family: times new roman,times; font-size: large;">&lt;LyncPoolnameFQDN&gt; -Registrar &lt;LyncPoolFQDN&gt; -Site $site.SiteID</span><br /><span style="font-family: times new roman,times; font-size: large;">&ndash;ComputerFQDN &lt;LyncFrontEndFQDN&gt;</span></p>
<h4><span style="font-family: times new roman,times; font-size: large;">Create Trusted Application</span></h4>
<p><span style="font-family: times new roman,times; font-size: large;">New-CsTrustedApplication &ndash;ApplicationID sefautil</span><br /><span style="font-family: times new roman,times; font-size: large;">&ndash;TrustedApplicationPoolFQDN &lt;TrustedApplicationPoolName&gt; -Port 7489</span><br /><span style="font-family: times new roman,times; font-size: large;">&lt;can be any unused Port Number&gt;</span></p>
<h4><span style="font-family: times new roman,times; font-size: large;">Enable the Topology</span></h4>
<p><span style="font-family: times new roman,times; font-size: large;">Enable-CsTopology</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Note: Allow the port through the firewall of the server your</span><br /><span style="font-family: times new roman,times; font-size: large;">running the SEFAutil command. In my case TCP:7489</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Example</span></p>
<p><br /><span style="font-family: times new roman,times; font-size: large;">$site=Get-CsSite &ndash;Identity &ldquo;site1&rdquo;</span></p>
<p><br /><span style="font-family: times new roman,times; font-size: large;">New-CsTrustedApplicationPool &ndash;Identity Lyncpool.MackZilla.com</span><br /><span style="font-family: times new roman,times; font-size: large;">&ndash;Registrar LyncPool.MackZilla.com &ndash;Site $site.SiteID &ndash;ComputerFQDN HQ-LYFE-401</span></p>
<p><br /><span style="font-family: times new roman,times; font-size: large;">New-CsTrustedApplication &ndash;ApplicationID sefautil</span><br /><span style="font-family: times new roman,times; font-size: large;">&ndash;TrustedApplicationPoolFQDN Lyncpool.MackZilla.com &ndash;Port 7489</span></p>
<p><br /><span style="font-family: times new roman,times; font-size: large;">Enable-CsTopology</span></p>
<h1><span style="font-family: times new roman,times; font-size: large;"><strong>To add additional Computers to the pool</strong>:</span></h1>
<p><span style="font-family: times new roman,times; font-size: large;">New-CsTrustedApplicationComputer&nbsp; -Identity &lt;LyncFrontEndFQDN&gt; -Pool</span><br /><span style="font-family: times new roman,times; font-size: large;">&lt;TrustedApplicationPoolFQDN&gt;</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Example:</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">New-CsTrustedApplicationComputer &ndash;Identity</span><br /><span style="font-family: times new roman,times; font-size: large;">HQ-LYFE-402.MackZilla.com &ndash;Pool Lyncpool.MackZilla.com</span></p>
<h1><span style="font-family: times new roman,times; font-size: large;">&nbsp;<strong>Using SEFAutil</strong></span></h1>
<p><span style="font-family: times new roman,times; font-size: large;">The Lync Resource Kit needs to be installed on the server.</span><br /><span style="font-family: times new roman,times; font-size: large;">In my case HQ-LYFE-401, HQ-LYFE-402 and HQ-LYFE-403.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Open a command prompt and navigate to the ResKit folder:</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">In my environment C:\Program Files\Microsoft Lync Server</span><br /><span style="font-family: times new roman,times; font-size: large;">2010\ResKit\</span></p>
<h4><span style="font-family: times new roman,times; font-size: large;"><strong>Remove a delegate from a user</strong></span></h4>
<p><span style="font-family: times new roman,times; font-size: large;">Type:&nbsp; sefautil.exe /server:&lt;fqdnofserverrunningsefautil&gt;</span><br /><span style="font-family: times new roman,times; font-size: large;">&lt;sipuriofuser&gt; /RemoveDelegate:&lt;SIPURIofdelegate&gt;</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Example: sefautil.exe /server:hq-lyfe-401.MackZilla.com <a href="mailto:userAlpha@songcha.com">userAlpha@songcha.com</a> /RemoveDelegate:USERBRAVO@songcha.com</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Note: Leave SIP: off of the user&rsquo;s sipuri.</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Note: The delegates sip name is case sensitive. Looking in</span><br /><span style="font-family: times new roman,times; font-size: large;">the Lync Management Console showed that the users sip name was capitalized. If you</span><br /><span style="font-family: times new roman,times; font-size: large;">don&rsquo;t match the case the command will not work. Oddly enough the case of the</span><br /><span style="font-family: times new roman,times; font-size: large;">actual user you are removing the delegate from does not matter.&nbsp; This command does not provide any errors so</span><br /><span style="font-family: times new roman,times; font-size: large;">you have to verify that it worked by looking at the final output of the</span><br /><span style="font-family: times new roman,times; font-size: large;">command:</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">If the command works the delegate name will not show:</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">User Aor: <a href="http://mce_host/controlpanel/blogs/posteditor.aspx/sip:userAlpha@songch.com">sip:userAlpha@songch.com</a></span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Display Name: User C.</span><br /><span style="font-family: times new roman,times; font-size: large;">Alpha</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">UM Enabled: True (Could</span><br /><span style="font-family: times new roman,times; font-size: large;">also say false)</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Simulring enabled:</span><br /><span style="font-family: times new roman,times; font-size: large;">false (Could also say true)</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">CallForwarding Enbaled:</span><br /><span style="font-family: times new roman,times; font-size: large;">false (Could also say true)</span></p>
<p>&nbsp;</p>
<p><span style="font-family: times new roman,times; font-size: large;">The command did not work if it says:</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">User Aor: <a href="http://mce_host/controlpanel/blogs/posteditor.aspx/sip:userAlpha@songch.com">sip:userAlpha@songch.com</a></span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Display Name: User C. Alpha</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">UM Enabled: True (Could</span><br /><span style="font-family: times new roman,times; font-size: large;">also say false)</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Simulring enabled:</span><br /><span style="font-family: times new roman,times; font-size: large;">false (Could also say true)</span></p>
<p><span style="font-family: times new roman,times; font-size: large;">Simultaneously Ringing</span><br /><span style="font-family: times new roman,times; font-size: large;">Delegates: <a href="http://mce_host/controlpanel/blogs/posteditor.aspx/sip:USERBRAVO@songcha.com">sip:USERBRAVO@songcha.com</a></span></p>
<p>&nbsp;</p>
<p><span style="font-family: times new roman,times; font-size: large;">If the delegate is</span><br /><span style="font-family: times new roman,times; font-size: large;">still listed then the command did not perform the task.</span></p>
<p>&nbsp;</p>
<p><span style="font-family: times new roman,times; font-size: large;">Note: This was written for the 2010 version of the tool.</span><br /><span style="font-family: times new roman,times; font-size: large;">There is a 2013 version as well. I will verify that the syntax is the same and</span><br /><span style="font-family: times new roman,times; font-size: large;">update this blog.</span></p>
<p>&nbsp;</p>
<p>Kudos to Jens Trier Rasmussen: <a href="http://blogs.technet.com/b/jenstr/archive/2010/12/07/how-to-get-sefautil-running.aspx">http://blogs.technet.com/b/jenstr/archive/2010/12/07/how-to-get-sefautil-running.aspx</a></p>
<p>Kudos to Frederik Lefevre <a href="http://www.ucprofessional.com/2011/05/sefautil.html">http://www.ucprofessional.com/2011/05/sefautil.html</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Components.PostAttachments/00/10/57/31/03/Using%20the%20SEFAutil%20Resource%20Kit%20tool.docx" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-57-31-03/Using-the-SEFAutil-Resource-Kit-tool.docx">Using the SEFAutil Resource Kit tool.docx</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>