RDCms Database Stuck in Recovery Pending Mode After Reboot

Ryan Custer 1 Reputation point
2022-01-11T20:19:06.433+00:00

We have an RDS deployment with a connection broker / gateway server and two session hosts.

We are having the issue where the RDCms database goes into recovery pending mode after each reboot. We have to connect the database manually, take it offline and then bring it back on line to get it to work.

The errors in the WID log at the time are:

2022-01-02 00:17:43.07 spid51 Starting up database 'RDCms'.
2022-01-02 00:17:53.28 spid51 Failed to verify Authenticode signature on DLL 'C:\Windows\WID\Binn\DBVerify\rdcmsDbVerify.dll'.
2022-01-02 00:17:53.34 Logon Error: 18456, Severity: 14, State: 38.
2022-01-02 00:17:53.34 Logon Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Failed to open the explicitly specified database 'RdCms'. [CLIENT: <named pipe>]
2022-01-02 00:17:57.76 Logon Error: 18456, Severity: 14, State: 38.
2022-01-02 00:17:57.76 Logon Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Failed to open the explicitly specified database 'RdCms'. [CLIENT: <named pipe>]
2022-01-02 00:17:57.77 Logon Error: 18456, Severity: 14, State: 38.

I found this article: https://social.technet.microsoft.com/Forums/en-US/8f032597-9eff-4876-8239-fca71b8d118d/rds-broker-database-rdcms-status-quotrecovery-pendingquot-after-reboots?forum=winserverTS

But the RDCms.dbo.sysdiagrams table does not exist within the database in our environment.

This is getting cumbersome for our customer and any assistance would be greatly appreciated.

Thanks!

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,547 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Henkes 1 Reputation point
    2022-12-19T09:31:38.683+00:00

    We have the same issue here.
    WServer 2019 with RDS roles installed
    After a WUpdate reboot, the server won't allow RDP sessions from users. Admins can still login.
    The issue seems to come from this WID error so the connection broker doesn't work.

    "Failed to verify Authenticode signature on DLL 'C:\Windows\WID\Binn\DBVerify\rdcmsDbVerify.dll'."

    After a second manuel reboot, the issue is gone

    No RDCms.dbo.sysdiagrams

    Please fix this Microsoft


  2. Michael Henkes 1 Reputation point
    2023-03-12T19:33:13.73+00:00

    The issue is still occuring, even after a random restart (no win-updates)

    Please fix your shit Microsoft


Your answer

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