Getting a List of User Accounts

Written by Allen Wyatt (last updated January 11, 2021)

1

You already know that Windows allows you to create multiple user accounts on one physical computer. This is a great feature, as it allows multiple people to use a computer and configure it to their individual liking. Over time, however, you may lose track of the user accounts created on a particular system.

Fortunately, it is rather easy to see what user accounts there are on a system. Start by displaying the command prompt, and then enter the following:

net user

When you press Enter, Windows displays all the users on the system. For instance, here is the list of users I saw when I used this command on my Windows 10 system. (There are only three users listed, which is good to know. If there were more, I'd need to investigate where they came from.) (See Figure 1.)

Figure 1. The net user command can show a list of user accounts.

If you need to capture the list of users into a text file so you can work with it in some other way, you can use the old DOS trick of directing output into a text file:

net user > c:\UserList.txt

 This tip (13121) applies to Windows 7, 8, and 10.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Aligning Positive and Negative Whole Numbers in a Column

When you use a table to present numeric information, you may want to have Word align the numbers in the table. This can ...

Discover More

Shading Based on Odds and Evens

You can use conditional formatting to add shading to various cells in your worksheet. This tip shows how you can shade ...

Discover More

Drawing a Curve

Ever wonder how to add a curved line to your document? With a little practice, adding curves is simple. Here's how.

Discover More
More WindowsTips

Getting Rid of Your Windows 7 Password

When you get rid of your Windows login password, you accomplish two things. First, you make it easier to log onto your ...

Discover More

Adding a Password to a User Account

Passwords on user accounts are a great way to enhance security for a computer system. Here's how you can add a password ...

Discover More

Changing an Account's Picture

You may want to customize your account so that it uses a picture of your own choosing. This tip tells you how to change ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 0?

2021-01-28 12:25:10

Eleanor Minick

Can I seek answers--directions, really for how to do beginning things like 1) move an email to
Libraries 2) make a folder and move email to that folder? I am really trying, but so much is 'greek'
to me. Just need real easy instructions.
Thank you,
Eleanor Minick

??
I'm don't remember a security being requested/given. Unless it is the question below my email.


Newest Tips