Azure 로컬 클러스터 노드에서 Hyper-V Mover 에이전트 설치가 실패하고 "소프트웨어 제한 정책" 오류가 발생함
Summary: Azure 로컬 클러스터 노드에서 Hyper-V Mover 에이전트 설치가 실패하고 "소프트웨어 제한 정책" 오류가 발생함
Symptoms
Azure 로컬 클러스터 노드에서 Hyper-V Mover 에이전트 설치가 실패하고 hyperv-agent 로그에 다음 오류가 표시됩니다.
MSI (s) (EC:A4) [10:25:12:442]: Machine policy value 'DisableUserInstalls' is 0MSI (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 policyMSI (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 1625MSI (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 0MSI (s) (EC:90) [10:25:13:450]: Machine policy value 'DisableRollback' is 0MSI (s) (EC:90) [10:25:13:450]: Incrementing counter to disable shutdown. Counter after increment: 0MSI (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: -1MSI (c) (60:44) [10:25:13:466]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1MSI (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 관리자는 에이전트를 설치할 수 있도록 정책을 감사 모드로 변경할 수 있습니다.