How To Delete And Add Registry Keys From The Command Line

Status
Not open for further replies.

Osiris

Golden Master
Messages
36,817
Location
Kentucky
How To Delete And Add Registry Keys From The Command Line

There are a few possible scenarios where a Windows user might have to or want to use the command line instead of the regedit tool to delete and add keys in the Windows Registry. It can be that a virus or other malicious software has limited access to the Registry so that regedit cannot be used. Another possible reason is script or batch usage to perform operations like adding or deleting keys regularly by simply executing a batch file on the computer system.
The command line tool reg.exe can be used to manage the Registry from the command line. It not only provides access to delete or add but also other options like exporting or importing keys.
 
Status
Not open for further replies.
Back
Top Bottom