Solved

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

Posted on 2011-03-03
7
333 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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Issue: Unstable cursor in Windows XP and Windows runs extremely slow in that any click will bring up the Hour glass (sometimes for several seconds before giving you what you want) . Troubleshooting Process and the FINAL FIX: This issue see…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
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). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now