Share via

SCVMM refresh fails with 0x80338043 / 0x80338048 – WinRM MaxEnvelopeSize issue

Maksim Karpenko 10 Reputation points
2026-02-28T22:11:04.87+00:00

Scenario

While troubleshooting SCVMM (Virtual Machine Manager 2025), I encountered an issue where:

“Refresh virtual machine properties” failed

Only one specific cluster was affected

Other clusters were working normally

Hosts were healthy

WinRM service was running

Kerberos authentication worked

Local WMI queries on cluster nodes worked

However, remote CIM calls from the VMM management server failed with:

HRESULT 0x80338043
The WS-Management service cannot process the request because the XML is invalid.

Running:

Get-CimInstance -ComputerName <cluster-node> -Namespace root\mscluster -Class MSCluster_Cluster

worked locally on the node, but failed when executed remotely from the VMM server. Using:

winrm helpmsg 0x80338048

returned:

The response that the WS-Management service computed exceeds the maximum envelope size in the request.

Root Cause

The issue was not related to: • Kerberos • SPN • WMI corruption • Cluster health The root cause was WinRM MaxEnvelopeSizekb on the VMM management server.

The affected cluster had significantly more objects (VMs, roles, metadata). The WSMan response exceeded the default 8192 KB envelope size.

As a result, the XML response was truncated, leading to the “XML is invalid” error.

Resolution

Increase the WinRM envelope size on the VMM server:

winrm set winrm/config '@{MaxEnvelopeSizekb="512000"}'

After increasing the envelope size:

• Remote CIM queries worked immediately • SCVMM refresh jobs completed successfully

Takeaway

If SCVMM fails only for larger clusters and you see:

• 0x80338043 • 0x80338048 • XML-related WSMan errors Check WinRM MaxEnvelopeSizekb on the VMM management server before investigating authentication or rebuilding WMI.

Sometimes the XML is not invalid — it is simply too large.

System Center Virtual Machine Manager
0 comments No comments

1 answer

Sort by: Most helpful
  1. Maksim Karpenko 10 Reputation points
    2026-02-28T22:13:09.7066667+00:00

    Issue confirmed and resolved.

    The root cause was the default WinRM MaxEnvelopeSizekb (8192 KB) on the VMM management server.

    Increasing it to 512000 KB and restarting the WinRM service resolved SCVMM refresh failures immediately.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.