2018-01-25 10:22:28 +00:00
|
|
|
# reg flags
|
|
|
|
|
|
|
|
> Display or set flags on registry keys.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.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`
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
- Set one or more flags, and unset unmentioned flags, for a specific key:
|
2018-01-25 10:22:28 +00:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`reg flags {{key_name}} set {{flag_name1 flag_name2 ...}}`
|
2018-01-25 10:22:28 +00:00
|
|
|
|
2024-03-07 04:45:02 +00:00
|
|
|
- Set one or more flags for a specific key and its [s]ubkeys:
|
2018-01-25 10:22:28 +00:00
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`reg flags {{key_name}} set {{flag_name1 flag_name2 ...}} /s`
|