Training
Module
Learn coding practices to help prevent the occurrence of NullReferenceException.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
By Mark Russinovich
Published: July 4, 2016
Download RegDelNull (511 KB)
This command-line utility searches for and allows you to delete Registry keys that contain embedded-null characters and that are otherwise undeleteable using standard Registry-editing tools. Note: deleting Registry keys may cause the applications they are associated with to fail.
Usage: regdelnull <path> [-s]
Parameter | Description |
---|---|
-s | Recurse into subkeys. |
Here's an example of RegDelNull when used on a system on which the RegHide sample program has created a null-embedded key:
C:\>regdelnull hklm -sRegDelNull v1.10 - Delete Registry keys with embedded Nulls
Copyright (C) 2005-2006 Mark Russinovich
Sysinternals - www.sysinternals.com
Null-embedded key (Nulls are replaced by '*'):
HKLM\SOFTWARE\Systems Internals\Can't touch me!*
Delete (y/n) y
Scan complete.
Download RegDelNull (511 KB)
Runs on:
Training
Module
Learn coding practices to help prevent the occurrence of NullReferenceException.