Edit Registry through the CONSOLE
The thought of editing the registry from the console/command line seems to be a HECTIC , somewhat PAINFUL job, but its most useful when a minor change into the system's registry, done by you or someone else, like a newly installed software, etc, for which your Windows GUI fails to load, then you have no option left, but this. Its often used by System Administrators.
********************IMP********************
Note: it is always a good idea to backup your registry before making any changes to it.
It can be intimidating to a new user, and there is always the possibility of
changing or deleting a critical setting causing you to have to reinstall the whole operating system.
It's much better to be safe than sorry!
********************IMP********************
REGEDIT.EXE imports and exports registry files to and from the registry.
Its usage in the console:
REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
REGEDIT [/L:system] [/R:user] /D regpath2
/L:system Specifies the location of the SYSTEM.DAT file.
/R:user Specifies the location of the USER.DAT file.
filename1 Specifies the file(s) to import into the registry.
/C filename2 Specifies the file to create the registry from.
/E filename3 Specifies the file to export the registry to.
regpath1 Specifies the starting registry key to export from. (Defaults to exporting the entire registry.)
/D regpath2 Specifies the registry key to delete. [Win98/ME only]
/S UNDOCUMENTED [**USE WITH CAUTION**]: executes any REGEDIT command line operation quietly, without asking for confirmation. Available in most or all versions of Windows
Always remember to create a backup of your registry before installing any (unknown) software or changing anything that is related with the registry.
|