This allows me to access the registry on remote pc's that my ID has admin rights on.
My problem is that some of the pc's are in different domains, without any trusts.
I have a Domain\ID and password for these pc's I just need to know how to supply this information when connecting via VB, either within the code above, or make a connection before running the code above.
Thanks.
20-08-2003 at 11:14 AM
|
bon111 Level: Guest
Re: read remote registry
Not the cleanest of solutions, but i shell out to a "net use" with the parameters of the local admin id/password, and then query the machine. Like i say not neat, but it works.