It is possible to use the native application for windows called reg.exe
via the command line. Reg.exe official documentation .
Examples of use:
Consulting:
REG QUERY HKLM\Software\Microsoft\ResKit /v Version
// Mostra o valor do registro Version
REG QUERY HKLM\Software\Microsoft\ResKit\Nt\Setup /s
// Mostra todas sub-chaves do valor abaixo do registro Setup
Adding
REG ADD \ABC\HKLM\Software\MyCo
// Adiciona uma chave HKLM\Software\MyCo na máquina remota ABC
Deleting
REG DELETE HKLM\Software\MyCo\MyApp\Timeout
// Apaga o registro Timeout e todas suas sub-chaves e valores
REG DELETE \ZODIAC\HKLM\Software\MyCo /v MTU
// Apaga o valor de registro do MTU em MyCo na máquina ZODIAC