While running the Lync Setup you may come across the following error from Step 1: Install Local Configuration Store in the Lync Server 2013 – Deployment Wizard.
Fix: You can launch Server Manager and then add the feature: Windows Identity Foundation 3.5
After that run the wizard to “Install Local Configuration Store” and it should succeed.
Hope it helps.