strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set objAccount = objWMIService.Get _ ("Win32_UserAccount.Name='LANID',Domain='DOMAINNAME'") Wscript.Echo objAccount.SID I am able to retrieve the SID using the vbs script above by specifying the computer name and lanid and domain. However i am creating an autoit script which needs to be able to determine the SID and then use it in a function? I have tried to use the vbs to au3 converter,