Wednesday, February 25, 2015

Error: The tool was unable to install Application Server Role, Web Server (IIS) Role

Error: 
The tool was unable to install Application Server Role, Web Server (IIS) Role

Reason:
You will get this error, if you are trying to install "prerequisiteinstaller.exe" for SharePoint server 2013 in Windows server 2012. Because, the installer is unable to find the required file.

Solution:
If you are getting this error, you can easily find the actual error in the "log" file via the installer. The log file may say,












So what is the actual solution?


  • You have to go to "C:\Windows\system32\" in the server that you are install the prerequisites
  • Copy and paste the "ServerManager.exe" in the same folder
  • Rename the copy of ServerManager.exe as ServerManagerCmd.exe
  • Now try to run the prerequisiteinstaller.exe file. You will not get the above said error. 
Thats it...