Monthly Archives: July 2011

Exchange 2010 SP1 Update Rollup 4 v2 released

Yesterdays news…

The UR4 have been re-released as a version 2
More information can be found on the Exchange team blog

Download link:

KB information:

Exchange 2010 and Symantec Backup Exec Restore Scenarios


Published: 2011-07-22
Updated: –
Version: 1.0


Here are some restore scenarios that I will show how to use with Symantec Backup Exec 2010 R3 together with Exchange native tools.


Restore single item/content


Mailbox view, delete of the latest email content.


The mail is now deleted.


Empty recycle bin as well.


Go into Symantec Backup Exec console and select “New Restore Job…”. It’s placed in the upper right.


Select the mailbox and content that should be restored.


Restore Job Activity overview..


When the restore job is completed, the Mail content is restored into the mailbox.




Restore mailbox into subfolder in another mailbox



Go into Symantec Backup Exec console and select “New Restore Job…”. It’s placed in the upper right.


Select the Database, including Logs.


Destination: type in \\Server03 (My Exchange server) and selecting to use a redirect using VSS to a path using the browse button.


Microsoft Exchange: deselecting “Automatically recreate user accounts and mailboxes”.


The restore job has started.


Browsing the path on the Exchange server, files are restored to the server.
Make sure both the edb and the log files are in the same folder, the job will be easier to complete then.


Directory browsing in “R:\RDB…”.


Check what state the database is in, using the command:
eseutil /mh DB.edb“.
It says: State: Dirty shutdown.
This means we need to use eseutil to run a soft recovery using the log files together with the database so it will get into “Clean shutdown” state.


It’s time for the soft recovery using the command below:
eseutil /R E01 /D


Checking the state after the soft recovery using:
eseutil /mh DB.edb


Let’s create a Recovery Database by using:
New-MailboxDatabase –Name RDB –Recovery –EdbFilePath ‘R:\RDB\Exchange Server\DB\DB.edb’ –LogFolderPath ‘R:\RDB\Exchange Server\DB’ –Server Server03

It will prompt with a warning that the database state needs to be in Clean Shutdown state.
Mounting the database:
Mount-Database –id RDB


Checking which mailboxes that resides in the RDB database by using:
Get-MailboxStatistics –Database RDB“.


Next step is to create a Restore Request using the RDB:
New-MailboxRestoreRequest –SourceDatabase RDB –SourceStoreMailbox “Klas Andersson” –TargetMailbox “Klas.Andersson@target.local” –TargetRootFolder Recovery“.


To see what status the request has:
Get-MailboxRestoreRequest | Get-MailboxRestoreRequestStatistics“.


Below is a picture from Outlook when the Request is completed.


Time for the clean up afterwards..

When the request is completed, remove it:
Get-MailboxRestoreRequest | Remove-MailboxRestoreRequest“.


Dismounting the database:
Dismount-Database RDB“.


Removing database using:
Remove-MailboxDatabase RDB“.



If you want to restore a mailbox into another that doesn’t match the LegacyDN the switch “-AllowLegacyDNMismatch” needs to be used.
In my case I’m restoring the mailbox for Klas Andersson into Anette Andersson’s mailbox using the command below:
New-MailboxRestoreRequest –SourceDatabase RDB –SourceStoreMailbox “Klas Andersson” –TargetMailbox “Anette.Andersson@target.local” –TargetRootFolder Recovery –AllowLegacyDNMismatch”.




Restore user and mailbox


If it happens that a user/mailbox is accidental deleted it can be easily recreated and restored by using Backup Exec.
First we remove the mailbox and the user account from EMC. The picture below shows that.


Go into Symantec Backup Exec console and select “New Restore Job…”. It’s placed in the upper right.


Select the mailbox that was previously deleted.


Microsoft Exchange: Make sure that the option “Automatically recreate user accounts and mailboxes” are selected.
Let’s start the restore job.


Restore Job Activity status..


Starting Outlook, it shows that everything is back like it was before.





More information and resources

Recovery Databases

How to recover an Exchange server

Dial tone recovery:

Install and create backup jobs with Symantec Backup Exec 2010 R3


Published: 2011-06-21
Updated: –
Version: 1.0


Infrastructure setup



This guide is not a best practice guide in any way, it should be treated as an example on how it can be done.

I’m going to use the GRT feature with Backup Exec (BE) to being able to recover individual items etc.


Installation of Backup Exec 2010 R3


Startup browser.exe and select Installation and press Backup Exec.


Type in the license keys. Press Next.


Type in the service account that should be used, in my case “target\SA-BE2010” and password. Press Next.


The installation finds my Exchange server and wants to install the remote agent. Press Next.


The installation is done. Press Next.


Starting up the Backup Exec console. Press “Get software patches and updates”. Update with the latest hotfixes. Press Next.


The updates have been installed. Press Finish.


The arrows on the picture are marking the steps that are going to be configured. Start with Create Logon Accounts.


Press Next.


I’m selecting to Edit my account “SA-BE2010” and typing in my password. Press Next.


Selecting “Common logon account..”. Press Next.


Press “Configure Devices”.


I want to use “Backup-To-Disk Folder” option. Select that one.


The wizard starts. Press Next.


Give the Folder a name “Backup-To-Disk Folder”. Press Next.


Browse for a folder to save the backups into. Press Next.


I don’t want to allocate the maximum size right away. Press Next.


Default values are used, 4 GB per backup-to-disk file. Press Next.


Default values are used, 100 backup sets per backup-to-disk file. Press Next.


Maximum of 2 concurrent jobs. Press Next.


The disk space threshold is set to 500 MB. Press Next.


A summary is shown. Press Next.


Press Finish.


Select “Create Media Sets”.


Since this is the first time, we want to create a new media set. Press Next.


The media set is given the name “Exchange”. Press Next.


Default values are used. Press Next.


Default values are used. Press Next.


A Summary is shown. Press Next.


Press Finish.


The 3 “Getting started” tasks are now completed.



Service Account

Before the installation started I was creating an account named “SA-BE2010” and it’s a member of “Domain Admins” and “Organization Management”.


Restore options

Go to Tools -> Options -> Microsoft Exchange. Put a checkbox in “Automatically recreate user accounts and mailboxes”,
set a default password by pressing “Change Password..”. Then press OK.




Create the backup job

Select “Job Setup” and on the left side press “New job using wizard”.


Selecting Custom and browsing for “” which is my Exchange server.
Choosing the Microsoft Information Store and check the databases to the right. Press Next.


The backup method that’s used is “Full backup job”. Press Next.


I want to run the backup schedule; every day at 23.00 (11.00 PM). Press Next.


Select “Backup-to-disk folder” and selecting the “device” we created in earlier setup. Press Next.


Keeping the default values. Press Next.


Summary view. Press Submit.


Verification of the backup job

Starting the backup job manually and open it up.


A summary of the backup job.


Out of Office and Free/Busy doesn’t work



I’ve seen so many threads on the TechNet forum now so i thought it was time for a blog post around this topic.


I hit into trouble when the Out of Office (OoO) and Free Busy (F/B) functions didn’t work.
It started with troubleshooting it regarding certificate, names, URL’s and autodiscover testing.

Everything looked OK, but still the functions were out of order..

This issue will apply on both Exchange 2007 and 2010 as far as I know.


When using Outlook 2007 or newer and a user wants to configure his/her OoO, Outlook uses the EWS/Autodiscover functions and here we go.

This issue can be solved in the following way

  • Check the current config/settings
  • Check the certificate
  • DNS settings


  1. Check the following settings using the cmd-lets

Get-OwaVirtualDirectory | fl name, path, *url*
Get-WebServicesVirtualDirectory | fl name, path, *url*
Get-OabVirtualDirectory | fl name, path, *url*
Get-ActiveSyncVirtualDirectory | fl name, path, *url*
Get-AutodiscoverVirtualDirectory | fl name, path, *url*
Get-ClientAccessServer | fl name, *uri*

Save the results from those commands and compare the names to the certificate since the names in the settings needs in the certificate.


  1. Check the included names in the certificate

Get-ExchangeCertificate | fl certificatedomains,services,status,notbefore,issuer

Let’s compare the results with each other..


  1. DNS settings

The DNS settings were OK since a SRV record was created for the Autodiscover function internally and it was tested successfully using

Test-OutlookWebServices -Identity klas.andersson@target.local




In my case, it looked OK but still didn’t function and we did a lot of research around the issue and found that a delete and recreate of the virtual directories (vdir) should solve the issue.

But that wasn’t the case..

We successfully deleted the EWS vdir but couldn’t create a new one since the prompt was telling us that the object was already in the Active Directory.

The picture below shows the error message


However, the command we run did create the EWS vdir, but without any path, so it’s impossible to use it and it couldn’t be configured using the “Set” command either.


The only option for solving this issue will be to remove the CAS role and then reinstall it.
This can easily be done using the Exchange media (ISO or extracted files)..

Start up an elevated command prompt and go to the path of the media and run:

Setup /mode:uninstall /roles:ca

When the procedure is completed, let’s restart the server.


When the server has been restarted, let’s start up an elevated command prompt again and reinstall the CAS role using:

Setup /mode:install /role:ca


When the installation is done, I would recommend to restart the server again to fresh it up.

When it’s started up, let’s check the settings:

Get-WebServicesVirtualDirectory | fl

Here we see that the path have been added..
So let’s try the OoO function using Outlook 2010, pressing File-> Info -> Automatic Replies (Out of Office).

Here we go J


Hope this information will become valuable for anyone that hit into the same problem that I did.

To me this seems to be a bug that the vdirs cannot be removed and then cannot be recreated.
Hopefully we will not see these kinds of errors in the future J

Released: Update Rollup 4 for Exchange 2007 SP3


Update Rollup 4 for Exchange 2007 SP3 have been released.

Have a look at the team blog here:

For downloading the UR4 Exchange 2010 SP1 directly, go to:

KB for what issues have been fixed in the update rollup