reg*: improve pages (#12301)

* reg*: improve pages

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
This commit is contained in:
Vitor Henrique
2024-03-07 01:45:02 -03:00
committed by GitHub
parent b136d23b2e
commit 3e43dd97e2
12 changed files with 78 additions and 42 deletions

View File

@@ -1,24 +1,36 @@
# reg query
> Display the values of keys and sub keys in the registry.
> Display the values of keys and subkeys in the registry.
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/reg-query>.
- Display all values of a key:
`reg query {{key_name}}`
- Display a specific value of a key:
- Display a specific [v]alue of a key:
`reg query {{key_name}} /v {{value}}`
- Display all values of a key and its sub keys:
- Display all values of a key and its [s]ubkeys:
`reg query {{key_name}} /s`
- Search for keys and values matching a specific pattern:
- Search [f]or keys and values matching a specific pattern:
`reg query {{key_name}} /f "{{query_pattern}}"`
- Display a value of a key matching a specified data type:
- Display a value of a key matching a specified data [t]ype:
`reg query {{key_name}} /t {{type}}`
`reg query {{key_name}} /t REG_{{SZ|MULTI_SZ|EXPAND_SZ|DWORD|BINARY|NONE}}`
- Only search in [d]ata:
`reg query {{key_name}} /d`
- Only search in [k]ey names:
`reg query {{key_name}} /f /k`
- [c]ase-sensitively search for an [e]xact match:
`reg query {{key_name}} /c /e`