Re: Registry
From: Serguei (nospam_at_nospam.no)
Date: 12/09/03
- Next message: Serguei: "Re: Windows 2003 Event logging"
- Previous message: Cruxy: "Re: stopping a project within another"
- In reply to: Russ Holcomb: "Registry"
- Next in thread: Peter Below (TeamB): "Re: Registry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
>
>
- Next message: Serguei: "Re: Windows 2003 Event logging"
- Previous message: Cruxy: "Re: stopping a project within another"
- In reply to: Russ Holcomb: "Registry"
- Next in thread: Peter Below (TeamB): "Re: Registry"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading