How to manage disk write caching for external storage on Windows 10

Windows 10 enable or disable disk write caching
Windows 10 enable or disable disk write caching (Image credit: Windows Central)

On Windows 10, disk write caching is a feature that uses the faster system memory to temporarily queue write commands until the storage device is ready to commit them to disk. This approach improves performance since the application doesn't have to wait for the drive to continue operating.

While it's a useful feature, the downside is that a system failure, power outage, or accidental removal can result in data loss or corruption. Also, some third-party applications do not support this feature, causing errors and other problems.

As a result, Windows 10 includes two different policies to manage storage devices, including "Quick removal" and "Better performance." Quick removal is the default setting for external storage, and it does not store any data in memory, making the storage always ready to be disconnected. This means that you can remove the drive skipping the Safely Remove Hardware option without the risk of losing data, but there's a performance trade-off.

The Better performance option is the default option for internal drives, and it's the option that enables the disk write caching feature to improve the overall performance of the drive. If the option is enabled, the system will queue temporary data in memory, and later the drive will automatically commit it to disk. However, to prevent data loss, you'll need to use the Safely Remove Hardware notification icon before disconnecting the external storage.

In this Windows 10 guide, we walk you through the steps to enable or disable the disk write caching policy for external drives.

How to enable disk write caching on Windows 10

To enable disk write caching on Windows 10 for external storage, use these steps:

  1. Open Start.
  2. Search for Device Manager and click the top result to open the app.
  3. Expand the Disk drives branch.
  4. Right-click the drive you want to enable the feature and select the Properties option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Policies tab.
  2. Under the "Removal policy" section, select the Better performance option.
  3. Under the "Write-caching policy" section, check the Enable write caching on the device option.Quick note: This feature is not supported on every device, so if the option isn't available or you get an error, you will not be able to turn on the feature.

Source: Windows Central (Image credit: Source: Windows Central)
  1. (Optional) Check the Turn off Windows write-cache buffer flushing on the device option.Quick tip: This option can cause data loss in the event of power failure. If the drive doesn't have a separate power supply to allow the device to flush the buffer in case of a power issue, it's not recommended to enable this option.
  2. Click the OK button.
  3. Click the Yes button to restart the device (if prompted).

Once you complete these steps, during drive activity, write commands will be stored inside the system memory until the storage can write them onto disk, increasing system performance. However, in the event of hardware or system failure, or power outage, data loss or corruption may occur.

If you decide to use this option, it's highly recommended to use the Safely Remove Hardware process to prevent possible data loss on the drive by clicking the device icon in the notification area and selecting the Eject option.

How to disable disk write caching on Windows 10

To disable disk write caching on your device, use these steps:

  1. Open Start.
  2. Search for Device Manager and click the top result to open the app.
  3. Expand the Disk drives branch.
  4. Right-click the drive you want to disable the feature and select the Properties option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the Policies tab.
  2. Under the "Removal policy" section, select the Quick removal option.

Source: Windows Central (Image credit: Source: Windows Central)
  1. Click the OK button.
  2. Click the Yes button to restart the device (if prompted).

After you complete the steps, the drive won't use the system memory as a buffer to store data, decreasing the storage performance. However, the drive will always be ready to be disconnected, minimizing the chances of data loss.

Mauro Huculak

Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.