Identify User Profiles on multi-profile machines

  • Thread starter Thread starter Rafael
  • Start date Start date
R

Rafael

All,

What's the most reliable way to identify the list of user profiles on a
Windows 2000 Pro workstation? For example, I want to get a list of
domain\%userprofile% or computer\%userprofile% and then pipe it out to a
log file but looking for NTUser.dat does not seem to be such a good idea.

Thanks,

Rafael
 
Rafael said:
All,

What's the most reliable way to identify the list of user profiles on a
Windows 2000 Pro workstation? For example, I want to get a list of
domain\%userprofile% or computer\%userprofile% and then pipe it out to a
log file but looking for NTUser.dat does not seem to be such a good idea.

Thanks,

Rafael

How about this:

dir /b "%UserProfile%\.."
 
Thanks for the feedback.

Bye the way, there is no DOS under Windows. DOS
is an operating system, as is Windows or Linux. What
you probably mean is the Command Prompt.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top