由于Windows先前已冻结,因此禁用了Outlook宏 [英] Outlook macros are disabled since Windows freezed previously

查看:121
本文介绍了由于Windows先前已冻结,因此禁用了Outlook宏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在安装Outlook的每台计算机上在公司中使用VBA宏.宏使用证书进行数字签名,以确保安全性.该证书是通过 selfcert.exe 应用程序生成的.当我们在Outlook中的VBA项目(包含宏)上添加数字签名时,我们选择先前生成的证书,并检查是否在"信任中心设置"中定义了Outlook选项. >禁用除数字签名的宏以外的所有宏'.接下来,第一次启动Outlook并运行宏时,我们将收到一条消息,其中包含3个按钮以确认:信任此发布者的所有文档",启用宏",禁用宏".我们始终选择信任所有人,以避免下次再次收到此消息.由于每台机器都使用了几年,所以运行效果很好.

We use VBA macros in our company on every computer where Outlook is installed. Macros are digitally signed with a certificate to ensure security. This certificate is generate through the selfcert.exe application. When we add the digital signature on the VBA project (which contains the macros) in Outlook we choose the certificate generated previously and we check that Outlook options in the 'Trust Center Settings' are defined on 'Disable all macros except digitally signed macros'. Next, the first time we launch Outlook and run a macro, we got a message to confirm with 3 buttons: 'Trust all documents from this publisher', 'Enable Macros', 'Disable Macros'. We always choose to trust all to avoid getting this message again next time. This is working pretty well since several years on every machine.

几周前,有人抱怨 Windows 10的随机冻结. IT支持人员解决了此问题,但不幸的是出现了一个新问题:此计算机上始终禁用Outlook宏.我很确定这个新问题是由于Windows以前的冻结所致.我还读到某人使磁盘崩溃的信息,然后禁用了Outlook宏.

Some weeks ago, someone complains about random freeze of Windows 10. The IT support solved this issue but unfortunately a new problem appeared: Outlook macros are always disabled on this machine. I am pretty sure this new problem is due to the previous freeze of Windows. I also read someone somewhere which crashed the disk and then Outlook macros got disabled.

我已经尝试过的:

  • 再次删除/添加证书
  • 创建新证书以对宏进行签名
  • 重命名包含宏的VBA模块
  • 删除VBA模块并重新创建

这些操作均无效.宏仍处于禁用状态.

None of these actions worked. Macros are still disabled.

目前的临时解决方案是通过启用所有宏来更改信任中心设置"选项.但是我不能接受这种潜在危险的解决方法.

The temporary solution for now is to change the Trust Center Settings options by enabling all macros. But I cannot accept this workaround which is potentially dangerous.

我已经在Google上搜索了几个小时,并尝试了一些运气不好的建议.

I already search hours on Google and tried suggestions without luck.

推荐答案

看起来您的计算机已损坏.尝试修复Outlook或Office.

Looks like your machine is corrupted. Try to repair Outlook or Office.

请注意,您需要在Windows中将自签名证书安装为受信任的根CA.请参阅

Be aware, you need to install a self-signed certificate as a trusted root CA in Windows. See Installing a Self-Signed Certificate as a Trusted Root CA in Windows Vista for more information.

此外,您可能还会找到

Also you may find the Odd behaviour with macros being disabled forum thread helpful. It states the following:

我可以在Outlook 2013(C2R 15.0.4927.1002)中重现该问题.如果我设置了数字签名宏的通知,所有其他宏都被禁用",并且将CA添加到Trusted Publisher和Trusted Root CA列表中,则该宏将被禁用. Outlook 2016中不存在该问题,如果您不想启用所有宏,建议您使用Outlook 2016.此外,建议您提交有关Outlook用户语音的反馈: https://outlook.uservoice.com/

这篇关于由于Windows先前已冻结,因此禁用了Outlook宏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆