Example 5: Clearing a Flag
The following command clears the system-wide Enable page heap flag set in the registry. The command uses the /r parameter to indicate the system-wide registry mode and hpa, the abbreviation for the Enable page heap flag. The minus sign (-) indicates that the flag is to be cleared.
gflags /r -hpa
In response, GFlags displays the current value of the system-wide registry entry. The display indicates that the command is successful and that there are no longer any flags set.
Current Boot Registry Settings are: 00000000
Note that the following command, which uses the hexadecimal value of the Enable Page Heap flag, has the same effect as the command used in this example. These commands can be used interchangeably:
gflags /r -02000000