Het verouderde gedrag van SameSite voor cookies op deze sites terugzetten: registerwaarde LegacySameSiteCookieBehaviorEnabledForDomainList (Chrome)ComputerHKLM\Software\Policies\Google\Chrome

Beleids-ID
LegacySameSiteCookieBehaviorEnabledForDomainList
Bereik
Computerconfiguratie, Gebruikersconfiguratie
Ondersteund op
Microsoft Windows 7 of later
Bron
Google Chrome Policy Templates (versie 156.0.8078.80)
Categorie
Google › Google Chrome › Verwijderd beleid

Register

(lijstwaarden)

REG_SZComputerGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Het verouderde gedrag van SameSite voor cookies op deze sites terugzetten
Waardetype
REG_SZ
Voorvoegsel van waardenaam
-
Toepassen met .reg · CMD · PowerShell
ComputerInstelling voor de hele computer
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList]

; Voeg per lijstitem één waarde toe en verhoog het nummer
"1"="<waarde invoeren>"
"2"="<waarde invoeren>"
CMD
:: Voeg per lijstitem één waarde toe en verhoog het nummer

reg add "HKLM\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList" /v "1" /t REG_SZ /d "<waarde invoeren>" /f
reg add "HKLM\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList" /v "2" /t REG_SZ /d "<waarde invoeren>" /f
PowerShell
# Voeg per lijstitem één waarde toe en verhoog het nummer

New-Item -Path 'HKLM:\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList' -Name '1' -PropertyType String -Value '<waarde invoeren>' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList' -Name '2' -PropertyType String -Value '<waarde invoeren>' -Force | Out-Null
GebruikerInstelling per account
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList]

; Voeg per lijstitem één waarde toe en verhoog het nummer
"1"="<waarde invoeren>"
"2"="<waarde invoeren>"
CMD
:: Voeg per lijstitem één waarde toe en verhoog het nummer

reg add "HKCU\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList" /v "1" /t REG_SZ /d "<waarde invoeren>" /f
reg add "HKCU\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList" /v "2" /t REG_SZ /d "<waarde invoeren>" /f
PowerShell
# Voeg per lijstitem één waarde toe en verhoog het nummer

New-Item -Path 'HKCU:\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList' -Name '1' -PropertyType String -Value '<waarde invoeren>' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome\LegacySameSiteCookieBehaviorEnabledForDomainList' -Name '2' -PropertyType String -Value '<waarde invoeren>' -Force | Out-Null