Restrict background graphics printing mode: registry value PrintingAllowedBackgroundGraphicsModes (Edge)UserHKCU\Software\Policies\Microsoft\Edge
- Policy ID
- PrintingAllowedBackgroundGraphicsModes
- Scope
- Computer Configuration, User Configuration
- Supported on
- Microsoft Edge version 89, Windows 7 or later
- Source
- Microsoft Edge Policy Templates (version 155.0.4283.45)
- Category
- Microsoft Edge › Printing
Registry
PrintingAllowedBackgroundGraphicsModes
REG_SZUserComputer…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge Current key
HKLM\Software\Policies\Microsoft\Edge
HKLM\Software\Policies\Microsoft\Edge
- Enabled value
- Depends on the option value
- Element
- Restrict background graphics printing mode
| Item | Stored value |
|---|---|
| Allow printing with and without background graphics | any |
| Allow printing only with background graphics | enabled |
| Allow printing only without background graphics | disabled |
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; Options (use only one) ; Allow printing with and without background graphics "PrintingAllowedBackgroundGraphicsModes"="any" ; Allow printing only with background graphics "PrintingAllowedBackgroundGraphicsModes"="enabled" ; Allow printing only without background graphics "PrintingAllowedBackgroundGraphicsModes"="disabled"
CMD
:: Options (use only one) :: Allow printing with and without background graphics reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintingAllowedBackgroundGraphicsModes" /t REG_SZ /d "any" /f :: Allow printing only with background graphics reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintingAllowedBackgroundGraphicsModes" /t REG_SZ /d "enabled" /f :: Allow printing only without background graphics reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintingAllowedBackgroundGraphicsModes" /t REG_SZ /d "disabled" /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Options (use only one) # Allow printing with and without background graphics New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintingAllowedBackgroundGraphicsModes' -PropertyType String -Value 'any' -Force | Out-Null # Allow printing only with background graphics New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintingAllowedBackgroundGraphicsModes' -PropertyType String -Value 'enabled' -Force | Out-Null # Allow printing only without background graphics New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintingAllowedBackgroundGraphicsModes' -PropertyType String -Value 'disabled' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; Options (use only one) ; Allow printing with and without background graphics "PrintingAllowedBackgroundGraphicsModes"="any" ; Allow printing only with background graphics "PrintingAllowedBackgroundGraphicsModes"="enabled" ; Allow printing only without background graphics "PrintingAllowedBackgroundGraphicsModes"="disabled"
CMD
:: Options (use only one) :: Allow printing with and without background graphics reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintingAllowedBackgroundGraphicsModes" /t REG_SZ /d "any" /f :: Allow printing only with background graphics reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintingAllowedBackgroundGraphicsModes" /t REG_SZ /d "enabled" /f :: Allow printing only without background graphics reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintingAllowedBackgroundGraphicsModes" /t REG_SZ /d "disabled" /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # Options (use only one) # Allow printing with and without background graphics New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintingAllowedBackgroundGraphicsModes' -PropertyType String -Value 'any' -Force | Out-Null # Allow printing only with background graphics New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintingAllowedBackgroundGraphicsModes' -PropertyType String -Value 'enabled' -Force | Out-Null # Allow printing only without background graphics New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintingAllowedBackgroundGraphicsModes' -PropertyType String -Value 'disabled' -Force | Out-Null