Posts Tagged ‘Exchange 2007’

How to use Eseutil on a computer that doesn’t have Exchange Server 2007 installed

September 4, 2009 Leave a comment

Follow these steps:

  • On the computer that does not have Exchange installed, create a new folder.
  • Copy Jcb.dll, Exchmem.dll, Ese.dll and Eseutil.exe files from the Exchange’s computer’s Drive:\Program Files\Microsoft\Exchange Server\Bin\ folder to the new folder you just created.
  • Open Command prompt (run –> cmd) and change the directory to the new folder.
  • Run the eseutil command from this folder against any databases that were copied from the Exchange server computer.

You will find more information from this KB article




Replica inconsistent Exchange Server 2007 & Data Protection Manager Server 2007

September 1, 2009 Leave a comment

A while back I had issues with my DPM 2007 and my Exchange 2007 db. DPM 2007 kept telling me that my Exchange 2007 db replica is inconsistent. I found this blog post which helped me. I thought it would be good to add it to my blog as a reminder and to share it with others.



How to Change Logging Levels for Exchange 2007 Processes

May 11, 2009 Leave a comment

First, lets check what are the current logging levels for the processes. To do that use the following command in Exchange Management Shell:

Get-EventLogLevel –Server:Exch1

To change a logging level use the following command:

Set-EventLogLevel –Identity:”ECIdParameter” –Level “Lowest | Low | Medium | High | Expert”

To get a full list of processes that are with configurable event logging levels go to this website.


Exchange 2007 SP1 (CAS, Hub, Mailbox roles and Tools) tips on Windows Server 2008

May 11, 2009 2 comments

Now then, I’m not going to describe here how to install or setup a Windows Server 2008 box with Exchange 2007 SP1. I presume that you already have Windows Server 2008 with Exchange 2007 SP1 running in your organization, maybe even multiple. I just want to go over few things you might need to double check, before saying that your Exchange 2007 SP1 box is ready for a public use. Specially if you are using multiple CAS, HUB, Mailbox servers in your organization and all of them are operating separately. Right, first thing you need to do is Disable IPv6 on your Windows Server 2008 box (as there is no fix for this yet). IPv6 loopback is not listening port 6004. Here’s how you can turn it off:

* Open the Network Connections window and select the network adapter that you are currently using and under properties unselect IPv6 protocol.
* Now open your hosts file which is located in %systemroot%\system32\drivers\etc\ folder:

Look for this line:

::1 localhost

and change it to this:

# ::1 localhost

Also add there your Exchange server HOSTNAME and FQDN. So the hosts file should look like this: exch1.domain.local EXCH1 localhost
# ::1 localhost

* The last thing you should do, is edit your registry and disable the IPv6 there. Go down to:


and add a 32-bit D-WORD with the name DisabledComponents, and give it a value ff. It is possible you may need to reboot your server after this.

After this is done, confirm that you have Exchange 2007 SP1 installed with CAS, HUB, Mailbox roles plus the Tools. If you have not yet you might want to install RPC over HTTP. You can do this with the following command: ServerManagerCmd -i RPC-over-HTTP-proxy. If you got several Active Directory sites in your organization and you are not relying on Exchange 2007 to pick the closest Domain Controller, there is a way you can manually force them to use local site DC’s. Here What you need to do:

* Open your regedit on Exchange server and add under:


new multi string value (REG_MULTI_SZ) called NSPI Target Server. Inside it write down your local site Domain Controller(s). Next thing you need to do is go down to your Domain Controller(s) and open up the registry go down to:


and add the following new multi string value (REG_MULTI_SZ) called NSPI Interface protocol sequences. Inside it write this: ncacn_http:6004, after this is done reboot your Domain Controller(s) and Exchange server.

Now it is time to enable Outlook Anywhere: Enable-OutlookAnywhere -Server exch1.domain.local -DefaultAuthenticationMethod:Basic -SSLOffloading:$false

Next we are going to verify CAS services URLs. First lets verify which URLs we currently are using. Outlook 2007 has a built-in tool for that. It is called Test E-mail Autoconfiguration. We can access it by opening the Outlook 2007 client, holding down the Ctrl key and right-clicking on the Outlook icon located on the systray. In the tool uncheck Use Guessmart and Secure Guessmart Authentication and click on Test. Then we will receive all the current URLs set up for Outlook 2007 clients they are shown on 2 sections:

First is Exchange RPC (internal):

Availability Service: https://exch1.domain.local/EWS/Exchange.asmx
OOF URL: https://exch1.domain.local/EWS/Exchange.asmx
OAB URL: https://exch1.domain.local/OAB/2c00976e-35c9-4e1b-b5bf-5oc2d07de8es
UM URL: https://exch1.domain.local/UnifiedMessaging/Service.asmx

Second is Exchange HTTP (external). Now these URLs might be missing or wrong and these are the ones we will go over:

Availability Service:

First lets check the autodiscover URL (internal). To see the current URL use the following command:

Get-ClientAccessServer EXCH1 | Select Name, *Internal* | fl

Now if the URL is not what you want it to be use this command to change it:

Set-ClientAccessServer –Identity EXCH1 –AutoDiscoverServiceInternalUri ”https://exch1.domain.local/Autodiscover/Autodiscover.xml”

Now the OAB internal URL:

Get-OABVirtualDirectory –server EXCH1 | Select Name, Identity, *Internal* | fl

Set the new OAB internal URL:

Set-OABVirtualDirectory -Identity “EXCH1\OAB (Default Web Site)” –InternalURL “https://exch1.domain.local/OAB”

And add the external URL as well:

Get-OABVirtualDirectory –server EXCH1 | Select Name, Identity, *External* | fl

Set-OABVirtualDirectory -Identity “EXCH1\OAB (Default Web Site)” –ExternalURL “”

Next lets go over the web services external URL (as Internal should be ok):

Get-WebServicesVirtualDirectory | Select Name, Identity, *url* | fl

And to add or change it:

Set-WebServicesVirtualDirectory –Identity EXCH1\EWS (Default Web Site)” –ExternalUrl:

Just in case restart IIS7 (iisreset /noforce) and to confirm that the new URLs are working run the Test E-mail Autoconfiguration tool again.

Now publish your Exchange (if you haven’t already done this) by creating rules in your ISA 2006 SP1 server and you are good to go.


Outlook Anywhere bug with Windows Server 2008

April 28, 2009 Leave a comment

There is a bug in Windows Server 2008 when you are using Exchange 2007 Outlook Anywhere (or trying to use). The server is not listening port 6004 over IPv6 loopback and the current suggestion (by community, not official) to fix this is to disable IPv6 all together. I’ve found a pretty good post that describes how to disable IPv6 and install RPC over HTTP, here’s the link.

PS! This should be fixed in Exchange Server 2007 Update Rollup 5


If Search is not working in Outlook Web Access 2007 (how to fix)

April 28, 2009 1 comment

If you got a problem that search is not working in Outlook Web Access 2007, then here is what you should do to fix it:

1. Go to you Exchange 2007 server and open Exchange Management Shell.
2. Type in: ResetSearchIndex -Force –All


Exchange 2007 CSR Command Creator

April 28, 2009 Leave a comment

I needed to great new certificate for my Exchange 2007 server. As I was not that familiar with Exchange Management Shell at that time, I decided to dig around to get some help. Here’s what I found. These pages are quite easy to understand so I will not rewrite them. Instead I’ll try to post a small explanation with the link:

* First I suggest to read little about SAN (Subject Alternative Names) and SAN Certificates. You can obtain the needed information from here.
* Here is an explanation how to use CSR tool to generate a code for your certificate request.
* This is the DigiCert’s Exchange 2007 CSR Tool. You can use it to generate a command and then copy it to Exchange Management Shell.
* Here is a small how-to about how to install your certificate to your Exchange 2007 server using Exchange Management Shell.
* Exchange 2007 has IIS7 installed as well + IIS7 Management Tools (if I remember correctly). You can use this page to get some info how to install it using IIS7 Management Tools.