Remote Regstry access denied for non-admin user
问题 I am trying to open remote registry key with a non admin user who has been given access to registry key on remote machine. remoteKey = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, hostname); I am getting Requested registry access is not allowed. at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at Microsoft.Win32.RegistryKey.OpenSubKey(String name) at RemoteRegistry.Program.Main(String[