The Registry can be edited directly by the Registry Editor. This program is a very powerful but extremely dangerous tool for modifying the Registry. Editing the Registry should be done only by experienced users and with extreme care and the Registry should always be exported or backed up before any changes are made.
For more information see:
Editing the Registry Interactively
Editing the Registry with REG files
Editing the Registry with INF files