Settings storage path
Chemin d'accès au stockage des paramètres
Explanation
This policy setting configures where the settings package files that contain user settings are stored.
If you enable this policy setting, the user settings are stored in the specified location.
If you disable or do not configure this policy setting, the user settings are stored in the user’s home directory if configured for your environment.
Ce paramètre de stratégie configure l'emplacement des fichiers de package de paramètres qui contiennent les paramètres utilisateur.
Si vous activez ce paramètre de stratégie, les paramètres utilisateur sont stockés à l'endroit spécifié.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, les paramètres utilisateur sont stockés dans le répertoire de base de l'utilisateur si ce répertoire est configuré pour votre environnement.
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/SettingsStoragePath
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Settings storage path
Set-ItemProperty -Path $k -Name 'SettingsStoragePath' -Value '<value>' -Type ExpandStringDisable
# Disable: UserExperienceVirtualization/SettingsStoragePath
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": UserExperienceVirtualization/SettingsStoragePath
$k = 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration'
Remove-ItemProperty -Path $k -Name 'SettingsStoragePath' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Settings storage pathChemin d'accès au stockage des paramètresSettingsStoragePath | Text boxtext | SettingsStoragePath | REG_EXPAND_SZ | Required |