I know it has been years since this thread was active, but I accidentally caused this issue on my Win 11 (23H2) with Edge (126.0.2592.61), and I know what I did, and what happened as a result and what fix worked for me.
I know not all causes are the same, but maybe this can also help someone.
Late last night, while half asleep I downloaded an application to install and didn't notice the download was a few MB instead of over a GB. True as bob, I downloaded some or other thing that claimed to be a download assistant. I immediately uninstalled it, but it did leave a scar.
This morning, I found this thread while trying to find out why a security window was staring at me. This window was clearly not in error! After opening edge settings to check some of my settings that was mentioned in previous posts, I saw a bar above my settings window, stating that my edge is managed by my organization...
So it seems that group policy was enabled, and a policy to install an extension (with a name that looks like a cat walked over the keyboard) without authorization check was active. (edge://policy/)(https://learn.microsoft.com/en-gb/deployedge/microsoft-edge-policies#extensioninstallforcelist).
I checked and I was lucky, no extensions was installed. I followed some of these steps (https://windowsloop.com/edge-managed-by-your-organization-fix/#:~:text=Do%20the%20following%20to%20fix%20and%20remove%20the,computer%20with%20an%20antivirus%20Reset%20the%20Edge%20browser) to remove the group policy lockout. I removed the 2 directories in the system32 folder (they were empty), and the registry key in HKEY)LOCAL_MACHINE. There was nothing under HKEY_CURRENT_USER.
It all looks peachy now again. Hope this helps someone.
Summary:
Remove directories:
- c:\windows\system32\GroupPolicy
- c:\windows\system32\GroupPolicyUsers
Remove registry folder if it exists:
- HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge
- HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge