Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
Consider the following scenario:
You connect a relatively slow removable storage device to a Microsoft Windows Server 2003-based computer or to a Microsoft Windows x64-based computer. For example, this device might be a Magneto-Optical (MO) drive, a compact flash memory device, a USB 1.1 flash memory device, or some other similarly slow device.
In Device Manager, you set the write cache policy to Optimize for performance on the Properties dialog box.
You try to perform a disk operation against the device by using an application. Meanwhile, another application is simultaneously writing to the disk.
In this scenario, the operation may take a long time to finish.
This problem may occur if you are running Windows Server 2003 Service Pack 1, Windows XP x64 Edition, or the original Release to Manufacturing (RTM) version of Windows Server 2003, and if you have installed the hotfix installed that is described in the following Microsoft Knowledge Base article:
817765 The Windows backup utility does not succeed when you use a USB tape drive
The problem is caused by a bug in the Usbstor.sys driver. The hotfix that is described in this article modified the driver for these operating systems.
For more information about the updates that are included in Windows Server 2003 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:
824721Windows Server 2003 Service Pack 1 list of updates
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To work around this problem, use one of the following methods.
Method 1: Use the "Optimize for quick removal" write cache policy
Note If you are using SCSI or IDE disks, you cannot select the Optimize for quick removal option for the device. If you are using SCSI or IDE disks, you must use the Optimize for performance option.
To select the Optimize for quick removal option for the device, follow these steps:
Click Start, click Run, type devmgmt.msc, and then click OK.
Right-click the device, and then click Properties.
Click the Policies tab.
Click Optimize for quick removal, and then click OK.
Restart the computer.
Method 2: Modify the registry if you cannot use the "Optimize for quick removal" write cache policy
If you are using a SCSI or an IDE disk and cannot use the Optimize for quick removal option, follow these steps:
Click Start, click Run, type regedit in the Open box, and then click OK.
Locate and then click the following subkey in the registry:
Note if the Classpnp subkey does not exist, you must create it. To do this, click Edit, point to New, and then click Key. Type Classpnp for the name of the subkey, and then press ENTER.
With the Classpnp subkey selected, click Edit, point to New, and then click DWORD Value.
Type UserRemovalPolicy for the DWORD name, and then press ENTER.
Right-click UserRemovalPolicy, and then click Modify.
In the Value data box, type 3, and then click OK.
Exit Registry Editor.
Restart the computer.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
In Windows XP or in Windows Server 2003, you can change the write cache policy to optimize write performance for a disk device and for data safety. You can select either the Optimize for quick removal option or the Optimize for performance option in Device Manager. If the Optimize for performance option is selected, data that is written by an application is cached by the operation system, and lazy write is used for the cached data.
When a slow device, such as an MO drive or a compact flash memory device, writes data by using lazy write, and you simultaneously try to view files on the device by using an application or by viewing the device status in Device Manager, a delay may occur. You must wait until the lazy writing finishes.
Technical support for Windows x64 editions
Your hardware manufacturer provides technical support and assistance for Microsoft Windows x64 editions. Your hardware manufacturer provides support because a Windows x64 edition was included with your hardware. Your hardware manufacturer might have customized the Windows x64 edition installation with unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with your Windows x64 edition. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware.
For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site:
Microsoft Windows Server 2003, Enterprise Edition (32-bit x86), Microsoft Windows Server 2003, Standard Edition (32-bit x86), Microsoft Windows Server 2003, Web Edition, Microsoft Windows Server 2003, Enterprise x64 Edition, Microsoft Windows Server 2003, Standard x64 Edition, Microsoft Windows XP Professional x64 Edition