var kba = new KBAlertz { "Launch Date" = "October 30th, 2013" }

Article ID: 313853 - View products that this article applies to.
System TipThis article applies to a different version of Windows than the one you are using. Content in this article may not be relevant to you.Visit the Windows 8 Solution Center
This article was previously published under Q313853
For a Microsoft Windows Millennium Edition version of this article, see 275646.

SYMPTOMS

When you run the System Restore tool on a Windows XP-based computer, the calendar on the left side of the "Choose a Restore Point" window is not displayed.

CAUSE

This behavior can occur if the file association for Hypertext Markup Language (HTML) component (.htc) files is not in the registry.

RESOLUTION

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To resolve this behavior, verify that the following keys are in the registry. If one of the registry keys is not present, create the key, and then add the values that belong to the corresponding key:
HKEY_CLASSES_ROOT\.htc
Value name: Content Type
Value data: text/x-component

HKEY_LOCAL_MACHINE\Software\Classes\.htc
Value name: Content Type
Value data: text/x-component

HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/x-component
Value name: CLSID
Value data: {3050f4f8-98b5-11cf-bb82-00aa00bdce0b}

Create a second entry with the following values:
Value name: Extension
Value data: .htc

HKEY_CLASSES_ROOT\CLSID\{3050f4f8-98b5-11cf-bb82-00aa00bdce0b}
Value name ="Microsoft Html Component"

HKEY_CLASSES_ROOT\CLSID\{3050f4f8-98b5-11cf-bb82-00aa00bdce0b}\InProcServer32
Value name: Default
Value data: "C:\Windows\System32\Mshtml.dll"

Create a second entry with the following values:
Value name: "ThreadingModel"
Value data: "Apartment"
NOTE: This procedure assumes that Windows XP is installed in the C:\Windows folder. Make sure to change C:\Windows to the appropriate <windows_folder> if Windows XP is installed in a different location.

To merge all of the information at one time, you can copy and paste the following text into a text editor, such as Notepad, and then save it as a .reg file.

NOTE: You must copy all of the following text to ensure that this procedure works as expected.
   Windows Registry Editor Version 5.00

   [HKEY_CLASSES_ROOT\.htc]
   "Content Type"="text/x-component"
   @="htcfile"

   [HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/x-component]
   "CLSID"="{3050f4f8-98b5-11cf-bb82-00aa00bdce0b}"
   "Extension"=".htc"

   [HKEY_CLASSES_ROOT\CLSID\{3050f4f8-98b5-11cf-bb82-00aa00bdce0b}]
   @="Microsoft Html Component"
   [HKEY_CLASSES_ROOT\CLSID\{3050f4f8-98b5-11cf-bb82-00aa00bdce0b}\InProcServer32]
   @="C:\\WINDOWS\\System32\\mshtml.dll"
   "ThreadingModel"="Apartment""

   [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.htc]
   "Content Type"="text/x-component"
   @="htcfile"
					
After you finish the preceding steps, you can use the System Restore tool. However, when you use the System Restore tool to restore an earlier configuration, the registry fix is removed from the Windows registry. To make sure that the problem does not occur again after you restore the earlier configuration, repeat the preceding steps to fix the System Restore tool, create a new System Restore point, and label it to indicate that it contains the System Restore fix. After you do this, you can use the System Restore tool at any time to restore the System Restore point that contains the fix without damaging the System Restore tool.

Properties

Article ID: 313853 - Last Review: June 11, 2002 - Revision: 1.2
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbprb kbprod2web kbui KB313853