Share via

Run a Script does not appear despite creating registry

Anonymous
2025-07-23T14:24:23.4433333+00:00

User's image

Hello, despite following the instruction on how to add "run a script" in outlook it still does not work. Does someone have any ideas why it still not appearing in my outlook? (yes I have restarted outlook and gave permission to all the macros)

Outlook | Windows | Classic Outlook for Windows | For business
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vy Nguyen 11,150 Reputation points Microsoft External Staff Moderator
    2025-07-23T17:38:21.7533333+00:00

    Hi @Matias Morales

    Good day! Thank you for reaching out to Microsoft Q&A forum and sharing the issue you're experiencing. 

    I understand you're trying to enable the “Run a Script” option in Outlook and have already followed the instructions, including restarting Outlook and allowing all macros. I appreciate the effort you've put in so far, and I’d be happy to walk you through a few additional steps that can help ensure everything is set up correctly. 

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

    1. Select Run, type regedit in the Open box, and then select OK. 
    2. Locate and then select the registry subkey: 

    HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security 

    DWORD: EnableUnsafeClientMailRules 

    Value: 1 

    1. 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. 

    1. Check for Group Policy Restrictions 
    • If you're on a corporate network, group policies may override registry settings. 
    • Please consult your IT administrator to verify if any restrictions are in place. 

    If you’ve completed all the steps above and the issue still persists, please let me know your Outlook version and whether you're using a corporate or personal setup. I’ll be happy to assist further. 

    Thank you again for your patience and for choosing Microsoft Q&A forum. Please let me know if there’s anything else I can assist you with. I’m here to support you every step of the way. 


    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. 

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.