VxRail:靜止快照失敗,並出現自訂靜止指令檔失敗錯誤

Summary: 在執行 VMware ESXi 7.0.3 的 VMware ESXi 7.0.3 上,使用 VMware Tools 12.5.0.24276846 建立快照時發生靜止錯誤。錯誤代碼為 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 資料夾,以便不使用自訂指令檔。

  1. 登入遇到問題的 Windows 虛擬機器。
  2. 前往 C:\Program Files\VMware\VMware Tools
  3. 重新命名 backupscripts.d 資料夾到 backupscripts.old
  4. 啟動捲影複製服務 (VSS)
  5. 請再次嘗試快照。
請參閱 Broadcom KB 嘗試建立 Windows 虛擬機器的靜止快照失敗,並顯示錯誤:「vmBackupOnThaw」作業失敗 此超連結會帶您前往 Dell Technologies 以外的網站。
雖然本文具有舊版 ESXi,但它也適用於 ESXi 7.x 和 8.x。

Affected Products

VxRail, VMware
Article 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.