I am trying to read the registry on a remote machine. I have:
I receive an exception saying "Requested registry access not allowed." My app runs from an XP machine and is trying to read another XP machine. Both machines have common Admin accounts and the remote registry service is started on both as well. Could someone please let me know if I need to make any other adjustments for this to work? Thanks.
Code:
Dim rk As RegistryKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, strClient).OpenSubKey(strSubkey, False)