I have a machine running Windows Server 2012 Datacentre and have been having problems re-installing IIS. It had been installed previously but could not properly locate the .NET central configuration so I tried a re-install. The uninstall went fine although when re-installing (after a reboot) I was presented with the error:
The operation cannot be completed because the server that you specified requires a restart
At first I tried a restart but I still got this error afterwards. I searched the Internet and have tried several options including:
- Add NT SERVICE\ALL SERVICES to the Log on as a service privilege in Group Policy - this was already set on my machine
- Explicitly add MSSQL$MICROSOFT##WID to the Log on as a service privilege in Group Policy - this user/service could not be found and could therefore not be added
- Install Windows Internal Database - the install failed alongside IIS
What is odd is IIS is not installed but it still appears as a snap-in in the Computer Management MMC but not in Server Manager.
Is there anything else I can try other than a full Windows re-install and reset? I can run IIS on a VM on top of this server but the fact I have problems configuring server roles and features concerns me as it is effectively a faulty instance at present.
The server has the Hyper-V role enabled and Visual Studio 2015 Community and SQL Server 2014 Enterprise installed.