How to open Google Chrome command-line flags without UAC

If you want to open Google Chrome command-line flags without the User Account Control popup, you can follow this guide. It is possible to disable UAC or security warning for command-line flags in Google Chrome using Local Group Policy Editor and Registry Editor. This article explains both methods, and you can follow any of them as per your requirements.

What are Google Chrome command-line flags?

Let’s assume you want to enable the System print dialog for the Google Chrome browser – or you want to enable or disable Reader mode in Chrome. In such situations, you need to open the Properties of Google Chrome, find the Target box, and enter an additional command. This command is also known as the command-line flag.

When you add the command-line flag, you must click the Yes button on the UAC prompt. However, if you do not want to do that, you can follow these guides to disable it.

How to open Google Chrome Command-line flags without UAC

To open Google Chrome Command-line flags without UAC, follow these steps:

  1. Press Win+R to open the Run prompt.
  2. Type gpedit.msc and hit the Enter button.
  3. Go to Google Chrome in User Configuration.
  4. Double-click on the Enable security warnings for command-line flags setting.
  5. Choose the Disabled option.
  6. Click the OK button.

To learn more about these steps, continue reading.

First, you need to open the Local Group Policy Editor. For that, press Win+R to open the Run prompt, type gpedit.msc, and hit the Enter button.

Once it is opened, navigate to this path:

User Configuration > Administrative Templates > Google Chrome

Here you can find a setting called Enable security warnings for command-line flags. You need to double-click on this setting and choose the Disabled option.

Finally, click the OK button to save the change.

To enable the security warning, you need to open the same setting and choose the Enabled or Not Configured option.

How to disable UAC for Google Chrome Command-line flags

To disable UAC for Google Chrome Command-line flags, follow these steps:

  1. Search for regedit and click the search result.
  2. Click the Yes button.
  3. Go to PoliciesGoogle in HKCU.
  4. Right-click on Google > New > Key and name it Chrome.
  5. Right-click on Chrome > New > DWORD (32-bit) Value.
  6. Set the name as CommandLineFlagSecurityWarningsEnabled.
  7. Keep the Value data as 0.
  8. Restart your computer.

Let’s check out these steps in detail.

To get started, you need to open the Registry Editor. For that, search for regedit, click on the search result and click the Yes button in the UAC prompt.

Then, navigate to this path:

HKEY_CURRENT_USERSoftwarePoliciesGoogle

If you cannot find the Google key, right-click on Policies > New > Key and set the name as Google.

Then, right-click on Google > New > Key and name it Chrome.

Right-click on Chrome > New >DWORD (32-bit) Value and set the name as CommandLineFlagSecurityWarningsEnabled.

By default, it comes with a Value data of 0, and you need to keep that.

Lastly, close all windows and restart your computer.

If you want to return to the original setting, you need to set the Value data as 1. Alternatively, you can also delete the REG_DWORD value.

Read: How to enable or disable Network Prediction in Google Chrome

How do I open Chrome command line flags?

To use and open Chrome command-line flags in Windows, you must open the Properties first. Then, you can switch to the Shortcut tab and find the Target box. Then, enter the command at the end of the existing target path. Finally, click the OK button to save the change. Then, you can open the Google Chrome command-line flag by clicking twice on the icon.

How do I open Chrome in safe mode with a command prompt?

In Google Chrome, Safe Mode and Incognito Mode are the same. That said, if you know how to open an Incognito window of Google Chrome, you know how to open Google Chrome in Safe Mode. However, if you do not know the process, you can press Ctrl+Shift+N. Alternatively, you can click on the three-dotted icon and select the New Incognito window option.

Original Article