Now we are getting somewhare.

TranslateName: Init error -2147352567 COM exception error "Init" ((null) - (null)) [-2147352567/80020009]


Means that the translate name function could not init the COM object using "ResourceDomain" (@domain). What happens if you use the Netbios name of the account domain where the account lives? By the way...you are executing this script under the security contextr of an active directory user account that has access to this domain - right?

You can try using different binding values.

bind to the logon domain:
$Name2 = TranslateName (1, @LDomain, 3, $Name1, 1)

bind to a server:
$Name2 = TranslateName (2, "\\server", 3, $Name1, 1)


Is your resource domain a W2K domain in the forest?
_________________________
Home page: http://www.kixhelp.com/hb/