Script to check status of Outlook

Hi, here is my problem. Some users have Outlooks periodically going into offline mode. I don’t know why yet but I’d like:

  1. Create Monitor that checks if Outlook is offine
  2. In case it is offile a procedure is call to force it Online (via powershell or vba I guess)

Any idea?

Thanks

addendum, outlook seems to change the following registry key value in 02.00.00.00 when Online and 01.00.00.00 when offline

[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\O utlook\Profiles\Outlook\0a0d020000000000c000000000 000046] “00030398”

Hi @datalink,

We have shared your request with script developers to analyze and provide their comments.

Kind Regards,
PremJK

Hi @datalink,

Sorry, Script developers conveyed that this request is not doable.

  • Monitor should work on System User.
  • Have to change Outlook online mode through registry in the following path [HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\O utlook\Profiles\Outlook\0a0d020000000000c000000000 000046] "00030398" The current path is changeable through Logged in User.
  • So it's not possible when changing the user registry in monitoring script.
Kind Regards, PremJK

Hi, I see, thank you anyway for your answer.