Disable the ability to rollback or undo a Visual Studio update
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Visual Studio > Install and Update Settings
Supported on
Visual Studio 2022 and higher.

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.

Internal name
DisableRollback
Policy ID
8cf142c69b0d
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\VisualStudio\Setup
Value name
DisableRollback
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\VisualStudio\Setup
Value name
DisableRollback
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.