This KB article describes a hotfix that enables the WebDAV module to store the external properties of files by using NTFS alternate data streams in Internet Information Services (IIS) 7.5.
Before you install this hotfix, the WebDAV module in IIS 7.5 stores the external properties of all files in a single file that is named "Properties.dav." This design makes it easy to copy file properties between different servers. However, if a WebDAV folder contains many files, some WebDAV methods may perform slowly. For example, you may experience slow performance you use the WebDAV PROPPATCH method to set the properties of file resources in a WebDAV folder that contains many files.
After you apply this hotfix, you can configure the WebDAV module to store the external properties of files by using NTFS alternate data streams. This feature improves the performance when you run WebDAV methods in WebDAV folders that contain many files.
However, this feature is not enabled by default. Therefore, the WebDAV module stores external properties of all files in a single file unless you enable the feature. To enable the feature, set the value of the "UseAlternateDataStreams" attribute in the ApplicationHost.config file to "true." After you set this value, the "PropertyStores" element of the WebDAV module resembles the following:
You can also use the Appcmd.exe command-line tool to enable this feature. To do this, follow these steps:
Before you install this hotfix, the WebDAV module in IIS 7.5 stores the external properties of all files in a single file that is named "Properties.dav." This design makes it easy to copy file properties between different servers. However, if a WebDAV folder contains many files, some WebDAV methods may perform slowly. For example, you may experience slow performance you use the WebDAV PROPPATCH method to set the properties of file resources in a WebDAV folder that contains many files.
After you apply this hotfix, you can configure the WebDAV module to store the external properties of files by using NTFS alternate data streams. This feature improves the performance when you run WebDAV methods in WebDAV folders that contain many files.
However, this feature is not enabled by default. Therefore, the WebDAV module stores external properties of all files in a single file unless you enable the feature. To enable the feature, set the value of the "UseAlternateDataStreams" attribute in the ApplicationHost.config file to "true." After you set this value, the "PropertyStores" element of the WebDAV module resembles the following:
<propertyStores>
<add name="webdav_simple_prop" image="%windir%\system32\inetsrv\webdav_simple_prop.dll" image32="%windir%\syswow64\inetsrv\webdav_simple_prop.dll" useAlternateDataStreams="true"/>
</propertyStores>
You can also use the Appcmd.exe command-line tool to enable this feature. To do this, follow these steps:
- Click Start, type command prompt in the Start Search box, right-click Command Prompt in the Programs list, and then click Run as administrator.
Note If You Are Prompted For An Administrator Password Or For Confirmation, Type The Password Or Provide Confirmation. - Type the following commands, and then press Enter after you type each command:
pushd "%SystemRoot%\System32\Inetsrv"
iisreset /stop
appcmd.exe set config -section:system.webServer/webdav/globalSettings -propertyStores.[name='webdav_simple_prop'].useAlternateDataStreams:true /commit:apphost
iisreset /start
popd
- The WebDAV module in earlier versions of IIS only supports the storage of the external properties of files by using NTFS alternate data streams.
- We recommend that you enable this feature only when you do not want to move the WebDAV files to a non-NTFS volume.