If you only need to read the value and you are using D4 or up try opening the key with OpenKeyReadOnly. OpenKey tries to open the key with read/write access which causes a problem it the user doesn't have write permissions to the key. If you are using Delphi 3 or less I think you can use TRegistry.Access to set the access to KEY_READ. -----Original Message----- From: David O'Brien [mailto:[EMAIL PROTECTED]] Sent: Thursday, 21 September 2000 3:07 To: Multiple recipients of list delphi Subject: [DUG]: Win 2000 and the Registry We have a number of apps that read keys from HKEY_LOCAL_MACHINE. A client has upgraded their site to Win2000, and unless they are an administrator, cannot use our software. The keys return BLANK for a normal user. If a normal user runs Regedit, they can see the key is there and correct. But we cannot read the key programmatically. Any Ideas? Dave. --------------------------------------------------------------------------- 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" ------------------------------------------------------------------------------ This message and any attachment is confidential and may be privileged or otherwise protected from disclosure. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone. --------------------------------------------------------------------------- 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"