Saturday, December 18, 2010

Windows Live Essential 2011

Today I was surfing of the internet and came across Windows Live Essential 2011. It was found to be very interesting, hence installed it.

Now It has installed couple different application which I would need to day to life. That is Live messenger with new look which is I assume based on Lynch technology. Also you now integrate different social sites and can view update at one location.

Also This other best feature using which today I am writing this blog, this sounds interesting. It been long time I have not wrote on my blog, so writing it today.

Let me write something about exchange which I learned couple of days back but used it today.

Database portability feature is introduced into Exchange 2007 and we used to use following command to change the pointer for mailbox database.

Move-Mailbox –identity mbx1 –Targetdatabase CMS1\SG1\MB1 –Configurationonly

However this command will not work in Exchange 2010, incase you want to change the database pointer for user mailbox for some reason. You can achieve the same task by running command command, which does the same task.

Set-Mailbox –identity MBX1 –Database MB1

In what scenario use would need this command.

1) Your Exchange mailbox server is crashed and you have database files on disk which you can access. You want to mount that database on other mailbox server in organization so that users can start working on it.

2) You want to move the mailboxes to another data center without moving the mailboxes.In this case, you can copy the database file from exchange one data center to another and run the above command.

….Cheers. Happy Blogging  Smile

Monday, August 16, 2010

Part 2: Different ways to recovery E-mails from backup when mailbox on Exchange 2000, Exchange 2003 and Exchange 2007

Sunday, August 15, 2010

1:10 PM


Scenario:

You want to recover E-mails of user whose mailbox is deleted or deleted and created with same name or different name. So here is the deal as you have deleted the mailbox and created it is going to create a mailbox with different GUID. Hence the Mailbox GUID of restored mailbox and mailbox in the production is not going to match.

Resolution:

Restore mailbox store in Recovery Storage Group where user resides from backup. Now you can't merge the mailbox with production one as there Mailbox GUID doesn't match.

  1. You have to make this RSG act as normal storage group so that you can connect the disconnected mailbox to different AD account. How to do that ?


    1. Start ADSI Edit.
    2. Locate the mailbox store in the Recovery Storage group. To do so, expand Configuration Container [ YourServerName . YourDomainName . YourTopLevelDomain ] , expand CN=Configuration,DC= YourDomainName ,DC= YourTopLevelDomain , expand CN=Services , expand CN=Microsoft Exchange , expand CN= YourOrganizationName , expand CN=Administrative Groups , expand CN= Your Administrative Group , where Your Administrative Group is the administrative group that contains the storage group that you want to modify), expand CN=Servers , expand CN= YourServerName , expand CN=InformationStore , and then click CN= Recovery Storage Group .
    3. In the right pane, right-click the database object, and then click Properties .
    4. In the Select which properties to view list, click Both .
    5. In the Select a property to view list, click MSExchRestore and clear value from TRUE.
    6. Also right click on Recovery storage group and then click Properties .
    7. In the Select which properties to view list, click Both .
    8. In the Select a property to view list, click MSExchRestore and clear value from TRUE.


These above steps will make the database in RSG act as normal store. Then mount the store in RSG and run cleanup agent. You could see all the mailboxes in the disconnected state and you can connect the mailbox to any other AD account in the organization and then use exmerge to get the data into PST and then import it to production user using EXMERGE tool



Part 1: Different ways to recovery E-mails from backup when mailbox on Exchange 2000, Exchange 2003 and Exchange 2007

Scenario 1:

When you want to restore a mailbox or emails for user mailbox whose mailbox is moved to different database or server since the backup set which was taken.

Resolution:

Method 1:

Consider you have restored the database into Recovery Storage Group and then tried merging to it failed with some error as Mailbox was move to different store or server since backup set was taken.

  1. Move mailbox back to original store.

    If you don't remember the store location where this mailbox at time of the backup. You can follow below simple steps to find the store.

    1. Start ADSI Edit.
    2. Locate the RSG's Mailbox store. To do so, expand Configuration Container [ YourServerName . YourDomainName . YourTopLevelDomain ] , expand CN=Configuration,DC= YourDomainName ,DC= YourTopLevelDomain , expand CN=Services , expand CN=Microsoft Exchange , expand CN= YourOrganizationName , expand CN=Administrative Groups , expand CN= Your Administrative Group , where Your Administrative Group is the administrative group that contains the storage group), expand CN=Servers , expand CN= YourServerName , expand CN=InformationStore , and then click CN= Recovery Storage Group .
    3. In the right pane, right-click the Recovery Storage Group database object, and then click Properties .
    4. In the Select which properties to view list, click Both .
    5. In the Select a property to view list, click msExchOrigMDB.


The value of msExchOrigMDB is nothing but the store where mailbox was reside at the time of the backup. So you move the mailbox on this store again to perform the merge task or follow method 2:


Method 2:

If you don't want to move the mailbox to original store then you could follow this steps. Modify the msExchOrigMDB attribute on the Recovery Storage Group database to point to the mailbox store that you moved the mailbox to. Modify the msExchOrigMDB attribute on the Recovery Storage Group database to point to the mailbox store that you moved the mailbox to.


  1. Start ADSI Edit.
  2. Locate the mailbox store that you moved the mailbox to. To do so, expand Configuration Container [ YourServerName . YourDomainName . YourTopLevelDomain ] , expand CN=Configuration,DC= YourDomainName ,DC= YourTopLevelDomain , expand CN=Services , expand CN=Microsoft Exchange , expand CN= YourOrganizationName , expand CN=Administrative Groups , expand CN= Your Administrative Group , where Your Administrative Group is the administrative group that contains the storage group that you want to modify), expand CN=Servers , expand CN= YourServerName , expand CN=InformationStore , and then click CN= YourStorageGroup .
  3. In the right pane, right-click the database object, and then click Properties .
  4. In the Select which properties to view list, click Both .
  5. In the Select a property to view list, click distinguishedName .
  6. Right-click the value that is in the Value(s) box, and then click Copy .
  7. Click Cancel .
  8. Locate and then click the Recovery Storage Group database object in the CN=Configuration,DC= YourDomainName ,DC= YourTopLevelDomain container.
  9. In the right pane, right-click the Recovery Storage Group database object, and then click Properties .
  10. In the Select which properties to view list, click Both .
  11. In the Select a property to view list, click msExchOrigMDB.
  12. Click Clear .
  13. Right-click an empty area of the Edit Attributes box, and then click Paste .
  14. Click Set , and then click OK.
  15. Quit ADSI Edit.


Thursday, March 18, 2010

How to add SMTP address to exisiting E-mail address policy using Exchange 2007 Management Shell

You may face difficulties if not used to of Management shell for exchange and you are more confortable with Management console.
If you want to add additional smtp address in exisiting smtp policy and addition address formation is not present in default format in EAP. e.g.
Alias+somecharacter@domain.com.

You can following to achive your goal.
Set-EmailAddressPolicy -Identity "Name of policy" -EnabledEmailAddressTemplates 'SMTP:%s.%m@domain.com','smtp:%m+test@domain.com'

Here make sure you are including all the addresses in your existing EAP. Set-EmailAddressPolicy will replace the existing e-mail addresses as well. Also here capital SMTP defines the primary SMTP address for the EAP and rest are secondary address. Make sure you putting X400 address as well is it existing there in list of EAP.

For X400 you can add one more string.
X400:c=US;a=adminstrativegroup;o=organ