How To List User Accounts in Windows Using Command Prompt

Last Updated On : Sunday, March 16, 2014
0

Windows users you can list all the user accounts in your windows operating system using a command prompt command and it works in all versions of windows. Lets see how to do the same.

How To Steps:
1. Open Command prompt in your windows.

2. Now type “net user” [without quotes] and hit enter. It will list all the user accounts.

How To List User Accounts in Windows Using Command Propmt (1)

If you want to get the list of account details in a notepad in a specified location try the below command.

net user > “users.txt”

If you not specify the path it automatically stores the file in location “C:\Users\User Name”

net user > “F:\users.txt”

This will save the users.txt file in “F:” Drive location.

How To List User Accounts in Windows Using Command Propmt (2)

I have already shared the tutorial to copy the command prompt output to your clipboard, check it here.

If you have any alternate ways, feel free to comment us.