Thread: Remote Registry
View Single Post
  #1 (permalink)  
Old August 10th, 2003, 09:28 PM
Kep Kep is offline
Authorized User
 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remote Registry

Hi all,

I realise this is more a Windows NT security question than a C++ specific question but perhaps some one can help.

I'm connecting to the registry on a remote computer and looking to read a value from the registry key (on the remote host) called:-

HKEY_LOCAL_MACHINE\SOFTWARE\MyApp

There is a value in this key called "MyValue". All I need is read access and the security descriptor for this key (and all it's parent keys) provide read access to the "Everyone" group.

When I try and open the key I get an access denied error message. The only way I can read the data is if I add my user account to the Adminstrators group on the remote host.

The Administrators group provides too much access (read/write/delete etc.) where as I only want standard users to be able to see the data.

I'm using windows API registry functions throughout.

Can anyone tell me what's going on?

Cheers,
Kep.


__________________
Kep.
Reply With Quote