Skip to main content

How to restore missing Run a script option in Outlook rule?

Author: Kelly Last Modified: 2023-12-22

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:

  1. Press the Win + R keys together to open the Run dialog box. In this dialog box, type regedit and then click the OK button.
  2. In the popping out User Account Control dialog box, please click the Yes button.
  3. 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
  4. Right click on the Security key, and select New > DWORD (32-bit) Value.
  5. Name the created DWORD as EnableUnsafeClientMailRules.
  6. 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.
  7. 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


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 ProBatch 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 kutools for outlook features2
 

 

 

Comments (26)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
You switched from 32 bit to 64 bit without explanation. See "New > DWORD (32-BIT Value)" then after "6. In the Edit QWORD (64-BIT)". Which is it ? Or is it both?
This comment was minimized by the moderator on the site
Sorry for the confusion. It should be the DWORD (32-bit) Value. And I've fixed it in the tutorial. 🙂
This comment was minimized by the moderator on the site
You change from DWORD to QWORD at the end.
It should be DWORD
This comment was minimized by the moderator on the site
Thank you for bringing this to my attention. I've made the necessary correction in the tutorial.
This comment was minimized by the moderator on the site
Great! Thanks
This comment was minimized by the moderator on the site
This worked for me in Outlook for Office 365. Once point to clarify, the instructions flip-flop between DWORD and QWORD, which are mutually exclusive. I used DWORD and it worked.
This comment was minimized by the moderator on the site
I also didn't have a security folder. To get around the issue, I set a rule to forward all emails fitting a specific rule to IFTTT so I can use their automation instead. Won't work for everybody, and attachments get a long number added to them if saving to Dropbox.
This comment was minimized by the moderator on the site
what applet did you use on IFTTT, or did you make your own?
This comment was minimized by the moderator on the site
I set an email trigger, and set the action to be to save to Dropbox. However, I've since switched to Microsoft Flow for saving Gmail directly to Dropbox. My specific goal was to save Gmail attachments to Dropbox, and Flow worked best for that after IFTTT dropped support for reading emails from Gmail.
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations