Chrome: Difference between revisions

From SWKLS WIKI
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Registry Settings==
==Registry Settings==
<blockquote style="color:#428bca;background:#ebf3f9;border-left:5px solid #428bca;padding:20px;margin:0px;>To control various aspects of the Chrome browser behavior.</blockquote>
<blockquote class="inform">To control various aspects of the Chrome browser behavior.</blockquote>




<blockquote style="background:#f2f2f2;border-left:5px solid #428bca;padding:20px;margin:0px;>Reference: https://www.chromium.org/administrators/policy-list-3</blockquote>
<blockquote class="regular">Reference: https://www.chromium.org/administrators/policy-list-3</blockquote>
<syntaxhighlight lang="powershell" line start="1">
<syntaxhighlight lang="powershell" line start="1">
reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallBlacklist /v 1 /t REG_SZ /d "*" /f
reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallBlacklist /v 1 /t REG_SZ /d "*" /f
Line 23: Line 23:
reg add HKLM\Software\Policies\Google\Chrome /v ForceEphemeralProfiles /t REG_DWORD /d "1" /f
reg add HKLM\Software\Policies\Google\Chrome /v ForceEphemeralProfiles /t REG_DWORD /d "1" /f
</syntaxhighlight>
</syntaxhighlight>
<blockquote style="color:#428bca;background:#ebf3f9;border-left:5px solid #428bca;padding:20px;margin:0px;>'''NOTE: ForceEphemeralProfiles also removes Homepage / Startpage if previously set through MasterPreferences file.'''</blockquote>
<blockquote class="inform">'''NOTE: ForceEphemeralProfiles also removes Homepage / Startpage if previously set through MasterPreferences file.'''</blockquote>
<syntaxhighlight lang="powershell" line start="1">
<syntaxhighlight lang="powershell" line start="1">
reg add HKLM\Software\Policies\Google\Chrome /v ForceGoogleSafeSearch /t REG_DWORD /d "1" /f
reg add HKLM\Software\Policies\Google\Chrome /v ForceGoogleSafeSearch /t REG_DWORD /d "1" /f
Line 41: Line 41:
reg add HKLM\Software\Policies\Google\Chrome /v AutofillCreditCardEnabled /t REG_DWORD /d "0" /f
reg add HKLM\Software\Policies\Google\Chrome /v AutofillCreditCardEnabled /t REG_DWORD /d "0" /f
</syntaxhighlight>
</syntaxhighlight>
==Reading Whitelist Entries==
===PowerShell===
<syntaxhighlight lang="powershell">
Get-ItemProperty -Path HKLM:\Software\Policies\Google\Chrome\ExtensionInstallWhitelist
</syntaxhighlight>
===CLI===
<syntaxhighlight lang="powershell">
reg query HKLM\Software\Policies\Google\Chrome\ExtensionInstallWhitelist
</syntaxhighlight>
[[Category:Windows]]
[[Category:Windows]]

Latest revision as of 15:32, 18 November 2020

Registry Settings

To control various aspects of the Chrome browser behavior.


Reference: https://www.chromium.org/administrators/policy-list-3

reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallBlacklist /v 1 /t REG_SZ /d "*" /f

reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallWhitelist /v 1 /t REG_SZ /d "extension_id1" /f
reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallWhitelist /v 2 /t REG_SZ /d "extension_id2" /f


reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallForcelist /v 1 /t REG_SZ /d "extension_id1" /f
reg add HKLM\Software\Policies\Google\Chrome\ExtensionInstallForcelist /v 2 /t REG_SZ /d "extension_id2" /f


reg add HKLM\Software\Policies\Google\Chrome /v SavingBrowserHistoryDisabled /t REG_DWORD /d "1" /f

reg add HKLM\Software\Policies\Google\Chrome /v DeviceAuthDataCacheLifetime /t REG_DWORD /d "1" /f

reg add HKLM\Software\Policies\Google\Chrome /v DefaultCookiesSetting /t REG_DWORD /d "4" /f

reg add HKLM\Software\Policies\Google\Chrome /v ForceEphemeralProfiles /t REG_DWORD /d "1" /f

NOTE: ForceEphemeralProfiles also removes Homepage / Startpage if previously set through MasterPreferences file.

reg add HKLM\Software\Policies\Google\Chrome /v ForceGoogleSafeSearch /t REG_DWORD /d "1" /f

reg add HKLM\Software\Policies\Google\Chrome /v SafeSitesFilterBehavior /t REG_DWORD /d "1" /f

reg add HKLM\Software\Policies\Google\Chrome /v ForceYouTubeRestrict /t REG_DWORD /d "2" /f

reg add HKLM\Software\Policies\Google\Chrome /v AlwaysOpenPdfExternally /t REG_DWORD /d "1" /f

reg add HKLM\Software\Policies\Google\Chrome /v DefaultNotificationsSetting /t REG_DWORD /d "2" /f

reg add HKLM\Software\Policies\Google\Chrome\PopupsAllowedForUrls /v 1 /t REG_SZ /d "[*.]auto-graphics.com" /f

reg add HKLM\Software\Policies\Google\Chrome /v AutofillAddressEnabled /t REG_DWORD /d "0" /f

reg add HKLM\Software\Policies\Google\Chrome /v AutofillCreditCardEnabled /t REG_DWORD /d "0" /f

Reading Whitelist Entries

PowerShell

Get-ItemProperty -Path HKLM:\Software\Policies\Google\Chrome\ExtensionInstallWhitelist

CLI

reg query HKLM\Software\Policies\Google\Chrome\ExtensionInstallWhitelist