大网数据广告活动
备份与恢复

When you use the Volume Shadow Copy Service on computers that run many I/O operations, disk volumes take longer to go online

· 52CE 我爱测

Describes a workaround for an issue in which disk volumes take more time to go online after you enable the Volume Shadow Copy Service on the volumes

This article describes a workaround for an issue in which disk volumes take more time to go online after you enable the Volume Shadow Copy Service on the volumes.

Original KB number:   945058

Important: This article contains information about how to modify the registry. Make sure that you 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:
322756 How to back up and restore the registry in Windows

Symptoms

When you use the Volume Shadow Copy Service in Windows Server based computers that run many I/O operations and that have lots of data, you experience the following symptoms:

  • Cluster failover time is longer for the cluster groups that contain disk resources for which you have enabled the Volume Shadow Copy Service. Also, the disk volumes of the cluster nodes take longer to go online and offline during a cluster failover. Taking a disk offline and then online on the same node also has the same delay.

  • Non-cluster servers take longer to start. When you disable the Volume Shadow Copy Service on the server volumes, the servers start as expected.

Cause

This issue occurs because of the way the Volume Shadow Copy driver (Volsnap.sys) manages the shadow copy files. If lots of shadow copy files are created on the disk volumes, the Volume Shadow Copy driver takes more time to process those shadow copy files when the system brings the disk volumes online.

Workaround

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 the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

To work around this issue, create a new registry key to restrict the number of shadow copy files that are created on each disk volume to 20.

Note: This value is only a suggested starting value. We recommend that you find a value that is appropriate for your working environment.

To create the new registry key, follow these steps:

  1. Click Start, click Run, type regedit, and then press ENTER.
  2. Locate and then right-click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VSS\Settings
  3. Point to New, and then click DWORD Value.
  4. Type MaxShadowCopies, and then press ENTER.
  5. Double-click MaxShadowCopies, type 20 in the Value data box, and then click OK.
  6. Exit Registry Editor.
  7. Restart the computer.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。