NanoTech-kw · Tech Guide Library

REG CMD (Registry)

Windows · CMD

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

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: reg query [key] | reg add [key] /v [name] /t [type] /d [data]
  3. Brief: Read and modify the Windows registry from the command line.
  4. Example: reg add HKCU\Software\NanoTech /v Enabled /t REG_DWORD /d 1 /f
  5. Tip: Export before editing: reg export HKCU\Software\NanoTech backup.reg /y.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →