Manual assignment of a Remote Desktop certificate fails with error message "Invalid parameter"

Assume the following scenario:

Set-WMIInstance : Invalid parameter
 At line:1 char:1
 Set-WMIInstance -path $TerminalServicesConfig.__path -argument @{SSLC …
 ~~~~~~~~~~~~~~~~~ CategoryInfo          : InvalidOperation: (:) [Set-WmiInstance], ManagementException
 FullyQualifiedErrorId : SetWMIManagementException,Microsoft.PowerShell.Commands.SetWmiInstance 

Continue reading "Manual assignment of a Remote Desktop certificate fails with error message "Invalid parameter""

No remote desktop logon possible from outside the Active Directory forest

Assume the following scenario:

  • You want to establish a remote desktop connection.
  • The client computer from which the connection is made is not a member of the same Active Directory forest as the target computer.
  • The connection fails with the following error message:
A user account restriction (for example, a time-of-day restriction) is preventing you from logging on. For assistance, contact your system administrator or technical support.

Continue reading "No remote desktop logon possible from outside the Active Directory forest"

Details of the event with ID 1073 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1073 (0xC0000431)
Event log:System
Event type:
Event text (English):The msPKI-Cert-Template-OID column for the template-based certificate %1 returned an unknown data type %2.
Event text (German):Die Spalte "msPKI-Cert-Template-OID" für das vorlagenbasierte Zertifikat %1 hat den unbekannten Datentyp %2 zurückgegeben.

Continue reading "Details of the event with ID 1073 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1072 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1072 (0xC0000430)
Event log:System
Event type:
Event text (English):The cn column for the template-based certificate %1 returned an unknown data type %2.
Event text (German):Die Spalte "cn" für das vorlagenbasierte Zertifikat %1 hat den unbekannten Datentyp %2 zurückgegeben.

Continue reading "Details of the event with ID 1072 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1065 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1065 (0xC0000429)
Event log:System
Event type:Error
Event text (English):The template-based certificate that is being used by the RD Session Host server for Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) authentication and encryption has expired and cannot be replaced by the RD Session Host server. The following error occurred: %1.
Event text (German):Das vorlagenbasierte Zertifikat, das vom Remotedesktop-Sitzungshostserver für Authentifizierung und Verschlüsselung mithilfe von Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) verwendet wird, ist abgelaufen und kann nicht vom Remotedesktop-Sitzungshostserver ersetzt werden. Fehler: %1.

Continue reading "Details of the event with ID 1065 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1064 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1064 (0xC0000428)
Event log:System
Event type:Error
Event text (English):The RD Session Host server cannot install a new template-based certificate to be used for Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) authentication and encryption. The following error occured: %1.
Event text (German):Der Remotedesktop-Sitzungshostserver kann kein neues vorlagenbasiertes Zertifikat installieren, das für Authentifizierung und Verschlüsselung mithilfe von Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) verwendet werden soll. Fehler: %1.

Continue reading "Details of the event with ID 1064 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1063 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1063 (0xC0000427)
Event log:System
Event type:Information
Event text (English):A new template-based certificate to be used by the RD Session Host server for Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) authentication and encryption has been installed. The name for this certificate is %1. The SHA1 hash of the certificate is provided in the event data.
Event text (German):Es wurde ein neues vorlagenbasierten Zertifikat installiert, das vom Remotedesktop-Sitzungshostserver für die Authentifizierung und Verschlüsselung mithilfe von Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) verwendet werden soll. Der Name dieses Zertifikats lautet "%1". Der SHA1-Hashwert des Zertifikats wird in den Ereignisdaten bereitgestellt.

Continue reading "Details of the event with ID 1063 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1062 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1062 (0xC0000426)
Event log:System
Event type:Error
Event text (English):The RD Session Host server is configured to use a template-based certificate for Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) authentication and encryption, but the subject name on the certificate is invalid. %1 The SHA1 hash of the certificate is in the event data. Therefore, the default certificate will be used by the RD Session Host server for authentication. To resolve this issue, make sure that template used to create this certificate is configured to use DNS name as subject name .
Event text (German):Der Remotedesktop-Sitzungshostserver ist für die Verwendung eines vorlagenbasierten Zertifikats für die Authentifizierung und Verschlüsselung mithilfe von Transport Layer Security (TLS) 1.0\Secure Sockets Layer (SSL) konfiguriert, aber der Antragstellername auf dem Zertifikat ist ungültig. %1 Der SHA1-Hashwert des Zertifikats ist in den Ereignisdaten enthalten. Daher verwendet der Remotedesktop-Sitzungshostserver das Standardzertifikat für die Authentifizierung. Zum Lösen des Problems sollten Sie sicherstellen, dass die zum Erstellen dieses Zertifikats verwendete Vorlage für die Verwendung eines DNS-Namens als Antragstellername konfiguriert ist .

Continue reading "Details of the event with ID 1062 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1059 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1059 (0xC0000423)
Event log:System
Event type:
Event text (English):The RD Session Host Server authentication certificate configuration data was invalid and the service reset it. If the computer was configured to use a specific certificate, please verify it is available in the certificate store and use the administrative tools to select it again.
Event text (German):Die Konfigurationsdaten des Authentifizierungszertifikats für den Remotedesktop-Sitzungshostserver waren ungültig, und der Dienst hat sie zurückgesetzt. Wenn der Computer für die Verwendung eines bestimmten Zertifikats konfiguriert war, überprüfen Sie, ob es im Zertifikatspeicher verfügbar ist, und verwenden Sie die Verwaltungsdienstprogramme, um es erneut auszuwählen.

Continue reading "Details of the event with ID 1059 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1058 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1058 (0xC0000422)
Event log:System
Event type:
Event text (English):The RD Session Host Server has failed to replace the expired self signed certificate used for RD Session Host Server authentication on SSL connections. The relevant status code was %1.
Event text (German):Fehler beim Ersetzen des abgelaufenen selbstsignierten Zertifikats für die Remotedesktop-Sitzungshostserver-Authentifizierung bei SSL-Verbindungen. Zugehöriger Statuscode: %1.

Continue reading "Details of the event with ID 1058 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1057 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1057 (0xC0000421)
Event log:System
Event type:
Event text (English):The RD Session Host Server has failed to create a new self signed certificate to be used for RD Session Host Server authentication on SSL connections. The relevant status code was %1.
Event text (German):Fehler beim Erstellen eines neuen selbstsignierten Zertifikats, das für die Remotedesktop-Sitzungshostserver-Authentifizierung bei SSL-Verbindungen verwendet werden soll. Zugehöriger Statuscode: %1.

Continue reading "Details of the event with ID 1057 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1056 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1056 (0xC0000420)
Event log:System
Event type:Information
Event text (English):A new self signed certificate to be used for RD Session Host Server authentication on SSL connections was generated. The name on this certificate is %1. The SHA1 hash of the certificate is in the event data.
Event text (German):Es wurde ein neues selbstsigniertes Zertifikat für die Remotedesktop-Sitzungshostserver-Authentifizierung bei SSL-Verbindungen generiert. Der Name auf diesem Zertifikat ist "%1". Der SHA1-Hash des Zertifikats findet sich in den Ereignisdaten.

Continue reading "Details of the event with ID 1056 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1055 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1055 (0xC000041F)
Event log:System
Event type:
Event text (English):The RD Session Host Server is configured to use a certificate but is unable to access the private key associated with this certificate. %1 The SHA1 hash of the certificate is in the event data. The default certificate will be used for RD Session Host Server authentication from now on. Please check the security settings by using the Remote Desktop Session Host Configuration tool in the Administrative Tools folder.
Event text (German):Der Remotedesktop-Sitzungshostserver ist für die Verwendung eines Zertifikats konfiguriert, kann jedoch nicht auf den diesem Zertifikat zugeordneten privaten Schlüssel zugreifen. %1 Der SHA1-Hash des Zertifikats findet sich in den Ereignisdaten. Ab jetzt wird für die Remotedesktop-Sitzungshostserver-Authentifizierung das Standardzertifikat verwendet. Überprüfen Sie die Sicherheitseinstellungen mithilfe des Dienstprogramms "Konfiguration des Remotedesktop-Sitzungshosts" im Ordner "Verwaltung".

Continue reading "Details of the event with ID 1055 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"

Details of the event with ID 1054 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager

Event Source:Microsoft-Windows-TerminalServices-RemoteConnectionManager
Event ID:1054 (0xC000041E)
Event log:System
Event type:
Event text (English):The RD Session Host Server is configured to use a certificate that does not contain an Extended Key Usage attribute of Server Authentication. %1 The SHA1 hash of the certificate is in the event data. The default certificate will be used for RD Session Host Server authentication from now on. Please check the security settings by using the Remote Desktop Session Host Configuration tool in the Administrative Tools folder.
Event text (German):Der Remotedesktop-Sitzungshostserver ist für die Verwendung eines Zertifikats konfiguriert, das kein Attribut "Erweiterte Schlüsselverwendung" der Serverauthentifizierung enthält. %1 Der SHA1-Hash des Zertifikats findet sich in den Ereignisdaten. Ab jetzt wird für die Remotedesktop-Sitzungshostserver-Authentifizierung das Standardzertifikat verwendet. Überprüfen Sie die Sicherheitseinstellungen mithilfe des Tools "Konfiguration des Remotedesktop-Sitzungshosts" im Ordner "Verwaltung".

Continue reading "Details of the event with ID 1054 of the source Microsoft-Windows-TerminalServices-RemoteConnectionManager"