Windows Vista Forums

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


    memoconq Guest

    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?

      My System SpecsSystem Spec

  2. #2


    Mike Brannigan Guest

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



    "memoconq" <memoconq@xxxxxx> wrote in message
    news:658E2058-43A6-40AD-8BB4-6390CEAAB0D6@xxxxxx

    > 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


      My System SpecsSystem Spec

  3. #3



    Newbie
    Join Date : Jun 2009
    Posts : 1
    Vista Ultimate 32bit
    Local Time: 02:28 AM


     

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

    Mike,

    I'm having the same problem with the perflib\009 key. I installed SQL 2008 Ent on Vista Ultimate 32 bit. The errors are exactly the same. All RTM software; no betas here.


    K2

      My System SpecsSystem Spec

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot edit corrupted registry value: The handle is invalid. memoconq Vista General 0 02 Jun 2009
Error 6 Handle invalid ronkleim Network & Sharing 25 20 Jul 2008
sudden vista login error - handle is invalid...??? glennnphp Vista General 1 19 Jul 2008
Error 6 handle invalid ronkleim Vista General 0 02 Jul 2008
error 6 Handle invalid ronkleim Vista General 0 02 Jul 2008