Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
Vérifié avec Microsoft 365/Office 5568.1000 — mis à jour le 4 septembre 2026
Pris en charge sur : Au moins Windows Server 2016, Windows 10
Chemin dans la console GPO
Configuration utilisateur\Modèles d'administration\Microsoft Office 2016\Paramètres de sécurité\Centre de gestion de la confidentialité\Application Guard Description
Ce paramètre de stratégie vous permet de contrôler la manière dont les utilisateurs peuvent imprimer à partir de documents Office ouverts dans Application Guard. Si vous activez ce paramètre de stratégie, vous pouvez choisir de restreindre de façon sélective une ou plusieurs des options d’impression suivantes. - Ne pas autoriser l’impression sur XPS : empêche les utilisateurs d’imprimer en tant que XPS et d’enregistrer le fichier résultant sur l’hôte. - Ne pas autoriser l’impression au format PDF : empêche les utilisateurs d’imprimer au format PDF et d’enregistrer le fichier obtenu sur l’hôte. - Ne pas autoriser l’impression sur des imprimantes locales : empêche les utilisateurs d’imprimer sur des imprimantes connectées localement. - Ne pas autoriser l’impression sur des imprimantes réseau existantes : empêche les utilisateurs d’imprimer sur des imprimantes réseau précédemment connectées. Par ailleurs, les utilisateurs ne peuvent pas rechercher d’autres imprimantes. Remarque : Si vous sélectionnez tous les choix ou ne sélectionnez aucun choix, l’impression n’est pas autorisée dans Application Guard. Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent imprimer sur toutes les imprimantes configurées sur leur appareil. Remarque : ce paramètre de stratégie s’applique uniquement à Microsoft 365 Apps for enterprise.
Registre
software\policies\microsoft\office\16.0\common\security\applicationguard Générateur d'exports
BETAConfigurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
; State: Enabled
; Supported on: Au moins Windows Server 2016, Windows 10
[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard]
"disablexpsprintsettings"=dword:00000000
"disablepdfprintsettings"=dword:00000000
"disablelocalprintsettings"=dword:00000000
"disablenetworkprintsettings"=dword:00000000 Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'disablexpsprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablepdfprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablelocalprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablenetworkprintsettings' -Value 0 -Type DWord Intune XML
Aucune correspondance directe Policy CSP / OMA-URI pour cette stratégie. Utilisez l'onglet Intune Remediation, ou importez l'ADMX dans Intune. Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablexpsprintsettings' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablepdfprintsettings' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablelocalprintsettings' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablenetworkprintsettings' -Expected 0 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'disablexpsprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablepdfprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablelocalprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablenetworkprintsettings' -Value 0 -Type DWord Scripts SCCM
# Exported from gporais.com
# Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablexpsprintsettings' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablepdfprintsettings' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablelocalprintsettings' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablenetworkprintsettings' -Expected 0 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Limiter l’impression à partir d’Office de documents ouverts dans Application Guard
# State: Enabled
# Supported on: Au moins Windows Server 2016, Windows 10
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'disablexpsprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablepdfprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablelocalprintsettings' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'disablenetworkprintsettings' -Value 0 -Type DWord Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).