Data retrieval failures on Windows Server 2025?

๐Ÿ”’ Secure Bits ๐Ÿ’ก

๐——๐—ฎ๐˜๐—ฎ ๐—ฟ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น ๐—ณ๐—ฎ๐—ถ๐—น๐˜‚๐—ฟ๐—ฒ๐˜€ ๐—ผ๐—ป ๐—ช๐—ถ๐—ป๐—ฑ๐—ผ๐˜„๐˜€ ๐—ฆ๐—ฒ๐—ฟ๐˜ƒ๐—ฒ๐—ฟ ๐Ÿฎ๐Ÿฌ๐Ÿฎ๐Ÿฑ?

This is a typical Server Manager issue after deploying Windows Server 2025. You install a fresh domain, patch the servers, open Server Manager and see:

โš ๏ธ ๐—ข๐—ป๐—น๐—ถ๐—ป๐—ฒ – ๐——๐—ฎ๐˜๐—ฎ ๐—ฟ๐—ฒ๐˜๐—ฟ๐—ถ๐—ฒ๐˜ƒ๐—ฎ๐—น ๐—ณ๐—ฎ๐—ถ๐—น๐˜‚๐—ฟ๐—ฒ๐˜€ ๐—ผ๐—ฐ๐—ฐ๐˜‚๐—ฟ๐—ฟ๐—ฒ๐—ฑ

The issue has been around for quite some time and fortunately, the fix is simple.

๐—ช๐—ต๐—ฎ๐˜ ๐˜€๐˜‚๐—ฟ๐—ฝ๐—ฟ๐—ถ๐˜€๐—ฒ๐—ฑ ๐—บ๐—ฒ, and finally pushed me to write this post, is that it is still happening. You install a fresh Windows Server 2025 environment, fully patch it, and basic Server Manager communication still fails out of the box.

The error is related to the maximum ๐—ช๐—ถ๐—ป๐—ฅ๐—  / ๐—ช๐—ฆ-๐— ๐—ฎ๐—ป๐—ฎ๐—ด๐—ฒ๐—บ๐—ฒ๐—ป๐˜ envelope size. The configured value has not changed and is commonly still:

โžก๏ธ MaxEnvelopeSizekb = 500

What appears to have changed is the ๐—ฎ๐—บ๐—ผ๐˜‚๐—ป๐˜ ๐—ผ๐—ณ ๐—ฑ๐—ฎ๐˜๐—ฎ ๐—ฟ๐—ฒ๐˜๐˜‚๐—ฟ๐—ป๐—ฒ๐—ฑ by some Windows Server 2025 WinRM/CIM queries. Some responses seem to be slightly larger than the existing limit.

๐—ฌ๐—ผ๐˜‚ ๐—ฐ๐—ฎ๐—ป ๐—ฐ๐—ต๐—ฒ๐—ฐ๐—ธ ๐˜๐—ต๐—ฒ ๐—ฐ๐˜‚๐—ฟ๐—ฟ๐—ฒ๐—ป๐˜ ๐˜ƒ๐—ฎ๐—น๐˜‚๐—ฒ ๐˜„๐—ถ๐˜๐—ต ๐—ฃ๐—ผ๐˜„๐—ฒ๐—ฟ๐—ฆ๐—ต๐—ฒ๐—น๐—น:

Get-Item -Path WSMan:localhostMaxEnvelopeSizekb

โœ…ย ๐—ง๐—ผ ๐—ถ๐—ป๐—ฐ๐—ฟ๐—ฒ๐—ฎ๐˜€๐—ฒ ๐—ถ๐˜:

Set-WSManInstance -ResourceURI winrm/config -ValueSet @{MaxEnvelopeSizekb=”8192″}

๐—ข๐—ป๐—ฒ ๐—ถ๐—บ๐—ฝ๐—ผ๐—ฟ๐˜๐—ฎ๐—ป๐˜ ๐—ฑ๐—ฒ๐˜๐—ฎ๐—ถ๐—น: the envelope size needs to be increased on both the computer running Server Manager and the managed server.

Once the value is increased on both sides, Server Manager starts retrieving the data correctly again.

Have you already seen this issue on Windows Server 2025?