Enumerate Profiles

D

Dan Artuso

Hi All,
How would I go about enumerating profiles on a remote machine?
I have tried this query:

SELECT * FROM Win32_Desktop

but it does not always return all profiles.

I then tried:

(Select Name,SID from Win32_UserAccount WHERE Domain = '" _
& strIp & "'", , 48)

but that returns nothing it seems.
Suggestions?
Oh, by the way, I need to know which are domain profiles and which are local!
Let me know if you need more info.

Dan Artuso
 

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

Top