Delete registry entries from the commandline


Need a commandline utility to delete registry entries?


  • RegDel: sorry, regdel freeware utility site seems to
    be defunct. this leaves only Microsoft’s utilities. If you have used another
    utility for this purpose, let me know. Wayne

  • Resource Kit utility reg

    Available starting with Supplement 2, the syntax to delete a registry value:

    reg delete HKLM\Software\Somevalue

    reg can operate on remote PCs if you have access
    authority using syntax

    reg delete HKLM\Software\Somevalue \\waynespc

    Download the updated version of this utility from Microsoft

    Always check Microsoft for update resource kit executables. This is not an
    alternative to owning the actual resource kit, but a method of keeping the
    executables uptodate.


  • Create a .reg file using the (minus)- syntax of regedit:
    REGEDIT4
    BLANK LINE GOES
    HERE

    [-HKEY_CURRENT_USER\Software\Microsoft\Windows
    NT\CurrentVersion\somekey]

    BLANK
    LINE GOES HERE

    See .REG files for background information on
    .REG files.

About The Author

Leave a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Scroll to Top