更改Edge的URLBlockList注册表键后,需要重新启动Edge才能反映更改。

huangapple go评论81阅读模式
英文:

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.

huangapple
  • 本文由 发表于 2023年6月29日 14:15:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/76578468.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定