Registry ACL Modification
- From: "Capp" <Capp@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2005 19:17:08 -0700
I hope this is in the right area...if not I apologize.
I wrote an app that needs to add a few small strings in the registry. The
problem is, when run under the standard "user" rights, I do not have access
to add/remove/modify anything in the registry. It needs to add a few values
into HKEY_CURRENT_USER... but says I do not have access. I found a Microsoft
article on modifying the ACL of the registry using the "SetPerm.bas" file you
can download. I have downloaded it and tried it, but I am afraid that I'm an
idiot when it comes to this. This app is only going to be used on NT based
systems. Here is the article I mentioned:
http://support.microsoft.com/default.aspx?scid=kb;en-us;316440.
My question is this......what method should I use to safetly add values to
the registry for the current logged on user via code, when it says I don't
have access?
I know it can be done, but I'd prefer not to do the "hack" way by blowing
out the permissions and redoing it.
Thank You for your help :)
.
- Follow-Ups:
- Re: Registry ACL Modification
- From: Sam Hobbs
- Re: Registry ACL Modification
- From: Sam Hobbs
- Re: Registry ACL Modification
- From: Steve Easton
- Re: Registry ACL Modification
- From: Mark Yudkin
- Re: Registry ACL Modification
- Prev by Date: Re: RealGetWindowClass not working on xp themed apps
- Next by Date: Re: Microsoft Layer for Unicode on Windows 95/98/Me systems
- Previous by thread: Need urgent help
- Next by thread: Re: Registry ACL Modification
- Index(es):
Relevant Pages
|
Loading