Great, thanks for the help. where / how do I increase the registry access rights for user groups? How do other programs deal with this situation? surely our app isn't the only one wanting registry access?
Rob Software engineer Wild Software Ltd Ph 03 338-1407 ----- Original Message ----- From: "Phil Scadden" <[EMAIL PROTECTED]> To: "Multiple recipients of list delphi" <[EMAIL PROTECTED]> Sent: Friday, August 30, 2002 3:06 PM Subject: Re: [DUG]: Windows 2000 Registry > > > I have an app that access's HKEY_LOCAL_MACHINE\SOFTWARE\xxxx\xxx. This > > works fine as administrator. As a Power user the app seems unable to read or > > write to said registry entry although I can open regedit and both read and > > write to the same entries. Am I missing something simple? > > Just battled this also. If you look with regedit32 (instead of Regedit), you > may notice that power user has read but not full control of key. If you > reg.openkey it will fail for your power user because doesn't have enough rights. > > Try either increasing access rights for power user or using reg.openkeyreadonly > if that is appropriate. > ---------------------------------------------------------- > Phil Scadden, Institute of Geological and Nuclear Sciences > 41 Bell Rd South, PO Box 30368, Lower Hutt, New Zealand > Ph +64 4 5704821, fax +64 4 5704603 > > -------------------------------------------------------------------------- - > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/