Policy

Prevent users' app data from being stored on non-system volumes

Prevent users' app data from moving to another location when an app is moved or installed on another location. If you enable this setting, all users' app data will stay on the system volume, regardless of where the app is installed. If you disable or do not configure this setting, then when an app is moved to a different volume, the users' app data will also move to this volume.

Policy
PackMicrosoft Windows
CategoryWindows Components / App Package Deployment
Policy IDa9883659b10c
Internal nameRestrictAppDataToSystemVolume

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\Appx\RestrictAppDataToSystemVolume (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\Appx\RestrictAppDataToSystemVolume (disabled) = 0

Policy notes

Prevent users' app data from moving to another location when an app is moved or installed on another location. If you enable this setting, all users' app data will stay on the system volume, regardless of where the app is installed. If you disable or do not configure this setting, then when an app is moved to a different volume, the users' app data will also move to this volume.

Related policies