Saturday, July 28, 2012

Deleting Registry Keys from the Command Line



There are two ways to delete a key from the Registry from the Command line. At the Windows Command line:
RegEdit /l location of System.dat /R location of User.dat /D Registry key to delete
You cannot be in Windows at the time you use this switch.
Or you can create a reg file as such:
REGEDIT4
[-HKEY_LOCAL_MACHINE\the key you want to delete]
Note the negative sign just behind the[
Then at the Command line type:
1. RegEdit C:\Windows\(name of the regfile).

1 comment:

  1. I simply want to tell you that I am just very new to blogging and site-building and certainly savored your blog site. Almost certainly I’m planning to bookmark your blog . You definitely come with tremendous posts. Thanks a bunch for revealing your web-site.

    popular apps

    ReplyDelete