How to restore missing Run a script option in Outlook rule?
In certain versions of Outlook, particularly in recent updates, the "Run a Script" option may be disabled by default as a security measure. To activate the "Run a Script" option in Outlook, enabling the creation of rules with VBA scripts, you will usually need to modify specific registry settings. Continue reading for detailed instructions on how to do this.
Enable missing "Run a script" option in Outlook
To restore the missing run a script option in the Outlook rules wizard, first ensure that Outlook is closed, and then proceed with the following steps:
- Press the Win + R keys together to open the Run dialog box. In this dialog box, type regedit and then click the OK button.
- In the popping out User Account Control dialog box, please click the Yes button.
- In the Registry Editor window, navigate to the below path to access the Security setting: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security
- Right click on the Security key, and select New > DWORD (32-bit) Value.
- Name the created DWORD as EnableUnsafeClientMailRules.
- Double click on the EnableUnsafeClientMailRules DWORD to open the Edit DWORD (32-bit) Value dialog box. Type 1 in the Value data box, and click OK.
- Restart your Microsoft Outlook.
By following the steps outlined above, you will be able to locate and use the "run a script" option when creating rules in Outlook.
AI Mail Assistant in Outlook: Smarter Replies, Clearer Communication (one-click magic!) FREE
Streamline your daily Outlook tasks with the AI Mail Assistant from Kutools for Outlook. This powerful tool learns from your past emails to offer intelligent and accurate responses, optimize your email content, and help you draft and refine messages effortlessly.

This feature supports:
- Smart Replies: Get responses crafted from your past conversations—tailored, precise, and ready to go.
- Enhanced Content: Automatically refine your email text for clarity and impact.
- Effortless Composition: Just provide keywords, and let AI handle the rest, with multiple writing styles.
- Intelligent Extensions: Expand your thoughts with context-aware suggestions.
- Summarization: Get concise overviews of long emails instantly.
- Global Reach: Translate your emails into any language with ease.
This feature supports:
- Smart email replies
- Optimized content
- Keyword-based drafts
- Intelligent content extension
- Email summarization
- Multi-language translation
Best of all, this feature is completely free forever! Don’t wait—download AI Mail Assistant now and enjoy!
Related Articles
Set a rule where my name is not in To or Cc field in Outlook
Set rule if subject does not contain certain words in Outlook
Set a rule to automatically copy emails to another folder in Outlook
Best Office Productivity Tools
Breaking News: Kutools for Outlook Launches Free Version!
Experience the all-new Kutools for Outlook FREE version with 70+ incredible features, yours to use FOREVER! Click to download now!
📧 Email Automation: Auto Reply (Available for POP and IMAP) / Schedule Send Emails / Auto CC/BCC by Rules When Sending Email / Auto Forward (Advanced Rules) / Auto Add Greeting / Automatically Split Multi-Recipient Emails into Individual Messages ...
📨 Email Management: Recall Emails / Block Scam Emails by Subjects and Others / Delete Duplicate Emails / Advanced Search / Consolidate Folders ...
📁 Attachments Pro: Batch Save / Batch Detach / Batch Compress / Auto Save / Auto Detach / Auto Compress ...
🌟 Interface Magic: 😊More Pretty and Cool Emojis / Remind you when important emails come / Minimize Outlook Instead of Closing ...
👍 One-click Wonders: Reply All with Attachments / Anti-Phishing Emails / 🕘Show Sender's Time Zone ...
👩🏼🤝👩🏻 Contacts & Calendar: Batch Add Contacts From Selected Emails / Split a Contact Group to Individual Groups / Remove Birthday Reminders ...
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

