I have an Exchange 2010 organization installed at two sites with one server at each site. I set up my local site first. Exchange Management Console always chooses to connect to the remote server instead of a local one. I can open the properties of "Microsoft Exchange On-Premises (remotemail.example.com)" and tell EMC to connect to the local server, but it ignores the request and stays connected to the remote server.
How do I get EMC to default to the local server, and why can't I change which server it connects to?
You can try this approach or check the bindings in the Default WebSite in IIS. Is should point to "All Unassigned". Please read-through this article as well.
This discussion provided the answer. When I started Exchange Management Shell, it attempted to connect to the local server and failed with the message:
I followed the quick-fix advice of running iisreset, and it appears to be working at the moment. If the issue reoccurs, I will change the PowerShellMaxCmdlets and PowerShellMaxCmdletTimePeriod properties using Set-ThrottlingPolicy.
Under C:\users\xxxx\AppData\Roaming\Microsoft\MMC\ there is a config file named Exchange Management Console. Delete it. In the registry under HKEY_CURRENT_USER\Software\Microsoft\ExchangeServer\v14\AdminTools: clear the value for "NodeStructureSettings".
If the EMC is pointing to a wrong on-premises server then go to
C:\Users\username\AppData\Roaming\Microsoft\Exchange\RemotePowerShell
and change the folder which is located inside RemotePowershell or Delete the exchange folder itself as suggested above. And then proceed to the registry edit. Before making any changes to registry ensure the whole resgistry is exported to the desktop and then proceed to make changes inHKEY_CURRENT_USER\Software\Microsoft\ExchangeServer\v14\AdminTools
: clear the value forNodeStructureSettings
on the left side only few 0000s will be left which you cant delete anyways. Close and relaunch EMC and it should point to the correct server.