简体   繁体   中英

IIS fails to install on Windows 7

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

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.

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

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.

在此处输入图片说明

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

在此处输入图片说明

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

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM