web server / iis won't install on server 2012

2

I'm trying to install Web server role / iis to my dynamic Windows 2012 cloud server but keep getting the following errors:

If I have the following not installed and try to install web server / iis 8.0 it keeps telling me I have a restart pending. If I go to tools I can see iis manager and open it and navigate to local host however the role is not added to the server and on restarting it all disappears.

  • “Windows Process Activation Services"

If I install the above and try and install I get the following error code which google has not revealed much

  • 0x800f0922

I have so far tried the following - deleting the main folder on drive C: - tried installing via powershell and command promt - removing iis by running the following command "start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService" - I have also run the following command: dism /online /cleanup-image /restorehealth - I have cleared / deleted the updates to see if something was in corrupted. - I have also ran the .NET fix application.

Other roles still install on the system.

Has anyone got any ideas what else can try before I have to wipe the system which seems a bit over kill and a lot of work as this is a live production server.

Thanks in advance. J

iis
web-server
windows-server-2012
asked on Server Fault May 4, 2016 by Hoube78

1 Answer

0

Check the IIS and CBS (component based setup) logs, should yield more details on what failed.

IIS Logs: c:\windows\iisx.log (where 'x' is the version of IIS you're installing)
CBS Logs: c:\windows\logs\cbs

answered on Server Fault May 4, 2016 by Sloan Ozanne

User contributions licensed under CC BY-SA 3.0