View User Account Details in Windows 10  

Page 1 of 2 12 LastLast
    View User Account Details in Windows 10

    View User Account Details in Windows 10

    How to View Full Details of All User Accounts in Windows 10
    Published by Category: User Accounts
    25 Nov 2019
    Designer Media Ltd
     

    How to View Full Details of All User Accounts in Windows 10


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

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


    Contents

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






    OPTION ONE

    To View Details of a Single Account using "Net User" Command


    1 Open a command prompt.

    2 Type the command below into the command prompt, 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"

    View User Account Details in Windows 10-net_user.png






    OPTION TWO

    To View Details of All Accounts using "WMIC UserAccount" Command


    1 Open a command prompt.

    2 In the command prompt, copy and paste the command below you want to use, and press Enter.

    (To see results in command prompt)
    wmic useraccount list full

    OR

    (To save results to a "UserAccountsDetails.txt" file on your desktop)
    wmic useraccount list full >"%userprofile%\Desktop\UserAccountDetails.txt"

    3 You will now see all user accounts on the PC listed with detailed information about each one. (see screenshots and table below)

    View User Account Details in Windows 10-user_accounts_details-1.jpg
    View User Account Details in Windows 10-user_accounts_details-2.jpg

    Properties Description
    AccountType A 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.
    Description Description of the account if available.
    Disabled True or False if the user account is currently disabled.
    Domain Name of the Windows domain (ex: computer name) the user account belongs.
    FullName Full name of the local user account.
    InstallDate Date the object is installed if available. This property does not need a value to indicate that the object is installed.
    LocalAccount True or False if the user account is defined on the local computer.
    Lockout True or False if the user account is currently locked out of Windows.
    Name Name of the user account. This would be the same name as the "C:\Users\(user-name)" profile folder of the user account.
    PasswordChangeable True or False if the password of the user account can be changed.
    PasswordExpires True or False if the password of the user account expires.
    PasswordRequired True or False if a password is required for the user account.
    SID Security 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.
    SIDType Enumerated 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
    Status Current 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




  1. Posts : 5,834
    Dual boot Windows 10 FCU Pro x 64 & current Insider 10 Pro
       #1

    Thanks, Shawn. Very cool!
      My Computers

  2. Brink's Avatar
    Posts : 56,352
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #2

      My Computers

  3. Layback Bear's Avatar
    Posts : 983
    Windows 7/64 Professional
       #3

    I like it and it works just great.

    Shawn how many hours a day do you spend righting tutorials?
      My Computers

  4. Brink's Avatar
    Posts : 56,352
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #4

    I lost track. LOL
      My Computers

  5. Govi59's Avatar
    Posts : 16
    64 bits Windows 10 home
       #5

    Hi there,
    thank you for this trick :)
    Is it possible to get the User SID of a particular user thanks to a .bat script for instance ?

    Related post : Sign-in Screen Background - Show Lock Screen Background in Windows 10
    I'm new in scripting and I try to automate many things. In my case, I would like to access directly to the good Registry Key but it depends on the SID..!

    Thank you so much for all your tutorials ! \o/

    Govi
      My Computer

  6. Brink's Avatar
    Posts : 56,352
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #6

    Hello Govi, and welcome to Ten Forums. :)

    You could use the command below to get the SID of the current user.

    wmic useraccount where name='%username%' get sid

    You could use the command below to get the SID of a specific user. Replace username in the command below with the actual user name of the user.

    wmic useraccount where name='username' get sid


    You could use the command below to get the Name and SID of all users.

    wmic useraccount get name, sid
      My Computers

  7. Govi59's Avatar
    Posts : 16
    64 bits Windows 10 home
       #7

    Thank you very much !
      My Computer

  8. Brink's Avatar
    Posts : 56,352
    64-bit Windows 10 Pro for Workstations build 21359
    Thread Starter
       #8

    You're most welcome. :)
      My Computers

  9. AFRet96's Avatar
    Posts : 13
    Windows 10
       #9

    My command prompt initializes with x: and when I input wmic as mentioned above I get "No Instance(s) Available." Is there another way to see what User accounts I may have on my laptop?
      My Computer


 
Page 1 of 2 12 LastLast

Tutorial Categories

View User Account Details in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:39.
Find Us




Windows 10 Forums