Tuesday, September 17, 2013
Remove .local from exchange web settings
1.Start the Exchange Management Shell.
2.Modify the Autodiscover URL in the Service Connection Point. The Service Connection Point is stored in the Active Directory directory service. To modify this URL, type the following command and then press ENTER:
Set-ClientAccessServer -Identity CAS_Server_Name -AutodiscoverServiceInternalUri https://mail.contoso.com/autodiscover/autodiscover.xml
3.Modify the InternalUrl attribute of the EWS. To do this, type the following command, and then press ENTER:
Set-WebServicesVirtualDirectory -Identity "CAS_Server_Name\EWS (Default Web Site)"
-InternalUrl https://mail.contoso.com/ews/exchange.asmx
4.Modify the InternalUrl attribute for Web-based Offline Address Book distribution. To do this, type the following command, and then press ENTER:
Set-OABVirtualDirectory -Identity "CAS_Server_name\oab (Default Web Site)"
-InternalUrl https://mail.contoso.com/oab
5.Open IIS Manager.
6.Expand the local computer, and then expand Application Pools.
7.Right-click MSExchangeAutodiscoverAppPool, and then click Recycle.
Wednesday, August 28, 2013
Exchange 2010 bug not removing mailboxes after migration to an new database
While moving mailboxes from one database to another the move request finishes with a warning:
Warning: Failed to clean up the source mailbox after the move.
Error details: MapiExceptionUnexpectedMailboxState: Unable to delete mailbox. (hr=0x80004005, ec=2634)
You will see the mailbox is disconnected but won't delete. To remove the mailbox use exchange powershell and enter these commands:
$aa=Get-MailboxStatistics -Database Mailbox database name| where {$_.DisconnectReason -eq “SoftDeleted”}
$aa | foreach {Remove-StoreMailbox -Database $_.database -Identity $_.mailboxguid -MailboxState SoftDeleted}
Wednesday, August 14, 2013
Limit Exchange 2010 memory use
ADSIedit.msc
Select known naming context and pick Configuration
Configuration-Services-MS Exchange-ORG NAME-Admin groups-ADMIN GROUP-Servers-SERVERNAME-Info Store
Right click the info store and choose properties and scroll down to find msExchESEParamCacheSizeMax and msExchESEParamCacheSizeMin
1GB is 32768, multiply that by the number of GB you want for min and max. Example
4GB min 32768
8GB max 262144
This is different than exchange 2007
1gb is 131072
Friday, August 9, 2013
Enabe mailbox auditing Exchange 2010
Set-Mailbox -Identity User2 -AuditEnabled $true
Then configure what you want to audit:
Set-Mailbox -Identity user2 -AuditAdmin copy,MoveToDeletedItems,move,update,folderbind,messagebind -AuditOwner Update,Move,MoveToDeletedItems,SoftDelete,HardDelete -AuditDelegate Update,MoveToDeletedItems,SoftDelete,HardDelete,SendAs,Create -AuditEnabled $true
Then use exchange control panel to search the logs:
https://yourmail.server.com/ecp
Friday, May 31, 2013
Change please wait to a usable message for Windows 7/Vista boxes
Computer Configuration | Administrative Templates | System | "Verbose vs normal status messages". Change state to "Enabled"
Wednesday, May 15, 2013
Import PST into exchange 2010
New-ManagementRoleAssignment –Role "Mailbox Import Export" –User USER
The files need to be stored on a share
New-MailboxImportRequest -FilePath \\server\share\user.pst -Mailbox usermailbox
Command to remove request when completed:
Get-MailboxImportRequest | where {$_.status -eq "Completed"} | Remove-MailboxImportRequest
Monday, April 29, 2013
Exchange backpressure fix:
Modify the edgetransport.exe.config file
c:\program files\microsoft\exchange server\bin (Exchange 2007) or c:\program files\microsoft\exchange server\v14\bin (Exchange 2010)
Search for and change the "EnableResourceMonitoring" from “True” to "False", save and close the file, then restart the Microsoft Exchange Transport Service.
Subscribe to:
Posts (Atom)