reading remote machine registry
-
Hi, Is there any way i can read remote machine registry in c#. I will appreciate if some one give me code to read remote machine registry. Regards, Waqar.
-
Hi, Is there any way i can read remote machine registry in c#. I will appreciate if some one give me code to read remote machine registry. Regards, Waqar.
You can read from a remote registry using the following static method:
Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(...)
However, according to the MSDN documentation, the following must be ensured: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. Cheers, Miahrugger -
You can read from a remote registry using the following static method:
Microsoft.Win32.RegistryKey.OpenRemoteBaseKey(...)
However, according to the MSDN documentation, the following must be ensured: In order for a key to be opened remotely, both machines (the service, and client) must be running the remote registry service, and have remote administration enabled. Cheers, MiahruggerYou also only have access to the HKEY_LOCAL_MACHINE and HKEY_USERS keys