Settings package size warning threshold
Seuil d'avertissement de taille de package de paramètres
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.
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\ConfigurationHKEY_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 4000000000Disable
# 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 SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Package size threshold (in bytes):Seuil de la taille du package (en octets) :MaxPackageSizeInBytes | Numeric boxdecimal | MaxPackageSizeInBytes | REG_SZ | Required · Max: 4000000000 |