find last committed transaction log file -Exchange 2007

When Transaction logs file grows up and fills the disk and you cannot backup and solution is to delete log files manually.

eseutil /mk D:\DB\ExchangeDB\E00.chk

command shows some information.



Checkpoint:(0xB9E2,8,0) line means that you can delete log files before ....B9E2

how to purge multiple disconnected user account in Exchange 2007

This cmdlets provides you an easy way to purge disconnected user accounts.

1.$store= Get-MailboxDatabase
"\\"

2.Get-MailboxStatistics -database $store | where {$_.disconnectdate -ne $null} |
foreach {remove-mailbox -database $store -storemailboxidentity $_.displayname}

how to force OWA light usage



To set the restriction on the Virtual Directory for all users,

Set-owavirtualdirectory -id: -PremiumClientEnabled:$false

To set it for a specific user

Set-CasMailbox -id: -OWAPremiumClientEnabled:$false

how to change Exchange 2007 owa public and private logout time

Private
If you select private option at OWA logon screen,your session will end after 480 minutes,if necessary or would like to change

Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchange OWA
DWORD: PrivateTimeout
Values: 1 to 43200
Missing DWORD = 480 minutes (default)

Public
Public option gives your session is limited for 15 minutes.use this registry key for changing.

Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchange OWA
DWORD: PublicTimeout
Values: 1 to 43200
Missing DWORD = 15 minutes (default)

Microsoft Network Load balancing in Vmware

In unicast mode,Microsoft NLB shares a common MAC address.Vmware ESX server sends a RARP packet when a node is powered on.This exposes the Cluster Mac address asap NLB node is on.This causes single node will response to network traffic.you have two options in this case.
1.Use multicast for NLB.
2.in ESX server-->Configuration-->Advanced Settings-->Net
set the value Net.NotifySwitch=0
but this is a global option,all esx virtual machine will be affected.Vmotion may not work properly.

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&exter
nalId=1556&sliceId=1&docTypeID=DT_KB_1_1&dialogID=26310418&stateId=0 0 26304946

how to use one certificate for Autodiscover feature

1. Apply the mail.company.com certificate to the Default Website of your CAS server.
2. Change the External and Internal URLs for your Autodiscover services to point to mail.company.com. *
a. For OAB use [Set OAB Virtual Directory] -Identity "server/oab virtual directory name" –externalURL https://mail.company.com/oab –InternalURL https://mail.company.com/oab
b. For EWS (Exchange Web Services) use: [Set Web Services Virtual Directory] -Identity "server/ews virtual directory name" –externalurl https://mail.company.com/EWS/Exchange.asmx –internalurl https://mail.company.com/EWS/Exchange.asmx
c. For UM (if you have it) use Set-UMVirtualDirectory –externalurl https://mail.company.com/UnifiedMessaging/Service.asmx –internalurl https://mail.company.com/UnifiedMessaging/Service.asmx
3. Configure the Service connection point to use the mail.company.com address. Use the command:
Set-ClientAccessServer -id cas server -AutoDiscoverServiceInternalUri https://mail.company.com/autodiscover/autodiscover.xml
4. Set the Default Website to only listen on one IP address
a. On the Website tab assign the current IP to the website.
b. Click Advanced
c. Under SSL Identities edit the IP address to be only the current address
5. Bind an additional IP address to the CAS servers Network Card.
6. Create a new website in IIS admin
a. Right-Click Web Sites, choose New, then "Web Site"
b. When you are asked for the path, create a new folder in the file system (recommended under C:\Inetpub called autodiscover_redirect)
c. You must allow read and anonymous access to the site.
7. In Windows Explorer under the autodiscover_redirect folder create a new folder called “Autodiscover”
8. In the Autodiscover folder create a new blank text document with the name “Autodiscover.xml”
9. Setup the Website to redirect to the mail.company.com site
a. In IIS manager right click the Autodiscover.xml file and choose properties.
b. On the properties choose “A redirection to a URL”
c. For redirection fill in the same address as we used for your Service Connection Point (e.g. https://mail.company.com/autodiscover/autodiscover.xml)
d. Click OK
10. Ensure that mail.company.com can be resolved internally.
11. Ensure that mail.company.com and Autodiscover.company.com can be resolved externally.

OCS Exchange 2007 Address book synchronization error

Exchange 2007 ve OCS Communicator arasında OCS kurulumundan sonra address book error problemi yaşayabilirsiniz.RTC ile başlayan OCS Service account'larının password expire sürelerini kontrol etmelisiniz.RTC* kullanıcılarınızın password süreleri bittiği için Exchange Web Service ile senkronize olmayacaktır.

no Routing group connector during Exchange 2007 migration

Exchange 2007 migration esnasında,2003 ile 2007 arasında rgc (routing group connector) otomatik olarak oluşmamışsa

New-RoutingGroupConnector -Name "Interop RGC" -SourceTransportServers
"Exchange2007HubServer.domain.com" -TargetTransportServers
"Exchange2003.domain.com" -Cost 100 -Bidirectional $true
-PublicFolderReferralsEnabled $true

komutu ile RGC'i oluşturabilirsiniz.

Exchange 2007 Mount database problem

Exchange is unable to mount the database that you specified. Specified database: Server\SG\Mailbox DB; Error code: MapiExceptionADNotFound: Unable to mount database. (hr=0x80004005, ec=2417)
Exchange sunucularınızda yeni yarattığınız db leri mount etmekte yukarıdaki problemi yaşarsanız,Exchange sunucuların Active Directory server'larınıza sağlıklı erişim sağladığını kontrol ediniz.Exchange sunucu restart'dan sonra aynı problem devam ederse,setup.com /prepareAD komutunu çalıştırınız.Exchange kurulumda AD permissionlarında ki eksiklikleri gidereceksiniz.