Re: Registry

From: Serguei (nospam_at_nospam.no)
Date: 12/09/03


Date: 9 Dec 2003 10:02:27 -0700


Writing to HKEY_CURRENT_USER should always work.
Writing HKEY_LOCAL_MACHINE woul require admin rights.
There are two solutions:
1) If you know admin account you can impersonate as
admin at run time.
2) You can change permissions on the particular key in
advance. This is one time operation that may be
performed by Admin at application setup time.

Best,
Serguei

 

"Russ Holcomb" <reholcomb@earthlink.net> wrote:
>I am sure this is old news but, what do we need to do to let our application
>write to the registry when the user is not an administrator?
>
>Thanks
>
>Russ
>
>



Relevant Pages

  • RE: Restricting access to a CD-WR drive on a Win2K Server
    ... Are they using some software to access it over the network, ... how do they prevent multiple people from writing at the same ... that, then go down and burn that to disc, or have someone go down every so ... (Maybe and Admin. ...
    (Focus-Microsoft)
  • Re: [PHP] restrict access to multiple pages
    ... > Ok so I am working on the admin sectin of the e-commerce app I'm writing ... Not just for your admin users, ... The functions would determine if the logged-in user had ...
    (php.general)
  • Re: How do you get the job of writing...
    ... The admin ... Yeah, right. ... *Real* writers would spot just how good corporate report writers have to be. ... or writing while aware that I'm doing it on purpose. ...
    (misc.writing)
  • Capturing LPT1 Port
    ... Does anyone know of a way to net use lpt1 without being the admin on the ... Any registry hack without having to resort to writing a batch file ...
    (microsoft.public.windowsxp.security_admin)
  • Re: writing to registry in vista from guest account
    ... Once again, I bring you back to *Virtualization* on Vista, because based on each user, they will have their own VirtualStore in the registry or in case of something happening with the file-system such as a folder. ... By making your application to work with Standard user rights, no UAC escalation or prompt is required for the solution to execute. ... You also don't need a manifest for the application, if it's made to run with Standard user rights and not Admin user rights. ... Like I said, even with UAC disabled, your user admin account is not an account that has full admin rights on Vista. ...
    (microsoft.public.dotnet.languages.csharp)

Loading