Chrome: Difference between revisions

From SWKLS WIKI
Jump to navigation Jump to search
mNo edit summary
 
Line 43: Line 43:


==Reading Whitelist Entries==
==Reading Whitelist Entries==
<syntaxhighlight lang="powershell" line start="1">
 
===PowerShell===
<syntaxhighlight lang="powershell">
Get-ItemProperty -Path HKLM:\Software\Policies\Google\Chrome\ExtensionInstallWhitelist
Get-ItemProperty -Path HKLM:\Software\Policies\Google\Chrome\ExtensionInstallWhitelist
</syntaxhighlight>
===CLI===
<syntaxhighlight lang="powershell">
reg query HKLM\Software\Policies\Google\Chrome\ExtensionInstallWhitelist
</syntaxhighlight>
</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