Automatic Registry for Lync Client to connect to OCS Server

One friend send me these lines to automate the configuration of the Lync Client and connect to Office Communicator Server (OCS 2007 R2) environment. Here are the one line to configure your client. For Lync 2010 to OCS reg add HKCU\Software\Policies\Microsoft\Communicator /v DisableServerCheck /t REG_DWORD /d 1 /f For Lync 2013 to OCS reg add HKLM\SOFTWARE\Policies\Microsoft\Office\15.0\Lync…