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
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