IIS fails to install on Windows 7

0

I keep getting the error message when attempting to install IIS on Windows 7

"An error has occurred. Not all the features were successfully changed."

The iis7.log contains shows...

[07/17/2013 12:48:05] "C:\WINDOWS\System32\inetsrv\iissetup.exe" /install SharedLibraries
[07/17/2013 12:48:05] Successfully added IIS_IUSRS ACE to DACL at %ProgramData%\Microsoft\Windows\WER\ReportQueue.
[07/17/2013 12:48:05] < !!FAIL!! > Failed to acquire the NetFrameworkConfigurationKey key container context (result=0x8007054f)
[07/17/2013 12:48:05] < !!FAIL!! > Install of component SharedLibraries result=0x8007054f
[07/17/2013 12:48:05] < !!FAIL!! > COMPONENT::ExecuteCommand result=0x8007054f

I have tried doing a clean boot (disabling non-microsoft services) but this has not helped. Has anyone got anything to suggest?

Cheers, Dave

iis
asked on Stack Overflow Jul 17, 2013 by Dave • edited Jul 17, 2013 by vee

4 Answers

0

I've encountered the same error while I was installing the IIS on a windows 7 , 32 bit machine. I've tried almost all the solution that I found in many websites. In order to get rid of this error you can do a repair of the OS. it will solve the issue permanently.

answered on Stack Overflow Aug 7, 2013 by Albin Varghese
0

Windows 7

Try this,

run cmd as Admin.

Unistall all iis.

 start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService

Reinstall iis and normaly it's work

Alain

answered on Stack Overflow Mar 22, 2015 by Alan10977
0

This problem occurs due to unstable changes in Microsoft .Net Framework follow these steps to fix it out.

Step1: Remove Microsoft .Net Framework under Turn Windows features on or off.

enter image description here

Step2: Again Install IIS 6 or 7 under Turn Windows features on or off.

enter image description here

Step3: Again install Microsoft .Net Framework under Turn Windows features on or off.

enter image description here

answered on Stack Overflow Sep 12, 2017 by Himanshu Soni
0

I know this is an old post, but I was just able to successfully install IIS on Windows 7 Sp1 (64bit) after having the same problem and 2 days of internet searches. I hope I can help someone with the same problem.

After running the same command "C:\WINDOWS\System32\inetsrv\iissetup.exe" /install SharedLibraries" and monitoring it using ProcessMonitor, it appeared that the installer is not able to write to the folder "C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys"

I renamed MachineKeys to MachineKeys_old and reinstalled the IIS feature and it completed without any errors.

answered on Stack Overflow Nov 22, 2017 by Roy S.

User contributions licensed under CC BY-SA 3.0