Exchange 2010 unable to access EMC or EMS

Error:
Exchange 2010 Management Console

Initialization failed.

The following error occurred while attempting to connect to the specified Exhange Server ‘name of the server’

The attempt to connect to server using ‘kerberos’ authentication failed:Connecting to remote server failed with the following error message : The WS-Management service cannot process the request. The system load quota of 1000 requests per 2 seconds has exceeded. Send future requests at a slower rate or raise the system quota. The next request from this user will not be approved for atleast 324122176 milliseconds. for more information, see the about_remote_troubleshooting Help topic.

Solution:
try restart IIS (or IISReset command)

Logging SMTP Protocol Activity in Exchange 2007 / 2010

Enable protocol logging on a Receive Connector

Set-ReceiveConnector “Connector Name” -ProtocolLoggingLevel verbose

Receive Connector logs default path:

  • Exchange 2010: \Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpReceive
  • Exchange 2007: \Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpReceive

To change:

Set-TransportServer “TRANSPORT SERVER NAME” -ReceiveProtocolLogPath “C:\Directory”

Enable protocol logging on a Send Connector

Set-SendConnector “Send Connector Name” -ProtocolLoggingLevel verbose

Send Connector logs default path:

  • Exchange 2010: \Exchange Server\V14\TransportRoles\Logs\ProtocolLog\SmtpSend
  • Exchange 2007: \Exchange Server\TransportRoles\Logs\ProtocolLog\SmtpSend

To change:

 Set-TransportServer “TRANSPORT SERVER NAME” -SendProtocolLogPath “C:\Directory”

Mail acceptance failure, BDAT command

The BDAT ESMTP command verb is an alternative to the DATA command. When an SMTP virtual server responds to the EHLO keyword with CHUNKING, the SMTP server indicates that it supports the BDAT command and will accept messages in chunks.

To resolve this error, check the messaging environment for issues or configurations that might be blocking the BDAT command verb such as:

  • Transient network outages
  • SMTP proxies
  • Firewalls
  • Applications

Exchange 2010: Unable to open Exchange Management Console – Initialization Failed

Message:
The attempt to connect to http://exchange.contoso.com’/powershell using ‘Kerberosauthentication failed: Connecting to the remote server failed with the following error message : WinRM cannot process the request…

#1
Close EMC. Open regedit and delete ‘NodeStructureSetting’  from registry: HKEY_CURRENT_USER\SOFTWARE\Microsoft\ExchangeServer\v14\AdminTools.

#2
Make sure that the Kerbauth module (C:\Program Files\Microsoft\Exchange Server\v14\Bin\kerbauth.dll) is not enabled on the default website but is, instead, enabled only for the PowerShell virtual directory.
AND
Make sure that the WSMan module (C:\Windows\system32\wsmsvc.dll) is registered but not enabled at the Server level.

TMG 2010 SP1 and Exchange 2010 SP1: TMG Managed Control service hangs (event id 31306 and 31309)

  • Run the Remove-EdgeSubscription Cmdlet in an administrative Exchange Powershell console
  • Manually remove any receive connectors in the Exchange Management Console
  • Removing all configuration settings in the E-mail policy group
  • Restarting the TMG Managed Control Service
  • Reconfiguring the E-mail policy

Exchange max e-mail size settings

1. Organization Configuration:

Organization Configuration | Hub Transport | Global Settings tab | Transport Settings

2. Server Configuration:

Server Configuration | Hub Transport | select a HT server | Receive Connectors -> select a connector | Properties

3. Send Connector Configuration

Organization Configuration | Hub Transport | Send Connectors -> select connector | Properties

4. Recipients Configuration:

Recipients Configuration | Mailbox | select mailbox | properties | Mail Flow Settings | Message Size Restrictions

5. Recipients Group Configuration:

Recipients Configuration |Distribution Group | select Group | properties | Mail Flow Settings | Message Size Restrictions

6. Global Setting in ADSIEdit:

Configuration container | Services | Microsoft Exchange |YourOrgName| Global Settings | Message Delivery | Properties

7. Transport Rules:

Organization Configuration | Hub Transport | Transport Rules

 

Exchange 2010 DAG: Manually disable database activation

Blocks the copy of the database DATABASE on the server SERVER for activation:

Suspend-MailboxDatabaseCopy -Identity DATABASE\SERVER -ActivationOnly

Resumes:

Resume-MailboxDatabaseCopy -Identity DATABASE\SERVER

Update:
Another option is to block ALL databases hosted on a server from activating:

Set-MailboxServer –identity SERVER –DatabaseCopyAutoActivationPolicy Blocked

Resumes:

Set-MailboxServer –identity SERVER –DatabaseCopyAutoActivationPolicy Unrestricted

Exchange 2010: event id 16025 : No DNS servers could be retrieved from network adapter

This Error event indicates the specified network adapter that is configured for internal DNS lookups on the Microsoft Exchange Server Hub Transport server or Edge Transport server is invalid.

To resolve this error, do one of the following:

Open the Exchange Management Console locally on the Hub Transport server or Edge Transport server. Configure the internal DNS lookups to use all available network adapters, or a specific adapter that exists on the Hub Transport server or Edge Transport server.

or

Open the Exchange Management Shell. Run the Get-NetworkConnectionInfo cmdlet locally on the Hub Transport server or Edge Transport server. Note the GUID of the network adapters. Use the GUID of the desired network adapter as the value for the InternalDNSAdapterGUID parameter on the Set-TransportServer cmdlet. If you want to use the DNS settings of all available network adapters, enter a GUID of 00000000-0000-0000-0000-000000000000.