Accessing Remote Registry

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, can I access the registry of a remote machine using VB.NET? While
connecting to the remote machine I would be using the admin login of that
machine.

Thanks.
 
You can use RegistryKey.OpenRemoteBaseKey and pass the registry hive you want
to open and the machine name you are trying to access. i.e:

RegistryKey.OpenRemoteBaseKey(Microsoft.Win32.RegistryHive.LocalMachine,
myServer)
 

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

Back
Top