Open in the explorer

Settings package size warning threshold

Seuil d'avertissement de taille de package de paramètres

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft User Experience Virtualization User Configuration › Policies › Administrative Templates › Windows Components › Microsoft User Experience Virtualization FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft User Experience VirtualizationFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft User Experience Virtualization
Supported on
At least Windows Server 2008 R2 or Windows 7 FR: Au minimum Windows Server 2008 R2 ou Windows 7
ADMX file
UserExperienceVirtualization.admx
Internal name
UserExperienceVirtualization/MaxPackageSizeInBytes

Explanation

This policy setting allows you to configure the UE-V Agent to write a warning event to the event log when a settings package file size reaches a defined threshold. By default the UE-V Agent does not report information about package file size.
If you enable this policy setting, specify the threshold file size in bytes. When the settings package file exceeds this threshold the UE-V Agent will write a warning event to the event log.
If you disable or do not configure this policy setting, no event is written to the event log to report settings package size.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet de configurer UE-V Agent pour qu'un événement d'avertissement soit consigné dans le journal d'événements lorsque la taille d'un fichier de package de paramètres atteint un seuil défini. Par défaut, UE-V Agent ne consigne pas d'informations sur la taille de fichier de paramètres.
Si vous activez ce paramètre de stratégie, spécifiez le seuil de taille de fichier en octets. Lorsque le fichier de package de paramètres dépasse ce seuil, UE-V Agent consigne un événement d'avertissement dans le journal d'événements.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, aucun événement n'est consigné dans le journal d'événements pour signaler la taille du package de paramètres.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration
HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Computer (HKLM)

Enable

# Enable: UserExperienceVirtualization/MaxPackageSizeInBytes
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Package size threshold (in bytes)
Set-ItemProperty -Path $k -Name 'MaxPackageSizeInBytes' -Value '0' -Type String  # maximum 4000000000

Disable

# Disable: UserExperienceVirtualization/MaxPackageSizeInBytes
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": UserExperienceVirtualization/MaxPackageSizeInBytes
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
Remove-ItemProperty -Path $k -Name 'MaxPackageSizeInBytes' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Package size threshold (in bytes):Seuil de la taille du package (en octets) :MaxPackageSizeInBytesNumeric boxdecimalMaxPackageSizeInBytesREG_SZ
Required · Max: 4000000000

Availability