Click to See Complete Forum and Search --> : How to get machine SID


dcarva
February 16th, 2007, 11:20 AM
Hello,

Every windows machine has a SID value. I need a way to get the SID value using WMI. But I cannot find the WMI class that enumerates machine sids. There is a Win32_SID class but that returns nothing when I query the class. Any suggestions?

Thanks
Danny

PeejAvery
February 16th, 2007, 11:29 AM
This is the client-side scripting forum. This question better suites the General Windows and DNA programming more. I will have a moderator move it.

dcarva
February 16th, 2007, 11:33 AM
I am using client-side scripting code to get (VBScript) to query WMI classes. '
Thanks

PeejAvery
February 16th, 2007, 11:51 AM
I am using client-side scripting code to get (VBScript) to query WMI classes.
But your problem is not with the VBScript. You stated that WMI is the difficulty. That make it Windows related more than client-side scripting.

Dr. Script
February 16th, 2007, 11:56 AM
I'll wait for a response before I make the move official

dcarva
February 16th, 2007, 12:23 PM
No problem. Make the move. Thanks!