How get run script option in Outlook 365 mail rules

Venkata Harshavardhan Karri 0 Reputation points

Hi Everyone!

Earlier Outlook version use to have run script option in rule creation to execute scripts upon receipt of email. in Outlook 365 this option is not visible

A family of Microsoft email and calendar products.
2,663 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 91,276 Reputation points MVP

    This feature was disabled by a security update a while back. Some possible workarounds are listed here:

    0 comments No comments

  2. ChristyZhang-MSFT 19,226 Reputation points Microsoft Vendor

    Hi @Venkata Harshavardhan Karri ,

    Welcome to our forum!

    Please refer to the following steps and try to change the registry:

    1.Select Start, select Run, type regedit in the Open box, and then select OK.

    2.Locate and then select the registry subkey:


    3.Right click>New, create the below registry:

    Value Name: EnableUnsafeClientMailRules

    Value Type: REG_DWORD

    Value: 1

    4.Restart Outlook.

    (Note: Serious problems can occur if you modify the registry incorrectly. Before making changes, back up the registry to restore it in case something goes wrong.)

    Then “Run a script" will be displayed under the Select actions when you create rules.

    Hope the above help!

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.