RegDelNull

John Ivey 0 Reputation points
2024-10-10T17:24:36.4866667+00:00

Hello,

I have a COMPONENTS hive that has a key including null characters. I have tried using the RegDelNull tool to delete this key, and it does find the problem, but fails to repair. Is this caused by the fact that the COMPONENTS hive is separate? I have tried everything I can find and I'm unable to delete this key. Is there a special syntax or switch to use to get past this? Note the snapshot below:

User's image

Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-14T08:58:12.4366667+00:00

    Hello John Ivey,

    Thank you for posting in Q&A forum.

    The -s option in RegDelNull is used to recurse into subkeys. Here's a sample command that demonstrates how to use it:

    regdelnull HKEY_LOCAL_MACHINE\SOFTWARE\ExampleKey -s

    Reference:

    RegDelNull - Sysinternals | Microsoft Learn

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. John Ivey 0 Reputation points
    2024-10-15T18:57:46.67+00:00

    Hello Daisy,

    I used that parameter in the screenshot I posted, but it makes no difference. I believe this is an issue with the way RegDelNull handles registry hives, and it needs to be updated to correct this error.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.