Hi @IT Engineer ,
Welcome to our Q&A forum!
By research, this error message is commonly encountered when attempting to add roles and features to a server.
To resolve this issue, you can try increasing the maximum envelope size of the WS-Management service. You can do this by modifying the registry settings of your server. Launch Registry Editor and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WSMAN\Client
. Double-click on maxEnvelopeSize
in the right pane, choose Decimal
, and change the value to 8192
. Then run the command below to check the result:
Get-Item -Path WSMan:\localhost\MaxEnvelopeSizekb
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.