Configure Application Guard container precreation
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
This policy setting determines if the Application Guard container, for isolating untrusted files, is pre-created for improved run time performance.
If you enable this policy setting, you can specify the number of days to continue pre-creating an Application Guard container if the user has not opened a file with Application Guard. Pre-creating a container when the user logs in will decrease the wait time when opening an untrusted file.
“65535” will configure Office to always create an Application Guard container when a user logs into Windows.
"20" will configure Office to pre-create the container each time a user logs into Windows for up to 20 days after the last time the user opened an untrusted file using Application Guard.
“0” will configure Office to never pre-create the container. Instead the container will only be created when a user opens their first untrusted file after logging into Windows.
Note: if you configure Office to never pre-create a container then users will experience a longer wait when opening an untrusted file after logging into Windows.
If you disable or don’t configure this setting, Office will use a built-in heuristic to pre-create the container.
Note: This policy setting only applies to Microsoft 365 Apps for enterprise.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : office16/L_ConfigurePreCreateInApplicationGuard
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Pre-Create Window (days)
Set-ItemProperty -Path $k -Name 'prewarmwindow' -Value 0 -Type DWord # entre 0 et 65536Désactiver
# Désactiver : office16/L_ConfigurePreCreateInApplicationGuard
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_ConfigurePreCreateInApplicationGuard
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard'
Remove-ItemProperty -Path $k -Name 'prewarmwindow' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Pre-Create Window (days):L_SetAppGuardPreWarmWindowValue | Zone numériquedecimal | prewarmwindow | REG_DWORD | Min : 0 · Max : 65536 |
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.