Paramètre des téléchargements automatiques par défaut : valeur de Registre DefaultAutomaticDownloadsSetting (Chrome)OrdinateurHKLM\Software\Policies\Google\Chrome

ID de stratégie
DefaultAutomaticDownloadsSetting
Étendue
Configuration ordinateur, configuration utilisateur
Pris en charge sur
Microsoft Windows 7 ou version ultérieure
Source
Google Chrome Policy Templates (version 156.0.8078.80)
Catégorie
Google › Google Chrome › Paramètres du contenu

Registre

DefaultAutomaticDownloadsSetting

REG_DWORDOrdinateurUtilisateur
…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Clé actuelle
HKCU\Software\Policies\Google\Chrome
Valeur si activée
Dépend de la valeur de l'option
Élément
Paramètre des téléchargements automatiques par défaut
Options
EntréeValeur stockée
Autoriser les sites à télécharger automatiquement plusieurs fichiers1
N'autoriser aucun site à télécharger automatiquement plusieurs fichiers2
Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers3
Appliquer avec .reg · CMD · PowerShell
OrdinateurParamètre valable pour tout l’ordinateur
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

; Options (en utiliser une seule)
; Autoriser les sites à télécharger automatiquement plusieurs fichiers
"DefaultAutomaticDownloadsSetting"=dword:00000001
; N'autoriser aucun site à télécharger automatiquement plusieurs fichiers
"DefaultAutomaticDownloadsSetting"=dword:00000002
; Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers
"DefaultAutomaticDownloadsSetting"=dword:00000003
CMD
:: Options (en utiliser une seule)

:: Autoriser les sites à télécharger automatiquement plusieurs fichiers
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultAutomaticDownloadsSetting" /t REG_DWORD /d 1 /f
:: N'autoriser aucun site à télécharger automatiquement plusieurs fichiers
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultAutomaticDownloadsSetting" /t REG_DWORD /d 2 /f
:: Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers
reg add "HKLM\Software\Policies\Google\Chrome" /v "DefaultAutomaticDownloadsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null

# Options (en utiliser une seule)
# Autoriser les sites à télécharger automatiquement plusieurs fichiers
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultAutomaticDownloadsSetting' -PropertyType DWord -Value 1 -Force | Out-Null
# N'autoriser aucun site à télécharger automatiquement plusieurs fichiers
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultAutomaticDownloadsSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers
New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'DefaultAutomaticDownloadsSetting' -PropertyType DWord -Value 3 -Force | Out-Null
UtilisateurParamètre par compte
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

; Options (en utiliser une seule)
; Autoriser les sites à télécharger automatiquement plusieurs fichiers
"DefaultAutomaticDownloadsSetting"=dword:00000001
; N'autoriser aucun site à télécharger automatiquement plusieurs fichiers
"DefaultAutomaticDownloadsSetting"=dword:00000002
; Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers
"DefaultAutomaticDownloadsSetting"=dword:00000003
CMD
:: Options (en utiliser une seule)

:: Autoriser les sites à télécharger automatiquement plusieurs fichiers
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultAutomaticDownloadsSetting" /t REG_DWORD /d 1 /f
:: N'autoriser aucun site à télécharger automatiquement plusieurs fichiers
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultAutomaticDownloadsSetting" /t REG_DWORD /d 2 /f
:: Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers
reg add "HKCU\Software\Policies\Google\Chrome" /v "DefaultAutomaticDownloadsSetting" /t REG_DWORD /d 3 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null

# Options (en utiliser une seule)
# Autoriser les sites à télécharger automatiquement plusieurs fichiers
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultAutomaticDownloadsSetting' -PropertyType DWord -Value 1 -Force | Out-Null
# N'autoriser aucun site à télécharger automatiquement plusieurs fichiers
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultAutomaticDownloadsSetting' -PropertyType DWord -Value 2 -Force | Out-Null
# Demander l'autorisation chaque fois qu'un site veut télécharger automatiquement plusieurs fichiers
New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'DefaultAutomaticDownloadsSetting' -PropertyType DWord -Value 3 -Force | Out-Null