C:Usersed>net user %username%
User name ed
Full Name ed
Comment
User's comment
Country code 000 (System Default)
Account active Yes
Account expires Never
Password last set 2014/8/22 PM 09:44:58
Password expires Never
Password changeable 2014/8/22 PM 09:44:58
Password required Yes
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory
Last logon 2014/8/27 PM 07:12:36
Logon hours allowed All
Local Group Memberships *Administrators *Users
Global Group memberships *None
The command completed successfully.
Please notice that the user I am using is a member of Administrators group. This could be an important information for us to determine to perform some administrative tasks in current session.
You can also see other accounts information by net user. For example, you want to see all the details about administrator
C:Usersed>net user administrator
User name Administrator
Full Name
Comment Built-in account for administering the computer/domain
User's comment
Country code 000 (System Default)
Account active No
Account expires Never
Password last set 2009/7/14 PM 01:13:36
Password expires Never
Password changeable 2009/7/14 PM 01:13:36
Password required Yes
User may change password Yes
Workstations allowed All
Logon script
User profile
Home directory
Last logon 2009/7/14 PM 01:08:59
Logon hours allowed All
Local Group Memberships *Administrators
Global Group memberships *None
The command completed successfully.
As you can see in the output, the account administrator is not enabled currently, you may follow my another post below to make it active.
How to Enable Administrator Account on Windows
For more information about using net user, please refer to Microsoft documentation:
How to Use the Net User Command