Published on http://www.itswapshop.com (http://www.itswapshop.com)

Home > How to Get List of All Domain User Accounts from Command Line - Windows

How to Get List of All Domain User Accounts from Command Line - Windows

Submitted by ingram on Sat, 02/02/2013 - 2:59pm
net user domain list

To get a list of all user accounts in a domain and export them into a text file, run the following command (you need to have the appropriate permissions to run this command, a domain admin will work):

net user /domain > domain-user-list.txt

This will export a list of all domain users to a text file in the working directory. This should work in any Microsoft Windows Active Directory Domain.

Privacy Policy

support @ itswapshop . com


Source URL: http://www.itswapshop.com/tutorial/how-get-list-all-domain-user-accounts-command-line-windows