Solved

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

Posted on 2011-03-03
7
347 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
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). …

691 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