reg.py Verified for current stable LTS

Reg.py Command: Add Registry Key Value

Use for add registry key value with Reg.py. Exact CLI syntax to add registry key value using Reg.py.

When to use this: Use for add registry key value with Reg.py.

Command Syntax

reg.py <domain>/<username>:<password>@<target> add -keyName '<HKLM\SOFTWARE\Microsoft\Windows>' -v <value_name> -vt <REG_SZ|REG_NONE|REG_EXPAND_SZ|REG_BINARY|REG_DWORD|REG_DWORD_BIG_ENDIAN|REG_LINK|REG_MULTI_SZ|REG_QWORD> -vd <value_data>

Live Command Builder

Final Command

reg.py <domain>/<username>:<password>@<target> add -keyName '<HKLM\SOFTWARE\Microsoft\Windows>' -v <value_name> -vt <REG_SZ|REG_NONE|REG_EXPAND_SZ|REG_BINARY|REG_DWORD|REG_DWORD_BIG_ENDIAN|REG_LINK|REG_MULTI_SZ|REG_QWORD> -vd <value_data>

Command Breakdown

-keyName
Command Option
Tool-specific option used by this command invocation.
-v
Command Option
Tool-specific option used by this command invocation.
-vt
Command Option
Tool-specific option used by this command invocation.
-vd
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to add registry key value using Reg.py.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Reg.py directory