Re: Registry ACL Modification



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 :)
> >
>
>
>
.



Relevant Pages

  • Re: Registry ACL Modification
    ... I Can use Vb to access every part of the registry with no problems except ... "Steve Easton" wrote: ... >> I wrote an app that needs to add a few small strings in the registry. ... >> can download. ...
    (microsoft.public.vb.winapi)
  • Re: Had to uninstall Safari
    ... Steve de Mena wrote: ... If by 'deep' you mean 'in a folder clearly named for the app in a folder ... One I use, Native Instruments "Battery", has files in: ... installation. ...
    (comp.sys.mac.advocacy)
  • Re: Microsoft is Dead
    ... Snit wrote: ... Because as far away from PS as the app might be, ... Steve figured out that a program that alters images is "closer to PS ... Photoshop link to a webpage was to show that the program on the page was ...
    (comp.sys.mac.advocacy)
  • Re: Microsoft is Dead
    ... Because as far away from PS as the app might be, ... Steve figured out that a program that alters images is "closer to PS ... Photoshop link to a webpage was to show that the program on the page was not ...
    (comp.sys.mac.advocacy)
  • Re: OTsort of but not really, Nvidia issue that affects all apps.
    ... it wasn't the app but a system wide issue. ... I'm testing here was the response: ... Thanks for the update, Steve, and for your diligence in following up ...
    (microsoft.public.vb.general.discussion)