• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 384
  • Last Modified:

How to get a list of user profiles from a workstation and export to CSV?

How to get a list of user profiles from a workstation and export to CSV?
0
mjm21
Asked:
mjm21
  • 4
  • 2
1 Solution
 
t-maxCommented:
I'm not sure the question is specific enough on what you want.
To get a list of user profiles, you can just dir "C:\Documents and Settings" to get the list of profiles stored in the server.
As for exporting it to csv, depends on which details you want to export. If it's only the list of names inside the directory above, it will be enough to save one name per line.
0
 
khaazCommented:
To get a list of user accounts on a workstation you could use :

wmic /output:test.csv useraccount

Open in new window


0
 
mjm21Author Commented:
Ok I will try what khaaz suggested and it does not work.  It hangs.
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
mjm21Author Commented:
Guys?  Anything?
0
 
khaazCommented:
it hangs ? I have tried it on winXP and 2003 server and it seems to work.
what happens if you try

wmic /?

Open in new window


or

wmic useraccount

Open in new window



0
 
mjm21Author Commented:
For some reason we cannot get this going.  Closing ticket.  Giving points but will not list as resolution to the public.
0
 
mjm21Author Commented:
Could not get this to work properly from our end
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now