It is practical and easy to determine from the command line in PowerShell: whether there is a Microsoft Account or is a Local Account on Windows 11, 10, ... !
Using PowerShell to query under Windows 11, 10, ... or MS Server 2022, 2019, .... whether the Windows account is a Microsoft account or a local account is sometimes faster than using the user account management !
See also: ►► Windows 10 with and without Microsoft account!
2. Enter PowerShell
3. Username with the command whoami query
PS: Optional with the command "net user" all user names list
4. Now the command to query:
Get-LocalUser -Name 'User' | Select PrincipalSource (confirm with Enter)
(... see Image-1 Point 1 to 3)
In the place of username, enter your username and the status will appear, whether it is a Microsoft account or a local user. If it is a local account, Local will appear, if not "MicrosoftAccount"
Both the local user and the Microsoft account for your Windows operating system offer advantages. Of course, it depends on how important privacy is to you and on the other hand whether you want to use the practical functions and advantages of a Microsoft account.
Especially when moving to a new PC or when working on several PCs, the Microsoft account can offer advantages in terms of data synchronization. On the other hand, with the local account, you are very concerned about privacy and regulate these tasks yourself.See also:
► Create and manage user accounts in Windows 10 !