en-US office user

Configure Application Guard container precreation

Verified with Microsoft 365/Office 5568.1000 — updated on September 4, 2026

Microsoft 365/Office 5568.1000

Supported on: At least Windows Server 2016, Windows 10

Path in the GPO console

User Configuration\Administrative Templates\Microsoft Office 2016\Security Settings\Trust Center\Application Guard

Description

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.

Registry

HKCU software\policies\microsoft\office\16.0\common\security\applicationguard

More options available

Options

Pre-Create Window (days):
prewarmwindow decimal - range 0-65536

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Configure Application Guard container precreation
; State: Enabled
; Supported on: At least Windows Server 2016, Windows 10

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard]
"prewarmwindow"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Configure Application Guard container precreation
# State: Enabled
# Supported on: At least 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 'prewarmwindow' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview