40 C
Dubai
Wednesday, April 30, 2025
Home Blog Page 107

How to Edit the OWA front page in Exchange 2010

Let us see how to change the Outlook web app(OWA) Logon page in Exchange 2010

Browse into the Exchange Installation location

\V14\Client Access\OWA\<version number>\themes\resources

image

Every .gif file inside this folder serves its own purpose

Am going to customize a little

For Example :

Open : lgntopl.gif

Take a backup of that file

image

Just edited it and replaced the file in the below location

\V14\Client Access\OWA\<version number>\themes\resources.

image

Now Look at my OWA page

image

Quick reference in TechNet on which .gif serves which Purpose

http://technet.microsoft.com/en-us/library/ee633483.aspx

 

How to Give Send As and Send on Behalf permission on a Distribution Group in Exchange 2010

We will see how to give Send As and Send on Behalf Permission on a Distribution Group

Both as a difference , for doing different purposes

Lets see how to Give Send As Permission for a user on a distribution group

Get-DistributionGroup "Distribution Group Name" | Add-AdPermission –ExtendedRights Send-As –User "UserName" –AccessRights ExtendedRight

For Example –

My Distribution Group Name = NormalDistribution

image

User who needs to have Send As permission on the DistributionGroup = CEO

image

Giving Send-As Permission for “CEO” User on “NormalDistribution” Group

Get-DistributionGroup "NormalDistribution" | Add-AdPermission –ExtendedRights Send-As –User "CEO" –AccessRights ExtendedRight

image

It doesn’t take effect immediately , It takes at least 2 hours of time in the production Environment

Restarting Information Store Service will get this permission to effect immediately

—-

Now Open Outlook – New Email – Options

Click From

Now You got the From above To

Now Choose From , Choose the Distribution Group you want to send As

image

Now Sending an Test Email to a User

image

-Now Lets see how to Give Send on Behalf Permission for a user on a distribution group

Set-DistributionGroup "Distribution Group Name" –GrantSendonBehalfTo "UserAlias"

For Example –

My Distribution Group Name = NormalDistribution

image

User who needs to have Send on Behalf Permission on the DistributionGroup = Chairman

image

Giving Send on Behalf Permission for “Chairman” User on “NormalDistribution” Group

Set-DistributionGroup "NormalDistribution" –GrantSendonBehalfTo "Chairman"

image

It doesn’t take effect immediately , It takes at least 2 hours of time in the production Environment

Restarting Information Store Service will get this permission to effect immediately

—-

Now Open Outlook – New Email – Options

Click From

Now You got the From above To

Now Choose From , Choose the Distribution Group you want to send As

image

Now Sending an Test Email to a User

image

Now Will See who was the Sender.

Great !!

You learnt how to Add Permissions on a Distribution Group

 

How to create a DAG (Database Availability Group) in Exchange 2010

Well, Creating DAG is much more simpler,

But configuring it properly is the best part to have it efficiently working.

So lets see how to create a 2 node DAG , where most of the Environments are willing to have 2 Dedicated servers for Exchange which has all the roles HUB,CAS,MBX.

NOTE **Am not Describing Client access array in this blog , Windows NLB won’t work if you have all roles installed on the same Server

you should for a 3rd party NLB in this Scenario for Client access Array ,

I will describe my environment now

I have 2 AD sites

image

Exchange Servers = 2 , Every AD site has a Exchange Server

image

========================================================

First we will prepare the Environment for the DAG

You can Skip this Step if you are not going to Have your File Share Witness in the Domain Controller

 

Am Adding Exchange Trusted Subsystems in Administrators Group as am going to have my File Share Witness in the “Primary-DC”

To get rid of permissions issue. If you are not giving this permission , you may end up with the below error while creating DAG.

Insufficient permissions to access file shares on witness server . Until this problem is corrected, the database availability group may be more vulnerable to failures. You can use the Set-DatabaseAvailabilityGroup cmdlet to try the operation again. Error: Access is denied

Open Administrators Group and add Exchange Trusted Subsystem Group to it.

image

———————————————————————————-

I will have my Primary LAN . Will add a Replication LAN ,for my DAG replication

So that I will come out of an Single point of failure on my LAN

If my replication network fails it can failover to the production network. vice versa.

image

My Replication Network , IP configuration should be defined as below

as one machine cannot have 2 default gateways,

image

Will do the same on both the nodes . will add a route for my Replication IP , so that they can ping each other

==========================================================================

Now we will  Create a DAG ,

image

Specify the DAG name . Witness Server Name , Witness Location

image

“ Always have File Share Witness in the Primary Site “

Now my DAG is Ready

Add members to it.

image

Adding the members

image

image

Great !! Now your DAG is ready !!

Now go to your DAG properties , Assign a Static IP for the DAG

if you have difference subnet or different class of ip on either Sites.

Have Two IP address for the DAG so that DAG resource can be online while failover on either sites

If you have only one Subnet , then you can have only one Ip address for the DAG

image

Now you can see your Database Master Servers are pointing to the DAG

image

Now you can add a Mailbox Database Copy , So that Databases can Failover Each other

image

Choosing a Server to Add a Copy

image

Now your Copy Shows Healthy

image

Now you can Activate a copy on the other server to Test the Failing over a database

image

image

Lossless is 0 logs lost, Good Availability is 3 logs lost, and Best Availability, which is the default, is 6 logs lost

Best Effort – You might have a massive loss of data.

You can choose as per your convenience ,Great !! you did a Database failover now !!

For Disaster Recovery Purpose You got to add Two more steps

Enabling DataCenterActivationMode , This avoids Split Brain Syndrome if the whole Primary Datacenter Fails

Set-DatabaseAvailabilityGroup &quot;DAG1-CareExch&quot; –DataCenterActivationMode DAGOnly

image

Configuring Alternate File Share Witness

Set-DatabaseAvailabilityGroup &quot;DAG1-CareExch&quot; –AlternateWitnessServer &quot;DR-DC&quot; –AlternateWitnessDirectory &quot;C:\File Share Witness&quot;

image

Now you got the Recommended design for DAG !!

Virtual Labs for Exchange – Learners Paradise I would say !!

Good to know —

Microsoft Provides Virtual Labs for Exchange 2003,2007,2010

In one Click it creates the Environment for you. It gives a span of time to use.

Build it , Crash it ..You learn from it !!

Great Right .

Follow the below link to use it.

Microsoft Virtual Labs

image

Run the ActiveX

It Prepares the Test Environment for you

image

Happy Learning !

 

Managing Microsoft Exchange Services with Windows Powershell in Exchange 2010

We usually need to get the Microsoft Exchange services to disabled one by one in more scenarios like Performance, Setup etc.. .

But its much easier to manage Exchange services in powershell , Saves more time !!

To Get all the MsExchange Services Startup Type to Disabled State

Get-Service | where{$_.Name –Like ‘MSExchange*’} | set-Service –StartupType ‘Disabled’

clip_image002

To Get all the MxExchange Services Startup Type to  Automatic State

Get-Service | where{$_.Name –Like ‘MSExchange*’} | set-Service –StartupType ‘Automatic’

clip_image004

(Starting and Stopping all Service in one Shot differs , scenario to scenario – Please have this Tested in your Lab)

To Stop All the MsExchange Service

Get-Service | where{$_.Name –Like ‘MSExchange*’} | stop-Service –Force

Note ** Am using -Force as MsExchangeADTopology Service as dependancies

clip_image006

To Start All the MsExchange Service

Get-Service | where{$_.Name –Like ‘MSExchange*’} | start-Service

clip_image008

To the Current Status of the Service

Get-Service | where{$_.Name –Like ‘MSExchange*’}

image

Happy Learning !!

 

How to Edit the Default Template details in Global Address list in Exchange 2010

Editing the default template in Global Address becomes much adequate nowadays ,

where organization have the user Contact information intact ,

Organized IT team always wants to update information list like IP phone, Room Number in the Global Address list

And also IT team wants to remove some unwanted information from the Global Address list ,

So will learn how to do it .

Open your Outlook  – Open your address book – Double Clicking on the User1 for example shows this.

image

So I feel “Assistant” is unwanted there , and I want to replace it with “Cabin Number”

Open Exchange Management Console – Toolbox – Details Template Editior

image

As we are going to Edit a template of a user , Choosing English User

We can edit a Group , PF folder , Mailbox Agent , Contact so n So, Have a look at it , if you want to customize it

But am not going to concentrate on that as of now

image

Choosing Assistant give me the Option to Change its Values

image

Changing my Assistant to Cabin Number as per my requirement

image

Entered “Cabin Number:”

image

Now the Template is Edited , But where we are going to enter the Cabin Number , That what we should decide.

Click on the Empty Space , As there is no Dedicated Attribute for “Cabin Number:”  , We have choose them .

Am Using Ms-Exch-Extension-Attribute-15 as they are empty in my Organization

image

Am Saving the Edited Template ,

image

Now For Example I will Add a Value for User1 in Cabin Number for Testing Purposes

Set-Mailbox –Identitly User1 –CustomAttribute15 12345

image

Now Opening Outlook , You can see “Assistant” has been replaced with “Cabin Number” having Value 12345

image

Great !!

You learnt how to Customize the Entries in Global Address list

 

× How can I help you?