• 0

Automatic Out of Office after 15:00 Mon-Fri?


Question

I have a work colleague that works 09:00 to 15:00 but standard business hours are until 17:00.

 

Is it possible for Out of Office to automatically switch on at 15:00 and turn off at 09:00 Mon-Fri in Microsoft Outlook 2013?

13 answers to this question

Recommended Posts

  • 0

Do you have an Exchange server? i presume yes because you said you are using OOO.

 

In Exchange 2013 / Exchange Online you can set this via PS:

Set-MailboxAutoReplyConfiguration -Identity MAILBOX -AutoReplyState Enabled -InternalMessage "OOO Internal message." -ExternalMessage "OOO External Message."

So you can create a schedule task in the Exchange Server that runs once this PS for the target user mailbox (at the start time of the OOO) and one schedule task that also runs once that runs the same PS but with the Disabled parameter (at the end of time of the OOO). That way you can have a OOO that is recurring automatically for a single user; if more users want this feature be sure to see the performance impact of starting and ending this PS for a big quantity of users.

 

You can see more parameters for this PS command in here: http://technet.microsoft.com/en-us/library/dd638217.aspx

  • 0

If you have outlook 2010 and go to File, Info, Automatic Replies (Out of Office), you can set the time period for when the out of office will work for.  You will need to setup multiple rules for the different days, but it can be accomplished.

  • 0

More info is needed... are you using some kind of PBX system? Or IP Phone? 

Sorry, I had "Outlook 2013" in the topic's tags but I've added it to the message body.

 

If you have outlook 2010 and go to File, Info, Automatic Replies (Out of Office), you can set the time period for when the out of office will work for.  You will need to setup multiple rules for the different days, but it can be accomplished.

I'll take a look at Rules, many thanks (Y)

  • 0

i don't think a scheduled powershell script is that complicated, its very simple to understand. try it? :)

We're just a small company with 8 computers and 1 server connected to a UPS. Non of us know what PowerShell is or how to use it and although I could figure it out, I don't want to mess.

  • 0

i don't think a scheduled powershell script is that complicated, its very simple to understand. try it? :)

While for some powershell scripts are not hard to understand The OP's colleague wanted to set the OOO reply his/her self so they might not be comfortable in setting a status via powershell or have the access to do so. Setting via a powershell script is more of a Admin task and i am sure if the admin of the exchange box wanted to do this they would have there own way of doing  it.

 

edit (sorry Elliot b) didnt see your reply until i posted mine.

  • 0

While for some powershell scripts are not hard to understand The OP's colleague wanted to set the OOO reply his/her self so they might not be comfortable in setting a status via powershell or have the access to do so. Setting via a powershell script is more of a Admin task and i am sure if the admin of the exchange box wanted to do this they would have there own way of doing  it.

 

edit (sorry Elliot b) didnt see your reply until i posted mine.

I have no issue if it was my server, I'd love to mess.

 

I was just hoping there was a UI option within Outlook that I was missing.

  • 0

Sorry. To be honest, that's way too complicated for us, shame it's the only way to do it. But we appreciate your help!

 

Do you have someone or a enterprise managing your email? If yes then ask them if they can implement that (server side) if it's an Exchange Server, because that will be automated and won't depend of the end user.

 

But in Outlook the only way to do this is by scripting: you can set a macro to start the OOO everytime the Outlook closes, so if your college closes the Outlook it will automatically start the OOO. This, of course, requires testing (tests to see if the OOO answers to internal and external mails).

 

You can create a macro like this:

Private Sub Application_Quit()
    OutOfOffice True
End Sub

Private Sub Application_Startup()
    'Remove this subroutine if you do not want to turn OOF off automatically.'
    OutOfOffice False
End Sub

Sub OutOfOffice(bolState As Boolean)
    Const PR_OOF_STATE = "http://schemas.microsoft.com/mapi/proptag/0x661D000B"
    Dim olkIS As Outlook.Store, olkPA As Outlook.PropertyAccessor
    For Each olkIS In Session.Stores
        If olkIS.ExchangeStoreType = olPrimaryExchangeMailbox Then
            Set olkPA = olkIS.PropertyAccessor
            olkPA.SetProperty PR_OOF_STATE, bolState
        End If
    Next
    Set olkIS = Nothing
    Set olkPA = Nothing
End Sub

and add it to your current Outlook session. So everytime your college starts Outlook, the OOO is disabled; everytime he closes it, it enables the OOO.

 

you can check here the full article for this solution: http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/A_3487-Automating-Out-of-Office-in-Outlook.html

  • 0

Hi Elliot,

 

You can create a normal outlook rule that checks the header of a received email to see if it contains " 00:", " 01:", " 02:" (add one for each hour you want the out of office reply) and then have the server reply with your out of office message. The text to search for is a space, the hour, and a colon.

This topic is now closed to further replies.
  • Posts

    • Microsoft fixes one of Excel Copilot's most frustrating limitations by Usama Jawad Microsoft began integrating Copilot into Excel a couple of years ago and has been upgrading it with new functionalities since then. While some changes have been controversial, Microsoft is hoping to win over users by allowing them to be more productive via Copilot. To that end, it has now announced a Copilot improvement that may actually be appreciated by people who use it regularly. Excel customers often use the Copilot prompt box to issue instructions to format and customize their data, but it can become quite tiring to keep repeating the same instructions again and again. Microsoft now allows you to define Copilot personalization rules for formatting, naming conventions, formulas, and report styles. These can be accessed via Settings > Personalization, where you can explain your rules in natural language like "Always format currency in USD with no decimals", and just let Copilot take care of the rest. Microsoft is going a step further in this direction by allowing you to set workbook rules too. These rules are stored as a .Rules sheet, and are preserved while the workbook is shared. This fosters collaboration while making sure that standard rules govern the Copilot editing experience across the organization. Other advantages of this capability include pointing it to specific examples, defining dynamic formulas, and referencing an entire sheet and asking Copilot to infer rules based on that. You can leverage this feature by opening Copilot in Excel, clicking on "+", and selecting Create workbook rules. If you have an existing .Rules sheet, you can simply start listing the rules in column A as well. Personalization features are available to all Copilot in Excel users across the web, Mac, and Windows. Meanwhile, workbook rules are currently being previewed for Windows and Mac customers on the Insiders channel. General availability is scheduled after a few weeks, but a concrete date is currently unknown. Overall, the Excel capability is quite similar to ChatGPT's memory features, which allow you to permanently store items in the AI model's context window.
    • Imagine you still haven't discovered Total Commander that is doing all those things for three decades already...
    • This sounds like underneath the nice marketing spin, either someone at Adobe got tired of their lazy devs and asked Microsoft to help them sort at least some of Adobe's ancestral spaghetti code to make it go faster, or Microsoft wanted Adobe's crap to run better on Windows to make it look better when compared to Apple, so they offered to intervene. Either way, GOOD.
    • My favorite file manager for Windows 11 finally gets a long-requested feature by Taras Buria Files is among the best File Explorer alternatives for Windows 10 and 11. This free app is packed with all sorts of features and conveniences, but there is one crucial feature that is still missing—Tree View. Fortunately, the latest update in the Preview channel finally delivers it. With version 4.1.4, which is now available for download in the Preview channel, developers implemented Tree View, a new mode that displays folders in an expandable hierarchy. Windows 11's stock File Explorer always had this feature, but it was nowhere to be found in Files until now. Starting with the latest preview update, you can expand each drive and its nested folders without leaving the current location and then open the folder you need in the main view. To try Tree View in Files, update the app to the latest preview version, then click the small arrow next to a drive to expand its content. The developers say they are rolling out Tree View in Preview first to gather feedback from users and improve the feature before bringing it to all in the stable channel. In addition to Tree View, Files 4.1.14 improves the Windows Fonts folder. You can now preview each font directly in Files with no need to open the built-in font viewer. For now, these two features are only available in the Preview channel. For those using the stable release, developers recently released version 4.1.3, with improvements for the built-in tag system, on-demand folder size calculation, and plenty of various fixes. You can check out the full release notes here. You can download Files from the Microsoft Store (paid version) or its official website (free).
    • Who is paying for this 30x scale-up? Its sounds expensive.
  • Recent Achievements

    • First Post
      Jocimo earned a badge
      First Post
    • Week One Done
      suprememobiles48 earned a badge
      Week One Done
    • One Month Later
      Windows Guy earned a badge
      One Month Later
    • One Month Later
      Prasann earned a badge
      One Month Later
    • Week One Done
      Prasann earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      +Edouard
      174
    3. 3
      PsYcHoKiLLa
      90
    4. 4
      Steven P.
      81
    5. 5
      ATLien_0
      68
  • Tell a friend

    Love Neowin? Tell a friend!