Bỏ qua nội dung chính

Làm thế nào để khôi phục bị thiếu Chạy tùy chọn tập lệnh trong quy tắc Outlook?

Trong một số phiên bản Outlook nhất định, đặc biệt là trong các bản cập nhật gần đây, tùy chọn "Chạy tập lệnh" có thể bị tắt theo mặc định như một biện pháp bảo mật. Để kích hoạt tùy chọn "Chạy tập lệnh" trong Outlook, cho phép tạo quy tắc bằng tập lệnh VBA, thông thường bạn sẽ cần sửa đổi cài đặt đăng ký cụ thể. Tiếp tục đọc để được hướng dẫn chi tiết về cách thực hiện việc này.


Bật tùy chọn "Chạy tập lệnh" bị thiếu trong Outlook

Để khôi phục sự mất tích chạy một tập lệnh tùy chọn trong trình hướng dẫn quy tắc Outlook, trước tiên hãy đảm bảo rằng Outlook đã được đóng, sau đó tiến hành các bước sau:

  1. Nhấn Win + R chìa khóa với nhau để mở chạy hộp thoại. Trong hộp thoại này, gõ regedit và sau đó nhấp vào OK .
  2. Trong lúc bật ra User Account Control hộp thoại, vui lòng nhấp vào .
  3. Trong tạp chí Registry Editor cửa sổ, điều hướng đến đường dẫn bên dưới để truy cập Bảo mật cài đặt: HKEY_CURRENT_USER \ Software \ Microsoft \ Office \ 16.0 \ Outlook \ Security
  4. Nhấp chuột phải vào Bảo mật phím và chọn Mới > DWORD (32-bit) Value.
  5. Đặt tên DWORD đã tạo là EnableUnsafeClientMailRules.
  6. Nhấp đúp chuột vào EnableUnsafeClientMailRules DWORD để mở Chỉnh sửa Giá trị DWORD (32-bit) hộp thoại. Loại hình 1 trong Ngày giá trị hộp và nhấp OK.
  7. Khởi động lại Microsoft Outlook của bạn.

Bằng cách làm theo các bước được nêu ở trên, bạn sẽ có thể định vị và sử dụng tùy chọn "chạy tập lệnh" khi tạo quy tắc trong Outlook.


Bài viết liên quan


Công cụ năng suất văn phòng tốt nhất

Kutools cho Outlook - Hơn 100 tính năng mạnh mẽ để tăng cường Outlook của bạn

🤖 Trợ lý thư AI: Email chuyên nghiệp tức thì với phép thuật AI--một cú nhấp chuột để có câu trả lời xuất sắc, giọng điệu hoàn hảo, khả năng thông thạo đa ngôn ngữ. Chuyển đổi email một cách dễ dàng! ...

📧 Tự động hoá email: Vắng Mặt (Có sẵn cho POP và IMAP)  /  Lên lịch gửi email  /  Tự động CC/BCC theo quy định khi gửi Email  /  Tự động chuyển tiếp (Quy tắc nâng cao)   /  Tự động thêm lời chào   /  Tự động chia email nhiều người nhận thành các tin nhắn riêng lẻ hữu ích. Cảm ơn !

📨 Quản lý email: Dễ dàng thu hồi email  /  Chặn email lừa đảo theo chủ đề và những người khác  /  Xóa các email trùng lặp  /  Tìm Kiếm Nâng Cao  /  Hợp nhất các thư mục hữu ích. Cảm ơn !

📁 Tệp đính kèm chuyên nghiệpLưu hàng loạt  /  Tách hàng loạt  /  Nén hàng loạt  /  Tự động lưu   /  Tự động tách  /  Tự động nén hữu ích. Cảm ơn !

🌟 Giao diện ma thuật: 😊Thêm nhiều biểu tượng cảm xúc đẹp và thú vị hơn   /  Tăng năng suất Outlook của bạn với chế độ xem theo thẻ  /  Thu nhỏ Outlook thay vì đóng hữu ích. Cảm ơn !

👍 Kỳ quan chỉ bằng một cú nhấp chuột: Trả lời tất cả bằng tệp đính kèm đến  /   Email chống lừa đảo  /  🕘Hiển thị múi giờ của người gửi hữu ích. Cảm ơn !

👩🏼‍🤝‍👩🏻 Danh bạ & Lịch: Thêm hàng loạt liên hệ từ các email đã chọn  /  Chia nhóm liên hệ thành các nhóm riêng lẻ  /  Xóa lời nhắc sinh nhật hữu ích. Cảm ơn !

Trên 100 tính năng Chờ đợi sự khám phá của bạn! Bấm vào đây để khám phá thêm.

 

 

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.
This comment was minimized by the moderator on the site
I Don't Have a security folder after HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook
This comment was minimized by the moderator on the site
It's because Microsoft has yet again changed something concerning this feature. Most likely, this registry key path has completely changed, or has been outright omitted. I have a Premier Support ticket open with MS currently to have them provide us the CORRECT registry setting for Office2016/2019 current monthly channel to bring the Run a Script in Rules Actions back. It is completely unacceptable for MS to continue to alter/omit features like this without clear & priority notification to clients. I understand the security risks behind using such a feature, but in certain scenarios, this still is used.
This comment was minimized by the moderator on the site
By playing around I found the correct key:
Computer\HKEY_USERS\{whichevertheuserkeyis}\Software\Microsoft\Office\16.0\Outlook\Security

So do not use HKEY_Current_User, instead use HKEY_USERS
This comment was minimized by the moderator on the site
This doesn't seem to work for Outlook 2013. Is there a method that will work for this version? Also, your instructions reference DWORD and the images imply QWORD.
This comment was minimized by the moderator on the site
For 2013 I used HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Security and DWORD EnableUnsafeClientMailRules with value 1.
Each version of office has its own folder in "HKEY_CURRENT_USER\Software\Microsoft\Office\"

You also need to allow the macro to run in outlook 2013:

File -> Options -> Trust Centre -> Trust centre settings
-> Macro settings -> "Notifications for all macros"

This will ask you to allow the macro the first time the rule runs, but be careful not to allow any other unknown macros during day to day use. You could also use a digitally signed macro, and only allow digitally signed ones to run.

Then create your script, create a rule that runs it, and you should be set.
This comment was minimized by the moderator on the site
Did not work for me.  I have Outlook 2013, but maybe now that Office 365 has overstepped this setting somehow.  I have the trust settings enabled to notify for all Macros.
This comment was minimized by the moderator on the site
DWORD or QWORD? A bit confusing to understand which to use... Had to create DWORD to make it work. Thanks
This comment was minimized by the moderator on the site
Do You have instructions how to enable this option also for outlook 2010?
This comment was minimized by the moderator on the site
Thank You! It worked for me and as mentioned in one of the comments below, Step 6 was DWORD dialogue box for me.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations