Unlink personal Microsoft account from Windows Server

Cornelia H. #Flueck 10 Reputation points
2023-07-05T18:14:11.9633333+00:00

Hello

From my post at the community I got referred here, so this is basically a duplicate of my request, though differently formatted.

While setting up a new Windows Server 2022, I mistakenly activated the synchronisation for a Microsoft personal account when I logged in with Edge.

Later, I tried to remove that account from the server, but it is still linked. I can't remove it in Edge and the common option within Settings (Accounts > Email & accounts) is missing in the server GUI.

The following things I have already tried without any success:

  1. I had removed the two registry entries, where the account is mentioned. It didn't help, both entries exist again now.

Computer\HKEY_CURRENT_USER\Software\Microsoft\IdentityCRL\UserExtendedProperties\

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ActivityDataModel\ActivityAccountFilter

  1. I uninstall Edge, removed the folder %localappdata%\Microsoft\Edge and then reinstalled Edge. The account is still suggested for login.
  2. I checked the Computer\HKEY_USERS\S-1-5-18\Software\Microsoft\IdentityCRL\StoredIdentities\ based on this thread. There is no account mentioned.
  3. I tried to delete the local user profile while being logged in as another user (local admin), but there was an error message. I couldn't delete the profile.

What else can I try to get rid of the connected Microsoft account?

I noticed the following two registry entries, which both show the same ID.

Computer\HKEY_CURRENT_USER\Software\Microsoft\Edge\Profiles\Default
MUID - REG_SZ - 2C351695749068FF2A1105D075E06994

Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Feeds
EdgeMUID - REG_SZ - 2C351695749068FF2A1105D075E06994

Can I savely delete these and will it help at all?

Any other suggestions?

Here, I add a few screenshots.

AccountSettings-Infos

Account-Settings-OtherUsers

Feeds

Account-Edge

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,039 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,902 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,377 questions
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. Cornelia H. #Flueck 10 Reputation points
    2023-07-05T20:08:57.3133333+00:00

    If abandoning the account is the only 'solution' for the issue, I'm quite disappointed.

    There was no warning in Edge, that a synchronisation on a server is not meant to be set and possibly can't be undone. From my point of view, this is a design/programming fault. Either, there should be the same option in the GUI as there is on clients to disconnect such an account, or at least a powershell command to accomplish that. Having no option at all is definitely unsatisfying.

    0 comments No comments

  2. Dave Patrick 426.3K Reputation points MVP
    2023-07-05T23:08:15.08+00:00

    Yea, it's hard to say. With the reghacks and such I'd probably just clean install it. Shouldn't take more than an hour to do. You can also start a case here with product support.

    https://support.serviceshub.microsoft.com/supportforbusiness

    You can also submit the feedback here.

    https://feedbackportal.microsoft.com/feedback/forum/b8da43d5-ef1b-ec11-b6e7-0022481f8472

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  3. abdellah mk 0 Reputation points
    2024-04-30T10:06:21.22+00:00

    hi man , i'm suffuring from the same problem in windows server 2012 R2 .
    did you find the solution ?

    0 comments No comments