Cannot fix corrupted registry value: The handle is invalid error.



I'm trying to install SQL Server Express 2008 using Web Platform Express 2008
installer (2.0 beta) on Windows Vista Ultimate SP1 (all updates installed),
but it fails. I searched for the reason, and found that the values in the
following registry key is corrupted:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009

Counter and Help values cannot include empty lines, but there is an empty
line at the end of them. When I tried to delete that line, following error
occurs:

Error editing value - Cannot edit counter: Error writing the value's new
contents.

When I tried to change permissions to full for that key, following error
occurs:

Windows security - Unable to save permission changes on 009. The handle is
invalid.

Same error occurs when I try to change ownership, too. I tried using
subinacl tool, too. But same error occurs: RegSetKeySecurity Error : 6 The
handle is invalid

I'm using the windows as a domain user with some group policies at work. But
I install software with my local user account with full administrator rights
without any problem until now. I tried lots of solutions of simular issues.
Is there a way to fix this issue without formatting and reinstalling the
windows?
.