I'm trying to install the Prerequisites by running the prerequisiteinstaller.exe but i'm stuck at this Application Server Role, Web Server (IIS) Role: configuration error

I have tried the following:

  1. Do windows update (done with about 60 somthing MB)
  2. Adding the roles manually through Server Manager but it turns out that they already been added!
  3. Failed with installing KB 2771431, got this msg The update is not applicable to your computer.
  4. Tried to do the alternative method Method 2 as mentioned here and also nothing happened

I'm running this test environment on VMWare with 8 G.B of RAM and 120 G.B Hard drive capacity

Please suggest.


SharePoint 2013 is not supported on Windows Server 2012 R2. This will possibly change with the release of SP1 for SharePoint 2013 this spring.

More: http://support.microsoft.com/kb/2891274

  • Wow, Didn't know that! thanks anyway, Could you please add a reference for your answer. – Rami.Shareef Dec 26 '13 at 14:04
  • Sure can, have added a link to Microsofts open support page regarding this – Robert Lindgren Dec 26 '13 at 14:13

go to windows\system32 directory.

Then make a backup of servermanager.exe and then rename to servermanagercmd.exe

i hope it will work then!

It works.. for me - Amardeep

  • 1
    This works for me too... – agzertuche Aug 1 '14 at 20:02
  • 1
    This solution works for me too – Mohsen Alikhani Oct 29 '14 at 16:19
  • You made my day. – Besher Aug 15 '17 at 23:04

protected by Community Aug 13 '14 at 6:27

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.