By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,017 Members | 1,169 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,017 IT Pros & Developers. It's quick & easy.

User/password credentials on remote registry read(OpenRemoteBaseKe

P: n/a
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


Jan 7 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.