Stop Chrome Flags Reverting After Reboot
In this article
Yes—you can stop Chrome flags from reverting after a reboot by locking them with Chrome’s enterprise policies or by launching Chrome with explicit command‑line feature flags.
What You’ll Need
- Administrator or root access on the computer.
- Google Chrome installed (any recent version).
- Access to the system’s policy editor (Windows Registry, macOS plist, or Linux JSON file).
- Basic knowledge of editing text files and, on Windows, using
regedit. - The exact flag identifiers you want to keep (e.g.,
enable-quic,experimental-web-platform-features).
Step‑By‑Step
- Open Chrome and navigate to
chrome://flags. Locate the flag you wish to keep and note its internal name. Hover over the flag’s description; the internal name appears in the URL fragment after#(e.g.,#enable-quic). - Decide which method you prefer:
- Enterprise policy (persistent across all restarts and user profiles).
- Command‑line launch (useful for a single user or testing).
- Using Enterprise Policy (Windows)
- Press Win+R, type
regeditand press Enter. - Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome. If theChromekey does not exist, create it (right‑click → New → Key). - Inside the
Chromekey, create a new Multi‑String Value namedEnabledLabsExperiments. - Double‑click the new value and enter each flag identifier on a separate line, exactly as shown on the
chrome://flagspage (omit the leading#). - Close the Registry Editor and restart Chrome. The flags will now be forced on and will survive reboots.
- Press Win+R, type
- Using Enterprise Policy (macOS)
- Open
Terminaland runsudo defaults write /Library/Preferences/com.google.Chrome EnabledLabsExperiments -array "flag1" "flag2", replacingflag1etc. with your flag identifiers. - Enter your admin password when prompted.
- Quit and relaunch Chrome. The policies are read at launch, so the flags stay enabled.
- Open
- Using Enterprise Policy (Linux)
- Create or edit the JSON policy file at
/etc/opt/chrome/policies/managed/flags.json(you may needsudo). - Insert the following structure:
{ "EnabledLabsExperiments": ["flag1", "flag2"] }Replaceflag1with the actual flag names. - Save the file and ensure it is owned by
rootand readable by all users. - Restart Chrome. The flags are now locked by policy.
- Create or edit the JSON policy file at
- Using Command‑Line Flags (All Platforms)
- Create a shortcut (Windows) or edit the application launcher (macOS/Linux).
- Append the
--enable-features=Flag1,Flag2switch to the Chrome executable path. Example for Windows:"C:\Program Files\Google\Chrome\Application\chrome.exe" --enable-features=ExperimentalWebPlatformFeatures,Quic
- Save the shortcut and launch Chrome via that shortcut. The features will be enabled each time, regardless of the UI flag state.
- If you prefer to keep the UI toggle but stop automatic resets, open
chrome://flags, enable the flag, click the “Relaunch” button, then immediately close Chrome. The flag state is now written to the user profile and will persist. - Verify persistence: shut down the computer, power it back on, and open Chrome. Return to
chrome://flagsand confirm the flag remains set to “Enabled”.
Common Mistakes
- Editing the wrong registry hive (e.g., using
HKEY_CURRENT_USERinstead ofHKEY_LOCAL_MACHINE) – the policy may apply only to the current user and can be overridden by other settings. - Including the leading “#” in the flag name when writing the policy – Chrome expects the raw identifier without the hash.
- Forgetting to add the
--enable-featuresswitch to the correct shortcut – launching Chrome from the start menu bypasses the custom shortcut. - Using an outdated Chrome version that does not support the
EnabledLabsExperimentspolicy – check the official policy list for your version. - Leaving the policy file with incorrect JSON syntax (missing commas or brackets) – Chrome silently ignores malformed policy files.
Tips
- Group multiple flags in a single policy entry; Chrome reads the entire list at startup.
- When testing on a single machine, the command‑line method is fastest because it does not require admin rights.
- Document the flags you lock in a simple text file; future updates to Chrome may deprecate a flag, causing the policy to be ignored.
- Combine the policy with the
ChromeCleanupEnabledpolicy to prevent Chrome from automatically resetting experimental features after a crash. - On Windows, you can deploy the registry change via Group Policy Preferences for multiple computers in a domain.
Troubleshooting
If the flag still reverts after a reboot, follow these checks in order:
- Confirm the policy is being read. Open
chrome://policy. TheEnabledLabsExperimentsentry should appear with the list you entered. If it is missing, the policy file or registry key is not in the correct location. - Check Chrome version compatibility. Some flags are removed in newer releases. Verify the flag still exists by searching
chrome://flags. - Validate JSON or registry syntax. On Linux, run
jsonlinton the policy file. On Windows, export theEnabledLabsExperimentsvalue and ensure each line is a separate string. - Restart Chrome, not just the computer. Policies are loaded when the browser starts; a lingering Chrome process can keep old settings.
- Clear conflicting user‑profile data. In rare cases, a corrupted
Preferencesfile in the user data directory can overwrite policies. Rename theDefaultfolder (e.g., toDefault_backup) and let Chrome create a fresh profile. - Re‑apply the flag manually. Open
chrome://flags, enable the flag, click “Relaunch”, then immediately close Chrome. This forces Chrome to write the flag state to the profile before any policy check. - Reinstall Chrome as a last resort. Uninstall, delete the remaining user‑data folder (usually
%LOCALAPPDATA%\Google\Chromeon Windows), and reinstall. Re‑apply the policy afterward.
Frequently Asked Questions
Do Chrome flags normally reset after a restart?
Most flags persist, but some are marked “temporarily enabled” and revert unless they are forced by a policy or command‑line switch.
Can I lock flags without using admin rights?
Yes—using the --enable-features command‑line switch on a personal shortcut does not require elevated privileges.
Will setting a policy affect other users on the same machine?
Policies written under HKEY_LOCAL_MACHINE (Windows) or the system‑wide JSON file (Linux/macOS) apply to all users. Using HKEY_CURRENT_USER limits the effect to the current account.
What if a flag I need is removed in a newer Chrome version?
The flag will no longer appear in chrome://flags and the policy entry will be ignored. You’ll need to find the replacement flag or adjust your workflow.
Is there a way to see which flags are currently enforced by policy?
Open chrome://policy. Any enforced flags will be listed under the EnabledLabsExperiments policy.
Will these changes impact Chrome’s security or stability?
Enabling experimental flags can introduce instability. Use policies only for flags you have tested and understand, and keep Chrome updated to receive bug fixes.