TechTips – IIS 7 Error 0x8007643 when Installing on Windows 2008 Server 64bit

I just upgraded one of my servers to Microsoft Server 2008 R2 64-bit and everything was looking great and going smoothly. That is until I went to install IIS 7 on the server and got the error 0x8007643 which basically says that IIS 7 can’t install due to the Windows Activation Services. I did some research and found this is a common problem and there are many possible solutions. I will explain how to perform the most common and which one fixed the problem for me.

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.

Tech Tips: How to Move Your Event Logs in Windows Server 2003

Windows Server 2003 stores event logs by default on the root directory at the location C:WINDOWSsystem32configEventLogsfilename.EVT, sometimes it is necessary to move these files to another location. This isn’t a hard process but it does require editing the registry so it can be tricky and needs to be done with care.

First step is to decide a new location for the event logs, you can put these anywhere you want, just make sure you note the location. In my example I will move them to my secondary hard drive named D:, I have also created a folder just for the logs called EventLogs. Once you have decided on a location you will want to copy all the existing event logs over so that you don’t lose any of the Logs. To do this go to the directory C:WINDOWSsystem32configEventLogs, in here you should find all your log files, the three that we are most concerned with our System, Security, and Application. You might have other log files stored here that you want to move, if this is the case then follow the same steps as you do with the other three log files.

Now copy all of the log files you wish to your other directory, now my log files are in my D:EventLogs folder.

Now you can go to Start gt; gt;Run and when the new window opens type REGEDIT and press enter. Once inside the registry you will want to expand down to the registry key


Next click the sub key that represents the log file you want to move, I am going to move the Application log file first so you guessed it I click on the folder named Application. When you click on the sub key you will notice that the reading pane on the right changes and there are some keys inside it now, double click on the one labeled File. This will open the property page of the File key, you will want to change this to the new location of your log files, so I put D:EventLogsAppEvent.Evt, and the AppEvent.Evt is the log files name which is required here. Edit the remaining Log file keys with your new directory. The three main log file registry keys and edits should be the following.

  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogApplication
  • D:Folder_NameAppEvent.Evt (the D: is the drive letter where you put the new folder)
  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogSystem
  • D: Folder_Name SysEvent.Evt (the D: is the drive letter where you put the new folder)
  • HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogSecurity
  • D: Folder_Name SecEvent.Evt (the D: is the drive letter where you put the new folder)

Once you are done making these edits you can close the registry editor and reboot your system. When it comes back up test the event logs to be sure they are still working. You can check them by right-clicking “My Computer” and choosing manage. Click on Event Viewer and make sure the logs are showing an event that happened recently. With just rebooting your system most logs will have a new event in them. If it seems to be working then you can go to C:WINDOWSsystem32configEventLogsfilename.EVT and delete all of the log files you moved. Now your system will store the log files in the new location. Hope this was helpful.

Scrapbook: A Fantastic Clipping Extension for Google Chrome

There are a lot of different ways to keep track of information you find on the Web. You can copy it to the clipboard, then paste it into an empty document. There are services like EverNote that allow you to save your information to the Web. There are even web browser extensions that integrate with Google Notebook or Zoho Notebook (although the former is closed to new users). The problem with some of these, no matter how nice the service, is that they require you to create an account. What is there for the person who just wants to store notes locally? A new extension for Google Chrome, called simply “Scrapbook” caught my eye the other day, and after trying it out, I have to say it’s very nice.

The Scrapbook extension, once installed, creates a new icon in your Google Chrome toolbar. To use Scrapbook, simply go to a website you wish to save locally, and click the new icon. Clicking this icon shows you a little pop-down menu with a couple options. There is the big “Scrap This Page” button, which will do exactly what it says. First, however, you’ll need to select a name for your “scrapped” page. By default, the name area is pre-filled with the name of the website, but you can change it to whatever you want. You’ll also want to create a folder in which to save your page. Folders are how Scrapbook organizes your clippings. If you’ll be saving clippings in different subject areas (technology, sports, wedding, etc.), then simply create a new folder. Then, when it comes time to save the page, just choose the appropriate folder/category.

Once a page has been scrapped, it is accessible via the “My Scrapbook” option. Click there to reveal all your different folders. Hovering over a folder shows all the pages saved within. Click one to view it.

If that was all the Scrapbook extension did, it would still be nice. But in a lot of ways, it wouldn’t be any different from an extension such as Read It Later, which allows for quick saving of links (to be read later, hence the extension’s name), but also offers offline saving, so you can load up a bunch of interesting articles, and still have access to them even when you don’t have Internet access.

But Scrapbook offers more. First is the option to notate your scrapped pages. When you go back to view a page later, you’ll notice a few options at the bottom of the page. The first four are different types of highlighting (which you can see in the big screenshot). This allows you to emphasize different sections of a page, and have them visually separate from each other. You can also attach a note, in the style of a sticky note, to the page. You can add text to this note as well as move it around the page. It will hover over the page, no matter where you place it. If you decide you want to remove the note, simply click the big “X” in the upper-left corner. Similarly, if you decide you don’t want text you’d previously highlighted to be highlighted, clicking the little broom icon in the lower toolbar will allow you to get rid of what you want.

After a while, it’s likely that you’ll end up with a lot of saved pages, pages you may find you no longer need. In that case, go to the Scrapbook Options page. There you’ll see a list of all saved pages. You can search through your scrapbooked items as well as delete whichever you no longer need.

Scrapbook is an excellent extension. It doesn’t offer the ability to synchronize your saved pages from one computer to another, but that’s okay in my mind; it seems aimed at single-computer users. I love the ability to put notations on a page (it helps remind me of exactly why I wanted to save the page in the first place!), and the scrapbook management page, though fairly spartan, is still pretty useful. I’ve tried a lot of different page saving utilities, and in all honesty, this is one of the best.