User/password credentials on remote registry read(OpenRemoteBaseKe

G

Guest

Hi,

I've a need to use remote username and password credentials to access remote
registry information via VB.net, can this be done?

I've currently a vbs script that periodically accesses wmi and registry
information on remote machines across domains, it uses the
WbemLocator.ConnectServer facility to provide specific username and password
credentials. I'm trying to move this code to a vb.Net service and I'm trying
to avoid the wsh runtime (IWshRuntimeLibrary), which I don't think will run
in a service environment.

I'm fine using ConnectionOptions to set up a management scope with specific
usernames/passwords to access WMI information on the remote machines. But is
there a similar way to use the same username password credentials to access
remote registry information, preferrebly via the standard OpenRemoteBaseKey
method?

many thanks for any help,

Phil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top