Forum Discussion

MarkusOE's avatar
MarkusOE
Brass Contributor
Apr 29, 2025
Solved

HCW fails to detect an Exchange Server

I'd like to acquire a free hybrid license using the Hybrid Configuration Wizard. However to me that seems to require HCW detects the Exchange Server on the second page. However it doesn't detect any of my two Exchange Servers (yes, that worked in the past with the older one). No matter on which of both servers I execute HCW, it doesn't detect any of both servers.

To me it appears like the cause is a remote powershell (Exchange Management Shell) session failing to be initiated.

ECP and Exchange Management Shell work fine.

I get the following error messages in the HCW log:

ERROR 10085 (and 10084) Client UX, Activity Detection, Thread 6 Fehler bei der Remoteserververbindung mit der folgenden Fehlermeldung: Beim Verbinden mit dem Remoteserver MYNEWEXCHANGESERVER01 ist folgender Fehler aufgetreten: Eine angegebene Anmeldesitzung ist nicht vorhanden. Sie wurde gegebenenfalls bereits beendet (a specified logon session does not exist. it may already have been terminated)

Could not connect to MYNEWEXCHANGESERVER01

 

When I try to start the Exchange Management Shell from the HCW window using F12 I get the following error, too:

New-Pssession : MYNEWEXCHANGESERVER01 Beim Verbinden mit dem Remoteserver "MYNEWEXCHANGESERVER01" ist folgender Fehler aufgetreten: Eine
angegebene Anmeldesitzung ist nicht vorhanden. Sie wurde gegebenenfalls bereits beendet. 

Der Domänen- oder Computername wurde nicht mit den angegebenen Anmeldeinformationen hinzugefügt. Beispiel:
DOMAIN\UserName oder COMPUTER\UserName.

  • SOLVED.

    I don't understand the root cause. However I could work around the issue by having my admin-account which I use to execute HCW from the protected users group temporarily.
    Thanks to everybody who contributed and thanks to Lenovo for the following support article which reported the same cause in a different context.
    https://support.lenovo.com/nz/de/solutions/ht515867

8 Replies

  • MarkusOE's avatar
    MarkusOE
    Brass Contributor

    SOLVED.

    I don't understand the root cause. However I could work around the issue by having my admin-account which I use to execute HCW from the protected users group temporarily.
    Thanks to everybody who contributed and thanks to Lenovo for the following support article which reported the same cause in a different context.
    https://support.lenovo.com/nz/de/solutions/ht515867

  • Please run Windows PowerShell next command!

    $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://MYNEWEXCHANGESERVER01/PowerShell/ -Authentication Kerberos -Credential (Get-Credential)
    Import-PSSession $session

    • MarkusOE's avatar
      MarkusOE
      Brass Contributor

      Thanks AnnTaeYoun. I ran your command using username format domain.local\adm-xyz from powershell.exe (not Exchange Management Shell) and it was accepted. However afterwards there were no Exchange CMDlets available like get-exchangeserver or get-mailbox.

  • Can you start the Exchange PowerShell on those servers?

    Can you check if remote PowerShell has been restricted/disabled/ any firewall?

    • MarkusOE's avatar
      MarkusOE
      Brass Contributor

      Thanks AndresGorzelany . Exchange Management Shell works fine on the servers when I start it from the start menue. However when I start it from the HCW panel after pressing F12, it fails to load with the error message I posted in my inital post.
      I start the HCW directly on MYNEWEXCHANGESERVER01 and there is no firewall since the Windows Firewall is disabled for all networks.

Resources