First thing I did was to use the sfc /scannow tool and see if I had any problems with missing or corrupt files. This is a very good place to start, so to run the scan, do the following:
Click Start
Click Run
Type CMD
Hit Enter
Type sfc /scannow
Hit Enter
After the scan view results (allow Windows to fix problems)
After my scan there was only one file that had a problem and Windows was able to repair it and it didn't fix my problem with the IIS 7 installation error. So I fixed a corrupt file which was nice but didn't repair my real issue with the IIS 7 installation failing so on to the next fix.
Next you can try the install from the command line, sometimes the GUI (Graphical User Interface) just doesn't work as it should. To try the install from the command line follow these steps:
Click Start
Click the Start Search Bar
Type CMD
Hit Enter
Type start /w pkgmgr.exe /uu:IIS-WebServerRole;WAS-WindowsActivationService
After the command completes go back through the installation steps for IIS 7 and it should complete without the error. This fix also didn't work for me. I still got the error code and it references the Windows Activation Service having problems and IIS 7 failing to install. So let's go to the final fix that actually did work for me.
Another simple fix is to install/reinstall all of the .net framework pieces (1.1, 2.0, 3.0 and 3.5) when you install these they also install parts of the Windows Activation Services. It's surprising that this might work but it can be possible. .NET Framework can be a pain to uninstall so if you need it there is a great free tool called .NET Framework cleanup tool, which you can get here. Simple uninstall all .NET framework and then reinstall the pieces one at a time starting with 1.1 to 3.5.
The fix that finally worked for me was to disable the Windows Activation Service and rename the inetsrv folder and run my IIS 7 installation. To do this, complete these steps:
Click Start
Type services.msc
Find the Windows Activation Service and right click it
Choose Properties
Choose Startup Disabled
Click Stop Button
Once the service is stopped navigate to the inetsrv folder (usually in C:\Windows\system32)
Right click and choose Rename
Name inetsrvOLD (really your choice just change the name)
Reinstall IIS 7
If it works then go back and set the Windows Activation Services to Automatic and restart the service. Test your websites and make sure they are working as expected. This was the fix that finally resolved my error with the IIS 7 installation failing with error 0x8007643. I hope one of the fixes works to help you to get IIS 7 installed on your Windows 2008 Server.
Published by TechTips
I am a senior systems engineer and enjoy writing articles about computers, technology and other electronics. View profile
Windows Server 2008: The Most Powerful Operating System YetWindows Server 2008 is scheduled to be the next server operating system released by Microsoft. It is widely regarded as the most crucial enterprise launch in Microsoft's history...- Why You Shouldn't Download Free Windows VistaThis articles explains why you shouldn't download free Windows Vista.
- TechTips - Windows Vista Error Code 643 Problem with .NET 1.1A short guide detailing how to solve the error code 643 with Vista and .NET
Windows Vista: Microsoft Fights Back Against PiracySoftware pirates have a long history of using illegal copies of Windows, and now they're at it again in Windows Vista. Microsoft is fighting back with a recent patch which detec...- Windows Vista: You Just Can't Stop the PiratesIt is estimated that there are 60 million pirated copies of Windows XP in use. In reponse Microsoft has added restrictive software in Windows Vista, which is supposed to prevent piracy, but it has already been cracked!
- What is Windows Server Core?
- 5 Effective Trouble Shooting Tools in WIN XP
- Getting Started with the .NET Framework
- TechTips - Remove .Net Framework 2.0 Using the .NET Framework Cleanup Tool
- Windows HPC Server 2008 (using Microsft Message Passing Interface)
- Microsoft to Stop Windows 7 Piracy with New Update Coming Soon
- The Windows 7 Pirated Copy Killer is Here Just Don't Download It




