REG CMD (Registry)
Read and modify the Windows registry from the command line. Syntax: reg query [key] | reg add [key] /v [name] /t [type] /d [data]
Step-by-step
- Open Command Prompt (press Win+R, type cmd, and press Enter)
- Syntax: reg query [key] | reg add [key] /v [name] /t [type] /d [data]
- Brief: Read and modify the Windows registry from the command line.
- Example: reg add HKCU\Software\NanoTech /v Enabled /t REG_DWORD /d 1 /f
- Tip: Export before editing: reg export HKCU\Software\NanoTech backup.reg /y.
Reference: learn.microsoft.com