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.
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!
🤖 Kutools AI : Instant pro emails with AI magic--one-click to genius replies, perfect tone, multilingual mastery. Transform emailing effortlessly! ...
📧 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 Incoming 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 ...
Instantly unlock Kutools for Outlook with a single click—permanently free. Don't wait, download now and boost your efficiency!
![kutools for outlook features1](http://cdn.extendoffice.com/images/stories/kto-ad-sun/kto19.0-kutools-100.png)
![kutools for outlook features2](http://cdn.extendoffice.com/images/stories/kto-ad-sun/kto19.0-plus-100.png)
![Graham](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![Amanda Lee](http://cdn.extendoffice.com/images/discuss_avatar/41841_3.jpg)
![jrlongoria@gmail.com](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![Amanda Lee](http://cdn.extendoffice.com/images/discuss_avatar/41841_3.jpg)
![Max](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![Ethan H](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![FerretWilliams](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![dan](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)
![FerretWilliams](http://cdn.extendoffice.com/media/com_easydiscuss/images/default_avatar.png)