reg flags
Display or set flags on registry keys. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/reg-flags.
-
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
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.