在 Azure 本機叢集節點安裝 Hyper-V 行動器代理程式失敗,並顯示錯誤「SOFTWARE RESTRICTION POLICY」

Summary: 在 Azure 本機叢集節點安裝 Hyper-V 行動器代理程式失敗,並顯示錯誤「SOFTWARE RESTRICTION POLICY」

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

在 Azure 本機叢集節點上安裝 Hyper-V 移動代理程式失敗,並在 hyperv 代理程式記錄中出現下列錯誤:

MSI (s) (EC:A4) [10:25:12:442]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (EC:A4) [10:25:12:446]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038 
MSI (s) (EC:A4) [10:25:12:446]: SRSetRestorePoint skipped for this transaction.
MSI (s) (EC:A4) [10:25:12:446]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 
MSI (s) (EC:A4) [10:25:12:446]: File will have security applied from OpCode.
MSI (s) (EC:A4) [10:25:12:539]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\ppdmsid\AppData\Local\Temp\5c8b7bf1-268f-46d0-980b-bd2f10d5293b\hyperv-agent-19.19.0-15.msi' against software restriction policy
MSI (s) (EC:A4) [10:25:13:435]: 
MSI (s) (EC:A4) [10:25:13:435]: Note: 1: 1718 2: C:\Windows\Installer\4707016d.msi 
MSI (s) (EC:A4) [10:25:13:450]: MainEngineThread is returning 1625
MSI (s) (EC:90) [10:25:13:450]: No System Restore sequence number for this installation.
MSI (s) (EC:90) [10:25:13:450]: User policy value 'DisableRollback' is 0
MSI (s) (EC:90) [10:25:13:450]: Machine policy value 'DisableRollback' is 0
MSI (s) (EC:90) [10:25:13:450]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (EC:90) [10:25:13:450]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (EC:90) [10:25:13:466]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (EC:90) [10:25:13:466]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (60:44) [10:25:13:466]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (60:44) [10:25:13:466]: MainEngineThread is returning 1625
=== Verbose logging stopped: 6/12/2025  10:25:13 ===

 

沒有網域原則封鎖安裝。可使用 gpresult /R 命令不會列出可封鎖安裝代理程式的原則。

Cause

Azure 應用程式控制原則會在 Azure 本機叢集上強制執行,這會封鎖在節點上安裝第三方應用程式。

Resolution

本Microsoft文章會詳細說明此問題: https://learn.microsoft.com/en-us/azure/azure-local/manage/manage-wdac?view=azloc-2505

Azure 管理員可以將策略更改為審核模式,以便可以安裝代理。

 

Article Properties
Article Number: 000333860
Article Type: Solution
Last Modified: 18 Jun 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.