search the ADSI SDK for "ADS_SID_WINNT_PATH" this should be some type of value that the ADSI .SetAs() is looking for.

The VBS script already had this variable defined where your kix scirpt does not.