Software-OK
≡... News | ... Home | ... FAQ | Impressum | Contact | Listed at | Thank you |

  
HOME ► Faq ► FAQ - Windows cmd.exe Command-Prompt ► ««« »»»

Is my Windows User a Microsoft Account or a Local command line query!


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 !

Contents:

1.) ... Querying the account type via MS Powershell
2.) ... Further links to Windows users!


See also: ►►  Windows 10 with and without Microsoft account!

1.) Querying the account type via the MS Powershell

1. Windows + R shortcut

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) 

PS:
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" 

(Image-1) Is my Windows account a Microsoft or a local command line account!
Is my Windows account a Microsoft or a local command line account!

-
▲ Back to the top ▲


2.) More links, infos, tips to Windows users!


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 !
► Make the  Windows 10 standard user account a guest user !
► Manage, add or remove users in Windows 8.1 / 10 !









FAQ 90: Updated on: 26 September 2022 08:39 Windows
Windows-Console

Information about a specific user account via cmd.exe or PowerShell!


Under MS Windows 11, 10, Desktops and MS Server, information on a specific user account can be obtained quickly via the command line Important user
Windows-Console

Change the workgroup / PC name using the command prompt or PowerShell!


Changing workgroup or PC name using Command Prompt or PowerShell is om MS Windows 11, 10, and MS Server OS Is not impossible either, this is often used
Windows-Console

Query the Mac address via the command line (CMD)!


You can find out the mac address physical address of a computer with the getmac command on MS Windows 11, 10, etc. This can also be used to get the
Windows-Console

Find out the computer name via the command prompt or Powershell!


Its easy to find out the computer name using the command prompt or Powershell commands on Windows 11, 10, etc. You can determine your computer name
Windows-Console

Understand the shutdown command under MS Windows!


The Shutdown command under MS Windows 11, 10, . + MS Server is one of the most popular PC shutdown or restart command lines To use the command line,
Windows-Console

Activate and deactivate Remote Desktop via command line!


Its easy to enable and disable Remote Desktop from the command line on MS Windows 11, 10, etc. and Server OS The remote desktop can be turned off,
Windows-Console

Find out with PowerShell what is preventing shutdown and standby!


It is easy to find out with PowerShell which app or program is preventing shutdown, standby or hibernation on Windows 11, 10, etc. With all Microsoft

»»

  My question is not there in the FAQ
Asked questions on this answer:
  1. I want to use PowerShell to determine whether the Windows 10 or 11 account is a Microsoft account or a local account?
Keywords: windows, 11, 10, console, account, microsoft, local, command, line, determine, powershell, query, Questions, Answers, Software




    

  + Freeware
  + Order on the PC
  + File management
  + Automation
  + Office Tools
  + PC testing tools
  + Decoration and fun
  + Desktop-Clocks

  + SoftwareOK Pages
  + Micro Staff
  + Freeware-1
  + Freeware-2
  + Freeware-3
  + FAQ
  + Downloads

  + Top
  + Desktop-OK
  + The Quad Explorer
  + Don't Sleep
  + Win-Scan-2-PDF
  + Quick-Text-Past
  + Print Folder Tree
  + Find Same Images
  + Experience-Index-OK
  + Font-View-OK


  + Freeware
  + AlwaysMouseWheel
  + NewFileTime
  + DesktopClock3D
  + PointerStick
  + DesktopImages3D
  + WinPing
  + GetPixelColor
  + StressMyPC
  + DesktopSnowOK
  + PAD-s


Home | Thanks | Contact | Link me | FAQ | Windows 2021 | Windows 10 | English-AV | Impressum | Translate | PayPal | PAD-s

 © 2023 by Nenad Hrg softwareok.de • softwareok.com • softwareok.com • softwareok.eu
0.077


► Help, how can I bypass the recycle bin when deleting? ◄

► What is a binary number? ◄

► Change Windows Desktop Icon Size and View, plus save! ◄

This website uses cookies to ensure you get the best experience on our website more Infos & Privacy Policy
....