cannot read registry value

  • Thread starter Thread starter berry
  • Start date Start date
B

berry

hi,

the client machine is winXP and Windows Domain user.

our program need to write some data in the registry,
but the client winXP cannot let us to write.

After login as local administrator, we can add a registry key here,
but when login as the normal domain user,
the program still prompt out cannot access registry.

How can I solve the problem?

berry
 
Some areas of the registry are protected if you do not have suffient user
rights to access them - that is why you need admin type rights to install
programs.

You cannot do anything about this if your user does not have the rights to
access/change those parts of the registry.
 
You can try running the program with different
credentials. If you right click on the program shortcut
and go to "Run As", supply Admin credentials for the
program. If you do not have a "Run As" than I am not too
sure what you can do.
 
You need to adjust the permissions of the registry key in question. Or
better yet, change your program to store your information somewhere else
that a limited user does have permissions for.
 
Back
Top