[Server 20292]Remote Desktop Connection Broker's database is deleted during upgrade setup

%3CLINGO-SUB%20id%3D%22lingo-sub-2131231%22%20slang%3D%22en-US%22%3E%5BServer%2020292%5DRemote%20Desktop%20Connection%20Broker's%20database%20is%20deleted%20during%20upgrade%20setup%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2131231%22%20slang%3D%22en-US%22%3E%3CP%3EDuring%20upgrade%20setup%20of%20Insider%20builds%2C%20Remote%20Desktop%20Broker's%20database%20(RDCms)%20is%20deleted%20from%20Windows%20Internal%20Database.%20This%20makes%20Remote%20Desktop%20Management%20Service%20fail%2C%20forcing%20user%20to%20rebuild%20Remote%20Desktop%20farm.%3C%2FP%3E%3CP%3EThis%20can%20be%20observed%20during%20upgrade%20to%2020289%20and%20persisted%20in%20upgrade%20to%2020292.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22compare.png%22%20style%3D%22width%3A%20950px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254685i654A9F06DE9165D2%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22compare.png%22%20alt%3D%22compare.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22fail.PNG%22%20style%3D%22width%3A%20729px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F254686i586E16216000D090%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22fail.PNG%22%20alt%3D%22fail.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2131231%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EManagement%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

During upgrade setup of Insider builds, Remote Desktop Broker's database (RDCms) is deleted from Windows Internal Database. This makes Remote Desktop Management Service fail, forcing user to rebuild Remote Desktop farm.

This can be observed during upgrade to 20289 and persisted in upgrade to 20292.

 

compare.pngfail.PNG

3 Replies

@xmvmvmx Thank you for reporting this issue. Our team is able to reproduce the behavior you described and are investigating.

@xmvmvmx Thanks again for reporting this issue. It should be resolved in the latest build (Announcing Windows Server Preview Build 20308). That is to say, upgrading from Windows Server 2019 to build 20308+ should not show this issue with the Remote Desktop Connection Broker database.

@rickman_MSFT 

Now setup errors and rolls back. Seems RDWEB cannot correctly handle the upgrade.

Below are logs attached in which I believe no personal info is contained.

 

2021-03-13 21:17:14, Info CSI 0000025a tsportalai.cpp(3254):RDWeb AI online install mode...
2021-03-13 21:17:14, Info CSI 0000025b tsportalai.cpp(173):CheckRegKeyExist, no key found, RDWA not installed
2021-03-13 21:17:14, Info CSI 0000025c tsportalai.cpp(342):GetWebsiteNameFromRegistry: No website specified, using the defaults
2021-03-13 21:17:14, Info CSI 0000025d tsportalai.cpp(2756):Using WebSiteId : 1 and WebSiteName : Default Web Site.
2021-03-13 21:17:14, Info CSI 0000025e tsportalai.cpp(1658):AddElement failed : Error Code : 0x800700B7.
2021-03-13 21:17:14, Info CSI 0000025f tsportalai.cpp(2387):AppPool Name : RDWebAccess
2021-03-13 21:17:14, Info CSI 00000260 tsportalai.cpp(2423):AddElement for application pools collections failed : Error Code : 0x800700B7.
2021-03-13 21:17:14, Info CSI 00000261 tsportalai.cpp(2796):CreateAppPool failed : Error Code : 0x800700B7.
2021-03-13 21:17:14, Info CSI 00000262 tsportalai.cpp(3059):Exiting RDWebAIRun with Exit Code : 0x800700B7.
2021-03-13 21:17:14, Error [0x018056] CSI 00000263 (F) Failed execution of queue item Installer: RDWEB Installer ({c607008b-4014-4239-8e0c-40eb4f7119f4}) with HRESULT HRESULT_FROM_WIN32(ERROR_ALREADY_EXISTS). Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]
2021-03-13 21:17:14, Info CBS Could not get active session for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2021-03-13 21:17:14, Info CBS Could not get file name for current session file logging [HRESULT = 0x80004003 - E_POINTER]
2021-03-13 21:17:14, Info CONX aepic: TRACE,File::SetBaseFileInfoForPic,516,SetBaseFileInfoForPic: Added orphan file: c:\windows\system32\oobe\setup.exe