Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 21489

Remote Desktop Services: corrupt system database, how to remove and start again?

$
0
0

Hi. This is my first Windows Server 2012 R2 installation, and I have a made a small mess. I'd be very grateful for any assistance in sorting it out.

I had some problems which I eventually tracked down to an incorrectly installed SSL certificate, but during my diagnostics, I foolishly deleted a row from a system table, thinking that if it messed up, I could always reinsert the row. Forgetting of course that I couldn't recreate the ID of the original record because it's an auto-ID field. So I realise I'm an idiot.

I logged in to SQL server using:

\\.\pipe\MICROSOFT##WID\tsql\query

and deleted a row from:

Databases/RDCms/Tables/rds.Target

and from:

Databases/RDCms/Tables/rds.Pool

Predictably enough, the database is no longer coherent and RDWeb is not working properly, and I need to remove RDS and reinstall it.

I thought that removing the RDS server role and adding it again would do it, but the erroneous data is still there.

How can I get rid of it and start from a clean slate?

Thank you in advance for any help.

Stan


Viewing all articles
Browse latest Browse all 21489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>