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)
 
Back
Top