I’ve had to do this just often enough that every time I do it I have to google how. Hence this post!
In this case I needed to add the Lync DHCP options to a new 2012 R2 DHCP server from a new Lync 2013 server. I had just enough problems with it that I thought others could benefit from the experience.
So, to do this:
- Copy dhcputil.exe and dhcpconfigscript.bat from c:\program files\common files\Microsft Lync Server 2013 (or 2010)\ to c:\windows\system32 on your DHCP server
- While you’re here go ahead and copy msvcr110.dll and msvcp110.dll to c:\windows\system32 on your DHCP server. I found no instructions online that said to do this, but I couldn’t get it to run otherwise.
- Install the VC++ x64 2008 redistributable on your DHCP server. Can be found here VC2008 or on your Lync media
- Go to a command prompt and run: dhcputil.exe -sipserver <sip FQDN> – webserver <web server FQDN>
- Make sure this command is successful. NOTE that you have not yet actually done anything. To configure DHCP run it with the switch -runconfiscript
- Full command with example: dhcputil.exe -siperserver lyncfepool.web.com -webserver webint.web.com -runconfigscript
- If you now go over to DHCP and hit refresh on your options you’ll get an error. You’re not done
- Restart the DHCP server service.
- NOW hit refresh.
- There you go!