英文:
After change in URLBLockList registrykey for Edge, I need to restart Edge to reflect the changes
问题
Registry key path - 计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\URLBlocklist
英文:
I have a use-case where what currently user is working on windows machine, we need to blocklist few websites.
I am able to do this but where I am stuck is that we need to restart Edge every time the registry value changes otherwise changes are not reflected. I am assuming that edge is caching the allowlist/blocklist when it start. Any way I can disable this
Registry key path - Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\URLBlocklist
答案1
得分: 1
尽管在 这里标为“Dynamic Policy Refresh: Yes”,但它只在通过组策略编辑器配置策略而不是注册表设置时起作用。这是由Chromium团队承认的限制。
您可以尝试Chromium团队在那里提到的“Reg Key observer”,但更简单的方法是下载Edge组策略模板,然后通过组策略编辑器配置策略。它支持动态策略刷新。如果您感兴趣,可以查看此文档。
英文:
Even though it is stated as "Dynamic Policy Refresh: Yes", it only works when you configure the policy via group policy editor instead of registry settings. It is a limitation acknowledged by Chromium Team.
You can try "Reg Key observer" mentioned there by the Chromium Team, but an easier way for you to do this is to download the Edge group policy template, and then configure the policy via group policy editor. It supports dynamic policy refresh. You can check this doc if you are interested.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论