Checking "Disable Edge Search Bar Widget" / Setting HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebWidget puts Edge in "Managed" mode
If there is any value set for [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebWidget](https://github.com/xM4ddy/OFGB/blob/b132398bae67470e70f0e557f849d75b94631682/MainWindow.xaml.cs#L84) (which is what the `Disable Edge Search Bar Widget` checkbox does) then Edge behaves as if it is being managed by an organization. I noticed this because I could no longer set Edge to use a particular DNS, though presumably a bunch of configurations are then locked. Unchecking the box in OFBG just sets the key to false instead of true, which still leaves Edge in managed mode.
The documentation suggests this flag is deprecated so perhaps it could just be removed, but otherwise it would be ideal if unchecking the box deleted the registry key rather than making it false.
If anyone runs into this problem and would like to undo this, you can do so via these powershell commands, in an admin terminal:
```
set-location HKCU:\\SOFTWARE\Policies\Microsoft\Edge
Remove-ItemProperty -Path . -Name "WebWidgetAllowed"
```
then just don't check the "Disable Edge Search Bar Widget" box again.
1 条评论