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.
3,912 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,822 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,238 questions
0 comments No comments
{count} votes

8 answers

Sort by: Most helpful
  1. Dave Patrick 426.2K Reputation points MVP
    2023-07-05T18:23:17.03+00:00

    Try deleting the credentials. Control Panel\User Accounts\Credential Manager

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


  2. Cornelia H. #Flueck 10 Reputation points
    2023-07-05T18:42:14.91+00:00

    I'm afraid, there is no applicable entry in Credential Manager.

    Cred_Web

    Cred_Win

    0 comments No comments

  3. Dave Patrick 426.2K Reputation points MVP
    2023-07-05T18:55:55.48+00:00

    Try;

    edge://settings/passwords

    and delete whatever is necessary.

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


  4. Dave Patrick 426.2K Reputation points MVP
    2023-07-05T19:18:15.9+00:00

    Sounds badly broken now. The simplest / safest solution may be to clean install it.

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


  5. Dave Patrick 426.2K Reputation points MVP
    2023-07-05T19:53:31.0033333+00:00

    Ok, sounds good, I'd create a new user account abandoning the corrupt one and move on.

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

    0 comments No comments