System Restore Tool Displays a Blank Calendar in Windows XP

For a Microsoft Windows Millennium Edition version of this article, see 275646 .


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.


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


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:

Value name: Content Type
Value data: text/x-component

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

Value name ="Microsoft Html Component"

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

"Content Type"="text/x-component"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/x-component]

@="Microsoft Html Component"

"Content Type"="text/x-component"
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.


Artikel-id: 313853 - Laatst bijgewerkt: 23 okt. 2008 - Revisie: 1