Sunday, August 30, 2015

[EX2010] Corrupted Free/Busy Data



Some booking issues are related to corrupted Free/Busy data. In these cases, best practices are to update the Free/Busy information for the resource mailbox. To do this, follow these steps:
  1. Load an Outlook profile for the resource mailbox in MFCMapi.
  2. Locate the Free/Busy folder for the mailbox in MFCMapi that is located above Top of Information Store.
  3. Delete the following two files:
    • Local Data
    • Sniffer



Find-BadCalendarItems.ps1

[EX2010] DB Recovery




A quick over view of all the options for Microsoft Exchange’s ESEUTIL.
Eseutil /cc Performs a hard recovery after a database restore.
Eseutil /d Performs an offline compaction of a database.
Eseutil /g Verifies the integrity of a database.
Eseutil /k Verifies the checksums of a database.
Eseutil /m Generates formatted output of various database file types. e.g. /mh
Eseutil /p Repairs a corrupted or damaged database.
Eseutil /r Performs soft recovery to bring a single database into a consistent or clean shutdown state.
Eseutil /y Copies a database, streaming file, or log file.

[EX2010] Virtual Directories




Default Web site
Anonymous
Required

aspnet_client
Anonymous authentication
SSL required
Requires 128-bit encryption

Autodiscover
Anonymous authentication
Basic authentication
Windows authentication
SSL required
Require 128-bit encryption

ecp
Anonymous authentication
Basic authentication
SSL required
Requires 128-bit encryption

EWS
Anonymous authentication
Windows authentication
SSL required
Requires 128-bit encryption

Microsoft-Server-ActiveSync
Basic authentication
SSL required
Requires 128-bit encryption

OAB
Windows authentication
Not required

owa
Basic
SSL required
Requires 128-bit encryption

Powershell
Anonymous authentication
Not required

Rpc
Basic authentication
Windows authentication
SSL required
Requires 128-bit encryption

RpcWithCert
By default, all authentication methods are disabled
Required

[EX2010] Uncomplete Installation



Check if the "Watermark" and/or "Action" registry key exist in the following paths:

HKEY_Local_Machine\Software\Microsoft\ExchangeServer\V14\ClientAccessRole
HKEY_Local_Machine\Software\Microsoft\ExchangeServer\V14\MailboxRole
HKEY_Local_Machine\Software\Microsoft\ExchangeServer\V14\HubTransportRole


If so, delete it and re-run the Setup file.

[EX2010] Change Expired Passwords



1. Log on to the Client Access server.
2. Start Registry Editor (regedit).
3. Locate the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchange OWA.
4. Create the following DWORD value if it doesn't already exist: ChangeExpiredPasswordEnabled. The value type will be REG_DWORD.
5. Set the value of ChangeExpiredPasswordEnabled to 1.
6. Exit Registry Editor.
7. Restart the IIS (iisreset).

[EX2010] Update E-mail Address Policy





From Exchange 2003 to Exchange 2010

Get-EmailAddressPolicy | where {$_.RecipientFilterType –eq “Legacy”} |Set-EmailAddressPolicy –IncludedRecipients AllRecipients

Open ADSIEDIT. MSC

Go to : 
CN=Default Policy,CN=Recipient Policies,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=xyz,DC=com

Then “Remove” MsExchMailboxManagerFolderSettings list 

[EX2010] Delete Disconnected Mailboxes



Update the databases to show all disconnected mailboxes
Get-MailboxDatabase | Clean-MailboxDatabase


List all disconnected mailboxes in a database and display DisconnectReason if its SoftDeleted or Disabled
Get-MailboxStatistics -Database DATABASE | Where-Object {$_.DisconnectDate -Notlike $NULL} | ft DisplayName, DisconnectDate, MailboxGuid, DisconnectReason –Wrap


Remove all SoftDeleted disconnected mailboxes from a Database
Get-MailboxStatistics -Database DATABASE | where {$_.DisconnectReason -eq "SoftDeleted"} | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted}


* Note you will be prompted to confirm each deletion, type Y to each confirmation as prompted. You can add the -Confirm switch to bypass confirmation prompt.