PowerProtect:ABV0007:VM Direct 備份因 SQL 代理程式問題而失敗

摘要: 虛擬機 (VM) Direct 引擎無法完成此虛擬機的備份,因為 SQL 代理操作失敗。 如果 vSphere 和來賓虛擬機器上的活動很高,請等待某些活動完成,然後重試操作。 備份失敗。在虛擬機器「zzzzzzzz」上備份應用程式「MSSQLDM」失敗: 適用於 Microsoft 應用程式的 PowerProtect 代理程式命令錯誤: 離開狀態0xc0000005 ...

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

檢查 VSS 錯誤記錄:

"Current State: GatherWriterStatus"
Error	2/19/2025 1:18:41 PM	VSS	13	None	"Volume Shadow Copy Service information: The COM Server with CLSID {faf53cc4-bd73-4e36-83f1-2b23f46e513e} and name VSSEvent cannot be started. [0x800703fa, Illegal operation attempted on a registry key that has been marked for deletion.

檢查應用程式事件紀錄

Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface.  hr = 0x80070005, Access is denied.
. This is often caused by incorrect security settings in either the writer or requestor process. Operation:
   Gathering Writer DataContext:
   Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Name: System Writer
   Writer Instance ID: {955cf0d5-ff9a-422c-a460-80adaea36901}

Vmdm.log顯示「Exit Status 0xc0000005」

vmdm.log: 2024-10-29T15:16:13.005Z INFO [] [vpe-completion-7] [00000000-0000-4000-a000-000000000000][][][TRACE_ID:b9a4c83d0c949882;JOB_ID:93b60d4fa3737f69][] [c.e.b.v.v.a.VPEProtectOp.completeSessionFailure(1149)] -  Session complete with failure BackupJobSession(state=Failure, id=9da67eb9-7a23-4aa0-9ce0-79873c1fa638, clean, error: code=500, text=Backup has FAILED.  Backup of the application "MSSQLDM" on the virtual machine "xxxxxxxx" is unsuccessful.  Backup of the application "MSSQLDM" on the virtual machine "xxxxxxxx" is unsuccessful:  PowerProtect agent for Microsoft Applications command error:  exit status 0xc0000005, target="xxxxxxxx") 

 「無法載入寫入器 xml」

2024-10-28T22:57:42.136Z Successfully initialized VSS requester for a restore.
2024-10-28T22:57:42.527Z Unable to load writer xml file. Error: A Volume Shadow Copy Service component encountered an unexpected error.
Check the Application event log for more information.
2024-10-28T22:57:42.527Z Unable to load C:\Program Files\DPSAPPS\MSAPPAGENT\tmp\VSSMetadata.2024-10-28_17-57-41\writer5.xml writer xml file.
2024-10-28T22:57:42.527Z Unable to load writer xml 'C:\Program Files\DPSAPPS\MSAPPAGENT\tmp\VSSMetadata.2024-10-28_17-57-41\writer5.xml'.
2024-10-28T22:57:42.527Z Un-Initializing Application VSS requester.
2024-10-28T22:57:42.549Z Unable to execute discovery command, error: 'The index catalog cannot be updated because the required VSS writer metadata could not be loaded.'
2024-10-28T22:57:42.563Z The operation terminated with an error; details are in the status output file.

 

執行應用程式後,追蹤會收到異常錯誤0x800a0e7a。

21:12:48.694Z [8f9ac831ad75e70d;86ea4c052830bc7a]111638  msagentcon PowerProtect
Data Manager critical Exiting adoOpenConnectionEx(), Exception. throws, error 0
x800a0e7a
msagentcon_cent_20250303151248_8f9ac831ad75e70d_86ea4c052830bc7a_debug.log:2025-
03-03T21:12:48.694Z Exiting adoOpenConnectionEx(), Exception. throws, error 0x80
0a0e7a2025-03-03T21:12:48.700Z  Unable to connect to SQL Server 'ZZZZZZZZ\IN
STANCE1' using  OLEDB provider:'MSOLEDBSQL'.
msagentcon_cent_20250303151759_8f9ac831ad75e70d_86ea4c052830bc7a.log:2025-03-03T
21:18:02.428Z [8f9ac831ad75e70d;86ea4c052830bc7a]111638  msagentcon PowerProtect
Data Manager critical Exiting adoOpenConnectionEx(), Exception. throws, error 0
x800a0e7a

 

原因

說明「不要在用戶註銷時強制卸載用戶註冊表」策略要求。

 

策略設置「用戶註銷時不要強制卸載用戶註冊表」(HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableForceUnload) 控制 Windows 在使用者註銷時如何管理使用者註冊表配置單元 (HKEY_USERS\<SID>) 的卸載。

為什麼可能需要此設定 在標準 Windows 行為中,用戶註銷時會自動卸載用戶註冊表配置單元。但是,在某些環境中,後台服務或應用程式可能仍會打開註冊表句柄,從而導致強制卸載導致配置檔損壞或應用程式不穩定。啟用此策略的主要原因是:

1) 防止使用者檔案損毀

如果在使用者註銷后註冊表句柄保持打開狀態,則強制卸載可能會導致配置檔損壞。

症狀包括遺失使用者設定、下次登入時建立暫時設定檔,或應用程式組態重設。

這對於使用 Roaming Profiles、Citrix User Profile Management (UPM)、FSLogix 或 VMware Dynamic Environment Manager (DEM) 的環境尤其重要。

2) 應用程式或服務依賴關係

某些應用程式和系統服務依賴於註銷后持續存在的用戶註冊表設置。

如果在這些應用程式仍在訪問註冊表時強制卸載註冊表,則可能會發生數據丟失或意外行為。

環境中使用的 Dell 產品或第三方軟體可能具有相依性,需要受控制的登錄檔卸載程序。

3) 工作階段式工作負載 (RDS、Citrix、AVD 等)

如果強制移除登錄檔配置單元,則具有多個併發使用者會話的環境(例如遠端桌面服務 (RDS)、Citrix 虛擬應用和桌面以及 Azure 虛擬桌面 (AVD))可能會遇到配置檔載入或卸載問題。

啟用此策略可確保在卸載之前寫入並最終確定所有用戶會話數據。

4) 減少與登錄檔卸載相關的事件記錄錯誤

Windows 記錄事件 ID 1530 (使用者設定檔服務:註冊表句柄洩漏),當註冊表句柄在仍在使用時被強制卸載時。

如果此錯誤頻繁發生,則可能表示後台進程未正確關閉註冊表句柄,這可能會導致系統不穩定。

 

雖然 Dell 的標準產品指南通常不要求啟用此設定,但我們瞭解某些客戶環境可能會從中獲益。如果發現 Dell 軟體或支援應用程式在登出後維護開啟的登錄處理,啟用此原則有助於改善系統穩定性和使用者經驗。

結論 Dell 產品通常不需要使用此原則設定,但在使用者設定檔、工作階段應用程式復原能力或受強制登錄檔卸載影響的特定應用程式的客戶環境中,此原則設定可能十分有益。

參考資料:

Microsoft文件: https://aka.ms/AKSArcValidationErrors/K8sVersionValidation [aka.ms]

解析度

啟用 了「用戶註銷時不要強制卸載用戶註冊表」設置,如 https://learn.microsoft.com/en-us/sharepoint/troubleshoot/administration/800703fa-illegal-operation-error 所示。

其他資訊

貢獻:Aravind Vepuri 為此 KB 提供了輸入和記錄

受影響的產品

Data Protection Suite Series, PowerProtect Data Manager

產品

PowerProtect Data Manager Essentials
文章屬性
文章編號: 000306029
文章類型: Solution
上次修改時間: 04 8月 2025
版本:  1
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。