Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Security > Cannot fix corrupted registry value: The handle is invalid error.

Reply
Thread Tools Display Modes

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

 
 
memoconq
Guest
Posts: n/a

 
      06-02-2009
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?
 
Reply With Quote
 
 
 
 
Mike Brannigan
Guest
Posts: n/a

 
      06-03-2009


"memoconq" <> wrote in message
news:658E2058-43A6-40AD-8BB4-...
> 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?


Step one of any trouble shooting process would be to eliminate any none
standard items.
So the obvious question -- Do you get the same error when not using a BETA
product to drive the installs? or have you not bothered with that yet?
Also what do you mean by not being allowed an empty line at he end of the
counter reg value?
Looking at mine (which does have SQL Express 2008 and more installed) when
you click on the reg item to edit the values are highlighted in blue and the
cursor is placed two lines/carriage returns after the last entry on each
one. These are not real empty lines as they would appear as a blue bar in a
Multi-String typed reg value - so this is normal behavior. All the errors
you see when trying to remove the 2 "carriage returns" in both values are
completely normal and not a corruption in the registry.

So I think your problem lie elsewhere - so as I said step one don't use a
Beta installer and try the real package.
Ensure you have sufficient permissions to perform the install.
--
Mike Brannigan

 
Reply With Quote
 
memoconq
Guest
Posts: n/a

 
      06-03-2009
Yes, after I posted my question, I saw in anotyher post that says value
should end with double null characters.

When trying a solution, I created a key with a different name, and copied
the values to the same values in that key. When I clicked OK, it said the
value cannot include empty lines and it will clean the empty lines. Then I
looked at the values and there is one empty line et the end. So I thought the
other key is corrupted, but I was wrong.

I will unistall and reinstall with version 1 of the installer. I hope it
works.

"Mike Brannigan" wrote:

>
>
> "memoconq" <> wrote in message
> news:658E2058-43A6-40AD-8BB4-...
> > 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?

>
> Step one of any trouble shooting process would be to eliminate any none
> standard items.
> So the obvious question -- Do you get the same error when not using a BETA
> product to drive the installs? or have you not bothered with that yet?
> Also what do you mean by not being allowed an empty line at he end of the
> counter reg value?
> Looking at mine (which does have SQL Express 2008 and more installed) when
> you click on the reg item to edit the values are highlighted in blue and the
> cursor is placed two lines/carriage returns after the last entry on each
> one. These are not real empty lines as they would appear as a blue bar in a
> Multi-String typed reg value - so this is normal behavior. All the errors
> you see when trying to remove the 2 "carriage returns" in both values are
> completely normal and not a corruption in the registry.
>
> So I think your problem lie elsewhere - so as I said step one don't use a
> Beta installer and try the real package.
> Ensure you have sufficient permissions to perform the install.
> --
> Mike Brannigan
>

 
Reply With Quote
 
Junior Member
Join Date: Dec 2010
Posts: 5

 
      12-28-2010
Hi, guys. I got same problem with you. I bought my Dell inspiron last Christmas. It worked sharp at the first few months, but got slow after that. It took about 15 mins to start up. I can even walk away and brew my coffee during waiting! I even thought about reinstall my computer! My friend recommended the software tuneup360 and Norton systemwork. I tried both. Norton did look really powerful and could do lots of thing, but it was too difficult for me and too expensive, while Tuneup360 is my type. I just need to click one big “fix now” button and get my computer fixed. Now my computer takes only 30 sec to start up.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sudden vista login error - handle is invalid...??? glennnphp Windows Vista General Discussion 3 07-20-2008 02:45 AM
Error 6 handle invalid ronkleim Windows Vista General Discussion 0 07-03-2008 04:10 AM
Error 6 Handle invalid ronkleim Windows Vista General Discussion 0 07-03-2008 04:04 AM
error 6 Handle invalid ronkleim Windows Vista General Discussion 0 07-03-2008 03:38 AM
Invalid handle error in SDRegisterClient API Nagesh Windows Vista Drivers 3 06-15-2006 02:00 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59