So you have a brand new Windows 2008 R2 server that you plan to use as your Lync 2013 Server. First question is - why not use Windows Server 2012? Well, if you do have a good answer for that, please read on.
You have probably received the Lync installation files as an ISO file, so the first thing you need is some sort of software to access the contents of this file. I would recommend the MagicDisc freeware which you can use to mount the ISO file as a device in your server.
If you tried to run the Lync 2013 setup.exe now, you would see the following message.
So, on to downloading and installing Windows Server 2008 R2 Service Pack 1
To install the roles and features required for Lync 2013, open a powershell prompt as administrator and run the following commands:
Add-WindowsFeature Web-Dyn-Compression,desktop-experience,RSAT-ADDS,Web-Server,Web-Scripting-Tools,Web-Windows-Auth,Web-Asp-Net,Web-Log-Libraries,Web-Http-Tracing,Web-Stat-Compression,Web-Default-Doc,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Errors,Web-Http-Logging,Web-Net-Ext,Web-Client-Auth, Web-Filtering,Web-Mgmt-Console,Msmq-Server,Msmq-Directory
Next, you need the following three packages:
Heap corruption occurs when a module calls the InsertEntityBody method in IIS 7.5
Now you are ready to double-click setup.exe from the Lync 2013 installation package.
One additional prerequisite that you probably would like to load on your server is Silverlight which is required to run the Lync Control Panel.