Policy

Keep package payloads after installation

Keep package payloads even after they are installed. You can change the value anytime. Disabling the policy removes any cached package payloads for the instance you repair or modify. Enabled by default. For more information, see: https://aka.ms/vs/setup/policies.

Policy
PackVisual Studio
CategoryInstall and Update Settings
Policy IDb927752ed0c5
Internal nameKeepDownloadedPayloads

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\VisualStudio\Setup\KeepDownloadedPayloads (enabled) = 1
HKLM\Software\Policies\Microsoft\VisualStudio\Setup\KeepDownloadedPayloads (disabled) = 0

Policy notes

Keep package payloads even after they are installed. You can change the value anytime. Disabling the policy removes any cached package payloads for the instance you repair or modify. Enabled by default. For more information, see: https://aka.ms/vs/setup/policies.

Related policies