Microsoft KB Archive/819028

= Windows Explorer no longer displays Web view templates or HTML customizations (using Folder.htt) =

Article ID: 819028

Article Last Modified on 10/26/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, 64-Bit Datacenter Edition
 * Microsoft Windows Server 2003, 64-Bit Enterprise Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Media Center Edition 2002
 * Microsoft Windows XP Tablet PC Edition
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows Small Business Server 2003 Premium Edition
 * Microsoft Windows Small Business Server 2003 Standard Edition

-



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
By default, the versions of Windows listed at the beginning of this article do not display Web view templates (Folder.htt) from earlier versions of Windows or HTML customizations of Web view templates (by using Folder.htt) for local or network folders in Windows Explorer. By default, these products turn off this feature to help prevent potentially unsafe content from running when you open a folder on your local computer or on your local area network (LAN).

Note These products still display Web view templates for some registered shell extensions, for example, Microsoft SharePoint Team Services folders (Web folders).

This article describes how to turn on Web view functionality for local or network folders in Windows Explorer in the products listed at the beginning of this article. To display a folder in Web view, you can use the following policies:
 * Only display Web view templates or customizations that are registered.
 * Display all Web view templates and customizations, but warn you about templates or customizations that are not registered.
 * Revert to the previous behavior and display all Web view templates and customizations, but warn you about templates and customizations that contain potentially unsafe scripting.

Note You can use Web view for all Windows Explorer views unless you use Windows classic folders.



MORE INFORMATION
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. HTML templates (Folder.htt) for Web view were included with earlier versions of Windows. You can create customized Folder.htt files manually or by using the Customize This Folder Wizard in Windows 2000.

Note Windows XP and Windows Server 2003 do not include the Customize This Folder Wizard.

The following three registry values are available to allow Web view functionality in Windows Server 2003, Windows XP SP1, and Windows 2000 SP3.

Create these registry values in the following registry key:

Value name: AllowLegacyWebView

Value type: DWORD

Value data: 1

Description: Permits Windows to display the Web view templates or customizations (Folder.htt) that have an MD5 hash registered with Windows. By default, only Windows 2000 Web view templates and templates for certain shell extensions, such as Microsoft SharePoint Team Services folders (Web folders), have an MD5 hash registered with Windows. Web view templates or customizations that do not have a hash registered are not displayed.

Value name: AllowUnhashedWebView

Value type: DWORD

Value data: 1

Description: Permits Windows to display the Web view templates and customizations (Folder.htt) that do not have an MD5 hash registered with Windows. In this case, you receive a security message for Web view templates or customizations that do not have a hash registered. If you click Yes to the security message, the hash for the template or customization registers. When Windows displays the Web view templates later, you do not receive the security message.

Value name: RevertWebViewSecurity

Value type: DWORD

Value data: 1

Description: Permits Windows to display the Web view templates and customizations (Folder.htt) that do not have an MD5 hash registered with Windows. In this case, you receive a security message only for Web view templates or customizations that contain potentially unsafe scripting. This is the same behavior that occurs in Windows XP before SP1 and Windows 2000 before SP3. For this policy to work you must also set the AllowLegacyWebView value to 1.

By default, Windows caches your view settings for folders in the registry. To turn off this feature, click to clear the Remember each folder’s view settings check box under Advanced Settings on the View tab of the Folder Options dialog box. If this feature is turned on, the policies described earlier in this article may appear to not work with folders that you have previously opened. To resolve this behavior, reset all the folder settings in Windows Explorer. To do this, follow these steps:
 * 1) In Windows Explorer, click Tools, and then click Folder Options.
 * 2) On the View tab, click Reset All Folders.

Note This procedure resets all the folder settings to the settings that were in effect when Windows was installed.

For additional information about Web view, visit the following Microsoft Web sites:

http://msdn.microsoft.com/msdnmag/issues/01/11/XPShell/default.aspx

http://msdn.microsoft.com/msdnmag/issues/0600/w2kui2/default.aspx

Keywords: kbprb KB819028

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.