Support
 
Support Get Quote
 
 
 
 
Remote, Terminal server

Resolving remote desktop disconnected error: License certificate corruption

Aug 08, 2022 3 min read
 
  • Remote
  • Terminal server

A Remote desktop disconnected error can occur due to License certificate corruption. This error can throw any of the following error messages:

of a security error, the client could not connect to the Terminal server. After making sure that you are logged on to the network, try connecting to the server again.

or,

desktop disconnected. Because of a security error, the client could not connect to the remote computer. Verify that you are logged onto the network and then try connecting again.

Additionally, any of the following license related event ID messages may be logged:

  • Event ID: 50
    Event Source: TermDD
    Event Description: The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client.
  • Event ID: 50
    Event Source: TermDD
    Event Description: The RDP protocol component X.224 detected an error in the protocol stream and has disconnected the client.
  • Event ID: 1004
    Event Source: TermService
    Event Description: The terminal server cannot issue a client license.
  • Event ID: 1010
    Event Source: TermService
    Event Description: The terminal services could not locate a license server. Confirm that all license servers on the network are registered in WINS/DNS, accepting network requests, and the Terminal Services Licensing Service is running.
  • Event ID: 28
    Event Source: TermServLicensing
    Event Description: Terminal Services Licensing can only be run on Domain Controllers or Server in a Workgroup.

If you suspect License certificate corruption, check for the above events in the Event Viewer of the Remote desktop server. Then proceed with the resolution.

Quick Tip: ManageEngine EventLog Analyzer, a comprehensive log management solution can help you set alerts to spot these events in the logs. Click here to know more.

To resolve this problem, perform the following procedure on all Remote Desktop Servers

  • Back up and then remove the X509 Certificate registry keys,
  • Restart the computer
  • Reactivate the Remote Desktop Services Licensing server.
Note: Making changes to the registry should be done with utmost caution as incorrect changes may result in serious problems. It is advisable to back up the registry before making the changes.

Steps:

  • Start Registry Editor.
  • Locate and click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\RCM
  • On the Registry menu, click Export Registry File.
  • Type exported- Certificate in the File name box, and then click Save. If you have to restore this registry subkey in the future, double-click the Exported-parameters.reg file that you saved in this step.
  • Right-click the following values and click Delete. Click Yes to verify deletion.
    Certificate X509 Certificate X509 Certificate ID X509 Certificate2
  • Exit Registry Editor, and then restart the server.

You may also like

 

Interested in a
log management
solution?

Try EventLog Analyzer
Database platforms

Understanding SQL Server Audit better

Read more
 
Previous articles
Next articles
Network devices

Critical Windows events: Event ID 6008 - Unexpected system shutdown

Read more
 

Manage logs, comply with IT regulations, and mitigate security threats.

Seamlessly collect, monitor, and analyze
logs with EventLog Analyzer

Your request for a demo has been submitted successfully

Our support technicians will get back to you at the earliest.

  •  
  •  
By clicking 'Submit', you agree to processing of personal data according to the Privacy Policy.

  Zoho Corporation Pvt. Ltd. All rights reserved.

Link copied, now you can start sharing
Copy