Fix Can’t Switch to a Microsoft Account, Error 0x80010002

Switching from a local account to Microsoft account or vice-versa is quite an easy task on Windows 11/10 PC. However, this may sometimes result in errors like – Can’t switch to a Microsoft account, error 0x80010002.