“Run a Script” is a part of Outlook rule wizard, which is used to create a specific rule. It is used to develop additional features, which are not available in Outlook Rules Wizard.
The Run a Script rule action has indeed been removed from Outlook due to security updates. Once the update is installed, any existing run-a-script or run application rules will be disabled.
You can still run your macros script either by reactivating the feature or by modifying the code. This article is all about “How to restore the missing run a script option in outlook rule?“
Why Microsoft Remove Run a Script rule from Outlook?
Run a Script technically consist of VBA coding which bring issues with Outlook, Micrsoft facing real issues to fix it and fixing it would be too expensive.
Microsoft has discovered a security issue with the way scripts and applications are being executed via a message rule.
Restore Missing Run a Script Option in Outlook
You need to set the EnableUnsafeClientMailRules value in the registry to restore Run a Script Option In Outlook.
Step 1: Press the Win + R keys which open the Run dialog box
Step 2: In the dialog box type Regedit in the Open setup box.
Step 3: The user Account Control dialog box appears, Click Yes to proceed.
Step 4: Registry Editor dialog box appears which consists of numerous folders, it is exceedingly difficult to select and understand which folder is important and which is not.
Simply copy the path below and paste it into your address bar.
- For Outlook 2016 and newer – HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Security
- For Outlook 2013 – HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security
- For Outlook 2010 – HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Security
That will direct walk you to the desired window, please open the Security key.
Step 5: Right-click the Security key, select New >> DWORD (64-BIT Value) from the dropdown list, and then name the new DWORD as “EnableUnsafeClientMailRules“
Step 6: EnableUnsafeClientMailRules DWORD added in the security section double click it to open the Edit QWORD Value dialog box.
Step 7: Type 1 manually in the Value data box and Click Ok to close.
Step 8: Close all the windows, and RESTART your system, which will enable the run a script option.
These above steps re-enable the Run a Script rule via the Registry.
If you don’t want to edit the registry yourself, you can use this ready-to-use .reg file. Click here to get:
In conclusion, using the Run a Script rule in Outlook, you can also schedule an action to be executed when the items in the contact are inserted.