Mega Search
23.2 Million


Sign Up

Make a donation  
Registry corruption  
News Group: borland.public.delphi.nativeapi.win32

I have some keys with no subkeys in the registry that I cannot delete with 
the TRegistry.DeleteKey function or with the windows registry editor. I have 
tried running some registry cleaning software but it does not manage to read 
the keys. What can I do?

Pier 



Vote for best question.
Score: 0  # Vote:  0
Date Posted: 7-Jan-2008, at 3:50 PM EST
From: Pier
 
Re: Registry corruption  
News Group: borland.public.delphi.nativeapi.win32
"Pier"  wrote in message 
news:47822e55@newsgroups.borland.com...

> I have some keys with no subkeys in the registry that I cannot
> delete with the TRegistry.DeleteKey function or with the windows
> registry editor. I have tried running some registry cleaning software
> but it does not manage to read the keys. What can I do?

Chances are that your user account simply does not have adequate rights to 
those keys.  That does not mean the Registry is corrupted.  Have you tried 
calling GetLastError() after DeleteKey() exits?


Gambit 



Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 7-Jan-2008, at 10:56 AM EST
From: Remy Lebeau \(TeamB\)
 
Re: Registry corruption  
News Group: borland.public.delphi.nativeapi.win32
Pier wrote:
> I have some keys with no subkeys in the registry that I cannot delete with 
> the TRegistry.DeleteKey function or with the windows registry editor. I have 
> tried running some registry cleaning software but it does not manage to read 
> the keys. What can I do?
> 
> Pier 

Can you delete the parent key?
Try exporting the whole branch, delete the parent
of the corrupted key, then edit your export file
to remove the corrupted keys and re-import.

Obviously this may corrupt your entire system...!

Cheers,

Chris

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 7-Jan-2008, at 4:53 PM EST
From: Chris Morgan