2018-01-25 10:22:28 +00:00
|
|
|
# reg flags
|
|
|
|
|
|
|
|
> Display or set flags on registry keys.
|
2020-09-16 13:19:57 +01:00
|
|
|
> More information: <https://docs.microsoft.com/windows-server/administration/windows-commands/reg-flags>.
|
2018-01-25 10:22:28 +00:00
|
|
|
|
|
|
|
- Display current flags for a specific key:
|
|
|
|
|
|
|
|
`reg flags {{key_name}} query`
|
|
|
|
|
|
|
|
- Display help and available flag types:
|
|
|
|
|
|
|
|
`reg flags /?`
|
|
|
|
|
|
|
|
- Set specified space-separated flags, and unset unmentioned flags, for a specific key:
|
|
|
|
|
|
|
|
`reg flags {{key_name}} set {{flag_names}}`
|
|
|
|
|
|
|
|
- Set specified flags for a specific key and its sub keys:
|
|
|
|
|
|
|
|
`reg flags {{key_name}} set {{flag_names}} /s`
|