Manage resource work hours in Exchange Server 2007 and 2010

In this post I will show you how to configure the way Exchange handles work hours for a resource mailbox.

Exchange 2007

To set the work hours you can use OWA or Outlook.

You can find the settings under Options and Calendar Options. Edit the Start Time and End Time of Calendar Work Week.


For OWA client, the Working hours configuration is saved in a hide message in Calendar folder, you can use MFCMapi to check the configuration:

  1. Run MFCMapi tool and logon the user mailbox (Online Mode)
  2. Open mailbox and expand Root Container and Top of Information Store
  3. Right click the Calendar folder and click Open Associated Contents Table
  4. Click the message which subject is IPM.Configuration.WorkHours
  5. Open the property 0x7C080102 which contains the Work Hours setting.

You can either configure the settings using the Outlook client, in Outlook 2010 the settings are in Outlook Options, Calendar and Work Time. Also, the Working hours configuration is saved in following registry key on the client:


When the work hours are set, you will have to run the following command to make sure that the mailbox only accept bookings during work hours:
Set-MailboxCalendarSettings -Identity <mailboxidentity> -ScheduleOnlyDuringWorkHours $true

Set-MailboxCalendarSettings -Identity test3 -ScheduleOnlyDuringWorkHours $true

Exchange 2010

In Exchange Server 2010 it’s a bit different. First, this is how you configure the actual work hours:
Set-MailboxCalendarConfiguration -Identity <mailboxidentity> -WorkingHoursStartTime <start time in format 00:00:00> -WorkingHoursEndTime <end time in format 00:00:00>

Set-MailboxCalendarConfiguration -Identity test3 -WorkingHoursStartTime 08:30:00 -WorkingHoursEndTime 17:30:00


And if you want to change the settings for all room mailboxes:
Get-Mailbox | Where {$_.RecipientTypeDetails -eq "RoomMailbox"} | Set-MailboxCalendarConfiguration -WorkingHoursStartTime 08:30:00 -WorkingHoursEndTime 17:30:00


There are plenty more settings that you can configure, to check the current settings use the following:
Get-Set-MailboxCalendarConfiguration -Identity <mailboxidentity> | fl


When this is done you will have to set the resource mailbox to accept bookings only during work hours:
Set-CalendarProcessing -Identity <mailboxidentity> -ScheduleOnlyDuringWorkHours $true

Set-CalendarProcessing -Identity test3 -ScheduleOnlyDuringWorkHours $true


Thanks for reading! And as usual, if you have any further questions don’t hesitate to let me know!


10 Responses to Manage resource work hours in Exchange Server 2007 and 2010

  1. James says:

    I’m glad to see E2010 exposes setting work hours with PowerShell Cmdlets. In E2007, I had to set work hours on over 50 rooms one by one by logging into each room.
    What I’d like to know is if it is possible to set different work hours on different days of the week? We have some rooms that we want to allow auto-booking during eveing hours M-F, and allow all-day booking on the weekend. It doesn’t look like this configuration is even supported.
    Any ideas on this? Or is the a possible feature in future Exchange releases?

    • msundis says:

      Thanks for reading and commenting James. Yes the addition of powershell commands is great. As you said, administrating a large amount of rooms was very time consuming in Exchange 2007.

      As far as i know, this is not a supported configuration, you cannot set the works hours for different days of the week. I have enver seen any notes on it so I doubt that it is something that Microsoft plans to implement.

  2. Aaron Hixson says:

    Thank you for the article. Our company has offices in different time zones. How do we know which time zone the work hours are set for?

    • msundis says:

      The serverside setting is always based on the local time zone for the specific server. The clientside settings is always based on the local settings on the client.

      For example, if you have set the properties of a resuorce located on a server in asia, a client in europe migth not be albe to schedule a meeting on the resource since it would be out of the resources work hours. The client would then have to change time zone for that specific meeting before saving it.

      I hope that this answers your question? If not, let me know!

  3. Lars Bornich says:

    Thanks for this – you led me on the right track, after we had stupidly altered the working hours and timezone information on our resource mailboxes.

    After doing this, conflicts on a room would return “Customized Time Zone” and the time of the meeting in the time zone of the server, not the time zone of the resource, rendering the information utterly useless. A support ticket with Microsoft later, and we’re now informed that the Set-MailboxCalendarConfiguration cmd-let should ONLY be used on User Mailboxes… why they give us an option to restrict scheduling to work hours then, is beyond me!

    • msundis says:

      Hi Lars and thanks for commenting. I have never heard of this myself, and I must say that it does sound a bit strange. I will try and get an answer from Microsoft in this issue. But If the support told you that Set-MailboxCalendarConfiguration cmd-let should ONLY be used on User Mailboxes, they are probably right.

  4. Pingback: Как настроить рабочие часы для всей организации в Exchange 2010 | ILYA Sazonov: ITPro

  5. anonymous-jon says:

    Hi Msundis,

    Thanks for the informing article, how can i integrate this with our migration to office 365?


  6. Pingback: Exchange 2010: Set Work Hours for Room Mailbox « Steve

  7. Ramki says:

    hello all

    Your meeting request was declined

    This resource can only be scheduled during the working hours of 7:00 to 6:00 on Monday, Tuesday, Wednesday, Thursday and Friday.

    All times listed are in the following time zone: (GMT+01:00) Time Zone
    Sent by Microsoft Exchange Server 2007

    There is no AM and PM in the above declined message. How could i resolve this issue.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: