Solved

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

Posted on 2011-03-03
7
343 Views
Last Modified: 2012-05-11
How to get a list of user profiles from a workstation and export to CSV?
0
Comment
Question by:mjm21
  • 4
  • 2
7 Comments
 
LVL 6

Expert Comment

by:t-max
ID: 35028684
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
 
LVL 2

Accepted Solution

by:
khaaz earned 500 total points
ID: 35028832
To get a list of user accounts on a workstation you could use :

wmic /output:test.csv useraccount

Open in new window


0
 

Author Comment

by:mjm21
ID: 35030088
Ok I will try what khaaz suggested and it does not work.  It hangs.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:mjm21
ID: 35033195
Guys?  Anything?
0
 
LVL 2

Expert Comment

by:khaaz
ID: 35034322
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
 

Author Comment

by:mjm21
ID: 35199841
For some reason we cannot get this going.  Closing ticket.  Giving points but will not list as resolution to the public.
0
 

Author Closing Comment

by:mjm21
ID: 35199855
Could not get this to work properly from our end
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows 2012 KMS Server Trial Key 5 230
Setting up a new Windows server 8 55
XP as a dual boot with Windows 10 10 95
Windows Services - Run a Program Grey Out 3 15
This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question