1
I can find and one by one show the info of users using the command:
net users
but is there any way I can view the Info of all users at once? Such as a:
net users /all
1
I can find and one by one show the info of users using the command:
net users
but is there any way I can view the Info of all users at once? Such as a:
net users /all
0
wmic useraccount list /format:list
On Windows 10, this command never completes. It just hangs there and does not return an answer. – KAE – 2017-01-20T13:57:40.580
It just took a very long time (5+ minutes), so my earlier comment was wrong. – KAE – 2017-01-20T14:48:56.517
Doesn't work on Windows XP Home Edition (tested it myself; however it seems to be available on all other platforms (source).
– Doktoro Reichard – 2013-08-25T20:22:27.4630
If you want something like this:
On Run, type:
control userpasswords2
And you can see graphically all users and by selecting Properties, you can then see some of their attributes.
Based roughly on this source and this for some pictures. It is somewhat of an obscure command, though. And it works on XP, so I can't say for sure it works on versions upper than that.
Works on Win7. Cliff – cliff2310 – 2013-08-24T22:28:45.913
I want to do this from the command line. – John – 2013-08-25T10:00:24.067
In that case, you could write a batch file, but I've been looking at that and, since the output of >net user
isn't easy to treat, this would seem like the best option, unless you weren't opposed to something in the likes of a Python script. – Doktoro Reichard – 2013-08-25T20:14:28.647
What OS are you using? – Doktoro Reichard – 2013-08-24T21:39:14.440
Well there is no one OS. I need to execute this on Windows XP to 7 machines and Windows Server 2003 to 2008 machines. Thats the best range I can give you. – John – 2013-08-24T21:40:21.697