Accounts View User Account Details in Windows 11


  • Staff
Accounts_banner.png

Full details of user accounts would include: AccountType, Description, Enabled or Disabled, Domain, FullName, InstallDate, Lockout, LocalAccount, Name, PasswordChangeable, PasswordExpires, PasswordRequired, SID, SIDType, and Status.

This tutorial will show you how to quickly view full details about all user accounts on your Windows 10 and Windows 11 PC.


Contents

  • Option One: View Details of Specific Account using "Net User" Command
  • Option Two: View Details of All Accounts using "WMIC UserAccount" Command




Option One

View Details of Specific Account using "Net User" Command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Type the command below into Windows Terminal, and press Enter. (see screenshot below)

net user "<user name>"

Substitute <user name> with the actual user name of the account you want to view details for.

For example: net user "Brink"


net_user.png





Option Two

View Details of All Accounts using "WMIC UserAccount" Command


1 Open Windows Terminal, and select either Windows PowerShell or Command Prompt.

2 Copy and paste the command below you want into Windows Terminal, and press Enter. (see table and screenshots below)

(Output in Windows Terminal)​
wmic useraccount list full

OR​

(Command Prompt - output to "UserAccountsDetails.txt" file on your desktop)​
wmic useraccount list full >"%userprofile%\Desktop\UserAccountDetails.txt"

OR​

(PowerShell - output to "UserAccountsDetails.txt" file on your desktop)​
wmic useraccount list full >"$Env:userprofile\Desktop\UserAccountDetails.txt"

User_Accounts_Details-1.png
User_Accounts_Details-2.png
User_Accounts_Details-3.png



Description
AccountTypeA flag that describes the characteristics of the user account.
  • 256 = (UF_TEMP_DUPLICATE_ACCOUNT) Local user account for users who have a primary account in another domain. This account provides user access to this domain only—not to any domain that trusts this domain.
  • 512 = (UF_NORMAL_ACCOUNT) Default account type that represents a typical user.
  • 2048 = (UF_INTERDOMAIN_TRUST_ACCOUNT) Account for a system domain that trusts other domains.
  • 4096 = (UF_WORKSTATION_TRUST_ACCOUNT) Computer account for a computer system running Windows that is a member of this domain.
  • 8192 = (UF_SERVER_TRUST_ACCOUNT) Account for a system backup domain controller that is a member of this domain.
DescriptionDescription of the account if available.
DisabledTrue or False if the user account is currently disabled.
DomainName of the Windows domain (ex: computer name) the user account belongs.
FullNameFull name of the local user account.
InstallDateDate the object is installed if available. This property does not need a value to indicate that the object is installed.
LocalAccountTrue or False if the user account is defined on the local computer.
LockoutTrue or False if the user account is currently locked out of Windows.
NameName of the user account. This would be the same name as the "C:\Users\(user-name)" profile folder of the user account.
PasswordChangeableTrue or False if the password of the user account can be changed.
PasswordExpiresTrue or False if the password of the user account expires.
PasswordRequiredTrue or False if a password is required for the user account.
SIDSecurity identifier (SID) for this account. A SID is a string value of variable length that is used to identify a trustee. Each account has a unique SID that an authority, such as a Windows domain, issues. The SID is stored in the security database. When a user logs on, the system retrieves the user SID from the database, places the SID in the user access token, and then uses the SID in the user access token to identify the user in all subsequent interactions with Windows security. Each SID is a unique identifier for a user or group, and a different user or group cannot have the same SID.
SIDTypeEnumerated value that specifies the type of SID.
  • 1 = User
  • 2 = Group
  • 3 = Domain
  • 4 = Alias
  • 5 = Well Known group
  • 6 = Deleted account
  • 7 = Invalid
  • 8 = Unknown
  • 9 = Computer
StatusCurrent status of an object. Various operational and nonoperational statuses can be defined.

Operational statuses include: "OK", "Degraded", and "Pred Fail", which is an element such as a SMART-enabled hard disk drive that may be functioning properly, but predicts a failure in the near future.

Nonoperational statuses include: "Error", "Starting", "Stopping", and "Service", which can apply during mirror resilvering of a disk, reloading a user permissions list, or other administrative work.

The values are:
  • OK
  • Error
  • Degraded
  • Unknown
  • Pred Fail
  • Starting
  • Stopping
  • Service
  • Stressed
  • NonRecover
  • No Contact
  • Lost Comm


That's it,
Shawn Brink


 

Attachments

  • Accounts.png
    Accounts.png
    5.9 KB · Views: 8
Last edited:

Latest Support Threads

Top Bottom