Mode d'impression d'images de fond par défaut : valeur de Registre PrintingBackgroundGraphicsDefaultOrdinateurHKLM\Software\Policies\Google\Chrome
- ID de stratégie
- PrintingBackgroundGraphicsDefault
- É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 › Impression
Registre
PrintingBackgroundGraphicsDefault
REG_SZOrdinateurUtilisateur…\Software\Policies\Google\ChromeHKLM\Software\Policies\Google\Chrome Clé actuelle
HKCU\Software\Policies\Google\Chrome
HKCU\Software\Policies\Google\Chrome
- Valeur si activée
- Dépend de la valeur de l'option
- Élément
- Mode d'impression d'images de fond par défaut
| Entrée | Valeur stockée |
|---|---|
| Activer le mode d'impression d'images de fond par défaut | enabled |
| Désactiver le mode d'impression d'images de fond par défaut | disabled |
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) ; Activer le mode d'impression d'images de fond par défaut "PrintingBackgroundGraphicsDefault"="enabled" ; Désactiver le mode d'impression d'images de fond par défaut "PrintingBackgroundGraphicsDefault"="disabled"
CMD
:: Options (en utiliser une seule) :: Activer le mode d'impression d'images de fond par défaut reg add "HKLM\Software\Policies\Google\Chrome" /v "PrintingBackgroundGraphicsDefault" /t REG_SZ /d "enabled" /f :: Désactiver le mode d'impression d'images de fond par défaut reg add "HKLM\Software\Policies\Google\Chrome" /v "PrintingBackgroundGraphicsDefault" /t REG_SZ /d "disabled" /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKLM:\Software\Policies\Google\Chrome' -Force | Out-Null # Options (en utiliser une seule) # Activer le mode d'impression d'images de fond par défaut New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'PrintingBackgroundGraphicsDefault' -PropertyType String -Value 'enabled' -Force | Out-Null # Désactiver le mode d'impression d'images de fond par défaut New-ItemProperty -Path 'HKLM:\Software\Policies\Google\Chrome' -Name 'PrintingBackgroundGraphicsDefault' -PropertyType String -Value 'disabled' -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) ; Activer le mode d'impression d'images de fond par défaut "PrintingBackgroundGraphicsDefault"="enabled" ; Désactiver le mode d'impression d'images de fond par défaut "PrintingBackgroundGraphicsDefault"="disabled"
CMD
:: Options (en utiliser une seule) :: Activer le mode d'impression d'images de fond par défaut reg add "HKCU\Software\Policies\Google\Chrome" /v "PrintingBackgroundGraphicsDefault" /t REG_SZ /d "enabled" /f :: Désactiver le mode d'impression d'images de fond par défaut reg add "HKCU\Software\Policies\Google\Chrome" /v "PrintingBackgroundGraphicsDefault" /t REG_SZ /d "disabled" /f
PowerShell
# Commun : créer la clé New-Item -Path 'HKCU:\Software\Policies\Google\Chrome' -Force | Out-Null # Options (en utiliser une seule) # Activer le mode d'impression d'images de fond par défaut New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'PrintingBackgroundGraphicsDefault' -PropertyType String -Value 'enabled' -Force | Out-Null # Désactiver le mode d'impression d'images de fond par défaut New-ItemProperty -Path 'HKCU:\Software\Policies\Google\Chrome' -Name 'PrintingBackgroundGraphicsDefault' -PropertyType String -Value 'disabled' -Force | Out-Null