Policy
Disable the ability to rollback or undo a Visual Studio update
Visual Studio
Policy overview
Key metadata and intent for this policy.
This policy determines whether the user can undo an update and rollback Visual Studio to the previously installed version. If set to 1 (enabled), then users will be prevented from accessing the rollback capability, which will prevent Visual Studio from reverting the most recent update which may contain a security fix. If set to 0 (disabled) or missing entirely, then users will be able to access the rollback feature in Visual Studio, and will be able to undo an update and rollback their Visual Studio instances to the previously installed version. Note: The default unconfigured setting enables the ability to rollback a Visual Studio update. This policy applies to release instances of Visual Studio 2022 or higher that may be installed on the machine. For more information, see https://aka.ms/vs/setup/policies.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\VisualStudio\Setup\DisableRollback | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow standard users to execute installer operationsVisual Studio 2017 and higher.
- ComputerControl what products are available to install on the Visual Studio Installer's Available tab.Visual Studio 2022, 17.13 and higher.
- ComputerCustom path to the update configuration fileVisual Studio 2017 and higher.
- ComputerDisable downloading updates automaticallyVisual Studio 2017 and higher.
- ComputerDisable update notifications in Visual StudioVisual Studio 2022, 17.12 and higher.
- ComputerDisplay administrator update notificationsVisual Studio 2017 and higher.
- ComputerEnable administrator updatesVisual Studio 2017 and higher.
- ComputerHide the Available tab shown in the Visual Studio InstallerVisual Studio 2017 and higher.
- ComputerKeep package payloads after installationVisual Studio 2017 and higher.
- ComputerOpt out of administrator updatesVisual Studio 2017 and higher.
- ComputerPackage manifest and payload cache pathVisual Studio 2017 and higher.
- ComputerRemove out-of-support components during updatesVisual Studio 2022 and higher.