Tuesday, September 4, 2012

Easy way to meet pre-requisites for Lync Server 2013 on Windows Server 2012

I build VM's with Lync Server 2013 every few days now testing failover and rebuild scenarios so I have everything worked out in my thick skull...

Until recently I used to memorize the requirements of the OS including IIS sub-feature components and often missed one item along the way. Since working with Windows Server 2012 I've found an easier way to meet the pre-requisites for Lync Server 2013 which I'm sure you'll find just as easy.

The process involves modifying a configuration XML file, and running a PowerShell command.

Step 1: Download (and rename) the XML file from my SkyDrive site
This file contains the Windows Server 2012 roles and features required to set up Lync Server 2013's basic feature-set.

https://skydrive.live.com/redir?resid=D6DA5D3A463728DA!947&authkey=!AJQgC9sDTF_36Ow (updated on September 4, 2012 @ 3:11PM)

Step 2: Modify the XML file
Open the XML file in Notepad and perform a find/replace on the "lync2013-02" name and type the name of your local server. Save the file to a location on your server making note of the path and file name.

Step 3: Open PowerShell as an Administrator
Right-click the PowerShell icon on the taskbar and choose "Run as Administrator"

Step 4: Run the PowerShell command
Next, type: "Install-WindowsFeature -ConfigurationFilePath C:\lync2013\lync2013pre-req.xml -Restart"

Once the roles and features have been installed, the server will reboot and will be ready for Lync Server 2013.

 NOTE: My lab environment required access to the Internet for the setup to complete otherwise it failed with an error indicating it couldn't connect to the source files. Not sure of this was an anomaly or what...

1 comment: