We want to always open shared layout in experience editor for our authors. We are using `Sitecore 10.1.1`.

As we have Sitecore 10.1.1 with azure ad login integration so, solution provided in link does not help:

[Force shared layout in experience editor](https://sitecore.stackexchange.com/questions/4844/force-shared-layout-in-experience-editor)

Sitecore stores the user selection of layout in registry key `EditAllVersions`, I tried the solution provided in link:

<https://blogs.perficient.com/2021/05/09/manage-users-registry-settings-after-login/>

to always set the key `EditAllVersions` to `on` each time user logins.

But my custom Processor is not getting called every time when I login to Sitecore so the value of registry key `("{ "/Current_User/Page Editor/Show/EditAllVersions", "on" }")` does not get updated. I am patching my processor `after: "Sitecore.Owin.Authentication.Pipelines.CookieAuthentication.SignedIn.CleanupUserProfile"` as mentioned in solution.

Any ideas what I am missing out here?