Re: Registry ACL Modification
- From: "Capp" <Capp@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 May 2005 11:46:06 -0700
Steve,
Thanks for the article. It could prove to be useful. I must admit that I
am relatively new to the whole adding/modifying reg keys. The app I wrote
works perfectly when the user has access to the key I need
(HKCU\software\microsoft\windows\currentversion\policies\explorer)
Can you help me by showing me what I need to do with the artice you showed me?
Thanks, :)
Capp
"Steve Easton" wrote:
> Check out the regop.cls at
> http://msdn.microsoft.com/library/en-us/dnovba01/html/RegistryMadeEasy.asp
>
> It's also in the VS 6 version of the MSDN Library.
>
> --
> Steve Easton
> Microsoft MVP FrontPage
> 95isalive
> This site is best viewed..................
> ...............................with a computer
>
> "Capp" <Capp@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:BAAC0D4C-906D-4E2A-BAAB-778C3147B90C@xxxxxxxxxxxxxxxx
> > 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: 95isalive
- Re: Registry ACL Modification
- References:
- Registry ACL Modification
- From: Capp
- Re: Registry ACL Modification
- From: Steve Easton
- Registry ACL Modification
- Prev by Date: Re: Registry ACL Modification
- Next by Date: Re: VB 6 install / run on Win x86-64 OK?
- Previous by thread: Re: Registry ACL Modification
- Next by thread: Re: Registry ACL Modification
- Index(es):
Relevant Pages
|