PC Review Forums Newsgroups Windows XP Windows XP WMI Enumerate Profiles

Reply

Enumerate Profiles

 
Thread Tools Rate Thread
Old 14-07-2004, 03:30 PM   #1
Dan Artuso
Guest
 
Posts: n/a
Default Enumerate Profiles


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


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off