Willy thanks for your answer, I've changed the code so it accesses HKCU,
works fine!
I'm trying to access HKLM, is it possible to give "Domain User" HKLM
access?, or what member should a user be to allow HKLM access?
Thanks
Norm
"Willy Denoyette [MVP]" <wi*************@pandora.be> wrote in message
news:Ou**************@TK2MSFTNGP12.phx.gbl...
What kind of registry access (query or set) do you consider as a normal
activity?
What registry hive /key are you accessing? "Domain users" don't have
access to the local registry other than the HKCU.
Willy.
"Normski" <no**@jjoplc.com> wrote in message
news:c6**********@hercules.btinternet.com... I'm trying to develop an application (Windows Form Based). The
application will be reside on a shared network drive in a Windows 2003 Domain. The
user
(Domain User) will access the application from his/hers PC.
Now everything works fine if the User is a member of "Domain Admins" but
if
the remove the membership leaving "Domain User" the applcation fails
with:
"System.Security.SecurityException: Requested registry access is not
allowed."
etc.
Question What actions do I need to carry out to allow a normal "Domain
User"
access to normal activities such as accessing the registry?