It is possible using native windows application called reg.exe
via 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
Erasing
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
Use the regedit.exe
– ramaral
Do you say via a certain programming language or directly via the operating system? P.S.: I didn’t understand your edition: what do you mean by "windows registry environment variables"?
– Luiz Vieira
Via the command line would be ideal, as it is easier to save the command and repeat if necessary, because the tests are repetitive. Actually the issue was confused, I was researching in English read as enviroment and I thought I had written nonsense, but it was right even before the edition.
– Gabriel Gartz