We have recently purchased another comany and I need to take their old NT4
domain and convert all the user account ids to be an employee number. This
will match our 2003 AD domain. This is the first step in migrating their
domain into ours. I have seen numerous examples on how to change the user id.

My question is: Using VB how would I query the other domain with different
credentials than what I am logged into my computer. There is no trust
between NT4 and 2003 domains. There will be over 900 accounts to change and I
really really dont want to sit in front of user manager for a weekend
changing all the accounts.

Thanks,
Don

Re: Rename old NT4 user accounts. by Pegasus

Pegasus
Mon Jul 14 13:17:07 CDT 2008


"mjxplant" <mjxplant@discussions.microsoft.com> wrote in message
news:1EDC4FE0-3914-4111-8B85-1D28FDE49C88@microsoft.com...
> We have recently purchased another comany and I need to take their old NT4
> domain and convert all the user account ids to be an employee number. This
> will match our 2003 AD domain. This is the first step in migrating their
> domain into ours. I have seen numerous examples on how to change the user
> id.
>
> My question is: Using VB how would I query the other domain with different
> credentials than what I am logged into my computer. There is no trust
> between NT4 and 2003 domains. There will be over 900 accounts to change
> and I
> really really dont want to sit in front of user manager for a weekend
> changing all the accounts.
>
> Thanks,
> Don
>

You could present your credentials with this command:
net use \\OtherServer\SomeShare /user:OtherServer\Administrator SomePassword

After running this command, you can query anything on the other server.