When installing Sharepoint 2013 on a virtual machine running Windows Server 2012 R2 I keep getting a configuration error for the Application Server Role. After reading a bunch of material and trying to install Windows updates I’ve found that the only thing necessary is to make a copy ofÂ C:\Windows\System32\ServerManager.exe and rename the copy toÂ C:\Windows\System32\ServerManagerCMD.exe. This seems to fix my installation problems.
Make sure to close the server manager window as well if you have it open. It seems to make the installation hang if its open.