简体   繁体   English

如何使用注册表 (HKLM) 为所有用户启用 excel 加载项?

[英]How do you enable excel add-ins for all users using registry (HKLM)?

I'm trying to enable an excel add-in for all users in a given lab (Office 2019 is installed).我正在尝试为给定实验室中的所有用户启用 excel 加载项(已安装 Office 2019)。 The path to the add-in's "OPEN" string in the registry is HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Excel\options.注册表中加载项的“OPEN”字符串的路径是 HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Excel\options。 Before scripting anything for deployment, I'm just trying to manually test where I can enable that same add-in for HKLM and have it work for another test user.在为部署编写任何脚本之前,我只是尝试手动测试我可以在何处为 HKLM 启用相同的加载项,并让它为另一个测试用户工作。

I've tried creating my own key for the add-in under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Excel\Addins (Addins is a key I added manually), however so far I haven't had any luck.我尝试在 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Excel\Addins 下为加载项创建自己的密钥(Addins 是我手动添加的密钥),但到目前为止我还没有成功。

I've seen other people mention this issue in other posts, but the answers weren't very clear to me and many of these posts were from 5+ years ago, so I'm hoping there's a more up-to-date solution I can utilize.我看到其他人在其他帖子中提到过这个问题,但答案对我来说不是很清楚,而且其中许多帖子都是 5 年多以前的,所以我希望有一个更新的解决方案我可以利用。 Please let me know if you have any knowledge on this particular problem.如果您对这个特定问题有任何了解,请告诉我。 Thank you!谢谢!

I'm a bit of a noob with this sort of thing still, so thorough (even verbose) answers are extremely appreciated.我对这类事情仍然有点菜鸟,非常感谢如此详尽(甚至冗长)的答案。

This is a per user delegation.这是每个用户的委派。 You need to use a GPO to set the reg key for the users as they login.您需要使用 GPO 为用户登录时设置注册码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM