Solved

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

Posted on 2011-03-03
7
344 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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…
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…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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