Edit Registry via Command Line in Windows 7. You know guys that there are several scenario of which Windows user has to use command line to access registry, not use registry editor facility as usual. Several of its scenarios like as being attacked by virus so that access to registry editor is blocked by virus.
“If there is a will there is a way’. If registry can be accessed via Windows so here is the way to access registry via command line :
- Open command line from Run box by writing command of cmd.
- Write the command of reg /?, to display all available options.
- Now, we will try to delete a key registry. The basic command is reg delete keyname valuename parameters. Example, we will delete a key in HKEY_LOCAL_MACHINE > SOFTWARE > acer so its command line is reg delete HKLM > Software > Acer. On question appears, type Yes.
- We will try to add key registry. The basic command is reg add keyname valuename parameters. Example, we will a key at HKEY_LOCAL_MACHINE > SOFTWARE > test so the command in its command line is reg add HKLM > Software > test