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
Pack Visual Studio
Category Install and Update Settings
Policy ID b927752ed0c5
Internal name KeepDownloadedPayloads

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