VxRail:停顿快照失败并显示自定义静默脚本失败错误
Summary: 在使用 VMware Tools 12.5.0.24276846 的 VMware ESXi 7.0.3 上运行的 Windows 2022 Server 虚拟机上创建快照时发生停顿错误。错误代码为 2,错误消息为“自定义停顿脚本失败”。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
客户机作系统在静默期间报告错误。
The error code was: 2 The error message was: Custom quiesce script failed An error occurred while saving the snapshot: Failed to quiesce the virtual machine.
2025-03-25T05:30:21.089Z In(05)+ vmx - The error message was: 'VssSyncStart' operation failed: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (0x80070422) 2025-03-25T21:55:50.072Z In(05)+ vmx - The error message was: 'VssSyncStart' operation failed: IDispatch error #8454 (0x80042306) 2025-03-25T22:07:19.477Z In(05)+ vmx - The error message was: 'VssSyncStart' operation failed: IDispatch error #8454 (0x80042306) 2025-03-27T21:33:16.379Z In(05)+ vmx - The error message was: 'VssSyncStart' operation failed: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it. (0x80070422)
以下是对此错误进行故障处理的一些步骤:
- 确认 VMware Tools 版本为最新版本。
- 检查事件日志中是否存在与停顿过程相关的任何错误。在这种情况下,事件日志不会显示任何错误。
- 验证卷影拷贝服务 (VSS) 是否已启用并在来宾作系统上运行。错误消息“VssSyncStart”作失败表示 VSS 服务未运行或已禁用。
- 在来宾作系统上启用并启动 VSS 服务。
- 验证自定义停顿脚本是否已正确配置且正在运行。错误消息“自定义停顿脚本失败”表示脚本未运行或失败。
- 验证 VMware Tools 是否已正确配置并正在运行。错误消息“无法启动服务,因为它已禁用或因为它没有与之关联的已启用设备”指示 VMware 工具未运行或未正确配置。
- 检查 VMware Tools 配置并根据需要纠正任何问题。
# Example of a command to check the VSS service status vssadmin list providers # Example of a command to start the VSS service net start vss # Example of a command to check the VMware Tools configuration vmware-toolbox-cmd -v
Cause
出现此问题的原因是自定义脚本配置错误。
Resolution
要解决此问题,请重命名 backupScripts.d 文件夹,以便不使用自定义脚本。
- 登录到遇到此问题的 Windows 虚拟机。
- 请转至
C:\Program Files\VMware\VMware Tools。 - 重命名
backupscripts.d文件夹复制到backupscripts.old。 - 启动卷影拷贝服务 (VSS)
- 再次尝试快照。
虽然本文包含较旧版本的 ESXi,但它也适用于 ESXi 7.x 和 8.x。
Affected Products
VxRail, VMwareArticle Properties
Article Number: 000308265
Article Type: Solution
Last Modified: 08 Sept 2025
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.