<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p>NOTE: I have attached the DHCPUTIL and all of the other required files with it, so you directly download them to your DHCP Server.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2527 " id="quads-ad2527" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2531 " id="quads-ad2531" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2529 " id="quads-ad2529" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>This is the shortest way to setup up Pin Authentication for Lync on the DHCP Server&#8230; </p>



<p>First Copy/Download all the DHCP Utilities content from Lync Front end server to DHCP server and run the following command line</p>



<p>Note: Make sure you run DHCP on Command line (CMD) as an administrator. </p>



<p>DHCPUtil.exe -SipServer YourFrontendFQDN.com –WebServer YourFrontendFQDN.com -RunConfigScript</p>



<p>On Lync Server make sure you run the following CMDLET on Lync powershell </p>



<p>set-CsRegistrarConfiguration -EnableDHCPServer $true</p>



<p>That&#8217;s it you should be all set after you ran this command line and you should be able to see the new DHCP options are showing in the DHCP server console. </p>



<p>To test the configuration you can run the same tool with a different parameter which will do the test for you, On a nother computer that&#8217;s not the &#8220;DHCP&#8221; open command prompt and run the following command line.</p>



<p>DHCPutil.exe -EmulateClient</p>



<p>Note: I&#8217;m attaching all the required files to this page below for download.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2528 " id="quads-ad2528" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/Q_tKxq_UifDE14Yx1e-U1HjLuVWZqDtm63XNaozkLbvaTQEIyYXJWo1PdrmzbZi3o2pcd4YhIDMkgLAT8yYIxlkNPIxwKcwYAa1gWX6jGZnZny0yIKo=w874" alt=""/> 

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2525 " id="quads-ad2525" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</figure>



<figure class="wp-block-image"><img src="https://lh5.googleusercontent.com/-22DRJWSVOLKwOraKUMvuRdZsv_TI_8aHfXJIKUINCyHama_xRxkF3Jj9Q46kDjLLM0pHUgb=w673" alt=""/></figure>



<figure class="wp-block-image"><img src="https://lh4.googleusercontent.com/9Ep6o2t0fLA64qJDDlKhaXtGqrImNRECJQozGKAfrdZcryUkdH4aiW4J1gyRoDc-YMxlOWFZsZnjlYH5zUIleMJoSRBmJVMZ4Dv7DM5xAYIPG8fmWAg=w874" alt=""/></figure>



<p><strong>Troubleshooting: </strong></p>



<p>If you run the command and you get the error below, then you might have a missing step </p>



<p>DHCPUtil.exe -SipServer YourFrontendFQDN.com –WebServer YourFrontendFQDN.com -RunConfigScript</p>



<p>C:\Users\admin\Desktop>;DHCPUtil.exe -EmulateClient</p>



<p>Starting Discovery &#8230;</p>



<p>Result: Failure = -2147014848</p>



<p>Resolution:</p>



<p>On the Lync Server run the command </p>



<p>set-CsRegistrarConfiguration -EnableDHCPServer $true </p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>




<p>Again on Lync server &#8220;Not DHCP&#8221; run the DHCPUtil.exe -EmulateClient to test the configuration.</p>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2523 " id="quads-ad2523" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…