Hi guys Can someone help me convert this vbs script so that i can include it in my autoit script. I don't want to run it as a seperate script if i can help it. The following is a vbs script for changing a user account "Password never expires setting" strComputer = "." strUser = "temp" Set User = Getobject("WinNT://" & strComputer & "/" & strUser) Flags = User.Get("UserFlags") User.put "Userflags", flags OR &H10000 user.setinfo Set User = nothing This is my attempt to change it to autoit $strComputer = "." $strUser = "temp" $User = ObjGet("WinNT://" & $strComputer & "/" & $strUser) $Flags = $User.Get("UserFlags") $User.put "Userflags", $flags OR "&H10000" $user.setinfo $User = "nothing" It error on the $user.put line. Thanks in advance for any help.