Unable to add 2016 or 2019 to WVD pool

%3CLINGO-SUB%20id%3D%22lingo-sub-530156%22%20slang%3D%22en-US%22%3EUnable%20to%20add%202016%20or%202019%20to%20WVD%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-530156%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20tried%20to%20add%20both%202016%20(including%20SxS%20manual%20install)%20and%202019%2C%20they%20appear%20in%20the%20pool%20but%20fail%20with%20the%20same%20error%20(see%20below)%20after%20%22updating%22.%20The%20original%20pool%20and%20Win10%20multi-user%20machine%20that%20was%20provisioned%20from%20the%20portal%20is%20fine.%20tia.%3C%2FP%3E%3CP%3E-----%3C%2FP%3E%3CP%3EAllowNewSession%20%3A%20True%3CBR%20%2F%3ESessions%20%3A%200%3CBR%20%2F%3ELastHeartBeat%20%3A%3CBR%20%2F%3EAgentVersion%20%3A%201.0.407.1%3CBR%20%2F%3EAssignedUser%20%3A%3CBR%20%2F%3EOsVersion%20%3A%3CBR%20%2F%3ESxSStackVersion%20%3A%3CBR%20%2F%3EStatus%20%3A%20UpgradeFailed%3CBR%20%2F%3EUpdateState%20%3A%20Failed%3CBR%20%2F%3ELastUpdateTime%20%3A%205%2F3%2F2019%2010%3A27%3A32%20PM%3CBR%20%2F%3EUpdateErrorMessage%20%3A%20UpdateAgentSxSStackAsync%20-%20InstallMSIException%20Microsoft.RDInfra.RDAgent.Service.InstallMSIException%3A%20Fatal%20error%20during%20installation.%3CBR%20%2F%3Eat%20Microsoft.RDInfra.RDAgent.Service.MsiInstallerHelper.LaunchMSIExec(String%20msiArgs%2C%20TimeSpan%20timeSpan%2C%20ILogger%20logger%2C%20Boolean%20reportFailures)%20in%3CBR%20%2F%3EC%3A%5Cagent%5C_work%5C1%5Cs%5Csrc%5CRDAgent%5Csrc%5CService%5CAgentUpdateClasses%5CAgentUpdateCommon.cs%3Aline%2081%3CBR%20%2F%3Eat%20Microsoft.RDInfra.RDAgent.Service.SxSStackInstaller.InstallMSI(String%20msiFilePath)%20in%3CBR%20%2F%3EC%3A%5Cagent%5C_work%5C1%5Cs%5Csrc%5CRDAgent%5Csrc%5CService%5CAgentUpdateClasses%5CSxSStackInstaller.cs%3Aline%2062%3CBR%20%2F%3Eat%20Microsoft.RDInfra.RDAgent.Service.RDAgentUpdateHandler.%3CUPDATEAGENTSXSSTACKASYNC%3Ed__55.MoveNext()%20in%3CBR%20%2F%3EC%3A%5Cagent%5C_work%5C1%5Cs%5Csrc%5CRDAgent%5Csrc%5CService%5CAgentUpdateClasses%5CRDAgentUpdateHandler.cs%3Aline%20426%3C%2FUPDATEAGENTSXSSTACKASYNC%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-530592%22%20slang%3D%22en-US%22%3ERE%3A%20Unable%20to%20add%202016%20or%202019%20to%20WVD%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-530592%22%20slang%3D%22en-US%22%3EI%20cloned%20the%20original%20W10%20vm%20and%20was%20able%20to%20add%20that%20to%20the%20pool.%20I%20would%20still%20like%20to%20know%20how%20to%20add%20a%20marketplace%202016%20or%202019.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1223493%22%20slang%3D%22en-US%22%3ERe%3A%20Unable%20to%20add%202016%20or%202019%20to%20WVD%20pool%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1223493%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F333354%22%20target%3D%22_blank%22%3E%40rich_ws%3C%2FA%3ECheck%20the%20Event%20Log%20on%20the%20new%20server.%20You%20probably%20need%20to%20install%20the%20Remote%20Desktop%20Session%20Host%20role.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPowerShell%3C%2FP%3E%3CPRE%3EAdd-WindowsFeature%20RDS-RD-Server%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

I have tried to add both 2016 (including SxS manual install) and 2019, they appear in the pool but fail with the same error (see below) after "updating". The original pool and Win10 multi-user machine that was provisioned from the portal is fine. tia.

-----

AllowNewSession : True
Sessions : 0
LastHeartBeat :
AgentVersion : 1.0.407.1
AssignedUser :
OsVersion :
SxSStackVersion :
Status : UpgradeFailed
UpdateState : Failed
LastUpdateTime : 5/3/2019 10:27:32 PM
UpdateErrorMessage : UpdateAgentSxSStackAsync - InstallMSIException Microsoft.RDInfra.RDAgent.Service.InstallMSIException: Fatal error during installation.
at Microsoft.RDInfra.RDAgent.Service.MsiInstallerHelper.LaunchMSIExec(String msiArgs, TimeSpan timeSpan, ILogger logger, Boolean reportFailures) in
C:\agent\_work\1\s\src\RDAgent\src\Service\AgentUpdateClasses\AgentUpdateCommon.cs:line 81
at Microsoft.RDInfra.RDAgent.Service.SxSStackInstaller.InstallMSI(String msiFilePath) in
C:\agent\_work\1\s\src\RDAgent\src\Service\AgentUpdateClasses\SxSStackInstaller.cs:line 62
at Microsoft.RDInfra.RDAgent.Service.RDAgentUpdateHandler.<UpdateAgentSxSStackAsync>d__55.MoveNext() in
C:\agent\_work\1\s\src\RDAgent\src\Service\AgentUpdateClasses\RDAgentUpdateHandler.cs:line 426

2 Replies
Highlighted
I cloned the original W10 vm and was able to add that to the pool. I would still like to know how to add a marketplace 2016 or 2019.
Highlighted

@rich_wsCheck the Event Log on the new server. You probably need to install the Remote Desktop Session Host role.

 

PowerShell

Add-WindowsFeature RDS-RD-Server