Hi @Zhu, Ligong,
Thank you for your reply. The command line code you use to add the policy to the registry is indeed correct. I used the command line code you provided to test before and after Edge started. I successfully reproduced the issue you described, that is, the policy will be successfully refreshed before Edge starts, but it will not be refreshed after Edge starts. So, for our discussion these days, I make the following summary for your reference:
- The reason why the "gpupdate /force" command line takes too long to respond is that there are too many policies that have been deployed, and it needs to be forced to update one by one, so it will take several minutes.
- Regarding the problem of inconsistent refresh effects before and after Edge starts, I searched for relevant resources and literature, but did not find any official documents to explain this problem. But according to my understanding, this may be related to Edge's policy cache or dynamic loading. Edge will load and cache the current policy when it starts. If the policy is modified after startup, Edge still uses the old policy loaded at startup, so it will not be refreshed (of course, this is for deploying policies on the registry). In addition, some policies may not be loaded dynamically and need to be forced to refresh before they are displayed.
- Therefore, no matter you deploy the policy before or after Edge is started, as long as the policy is successfully refreshed and can be correctly displayed at "edge://policy", these policies will work successfully. So, if you think that using "gpupdate /force" before will take a lot of time, you can click the "Reload Policies" button in the upper left corner of "edge://policy", so that the refresh will not take a lot of time (as shown below). Or, if it is convenient for you, you can migrate to the Group Policy Editor to deploy related policies, which can be refreshed dynamically using the Group Policy Editor.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best Regards,
Jinxin Wang