Disable Copilot
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Visual Studio > Copilot Settings
Supported on
Visual Studio 2022, 17.10 and higher.

If this setting is enabled, it will prevent your users from using any GitHub Copilot license (GitHub Copilot for Business, GitHub Copilot for Enterprise, and Copilot for Individual). For more information, see: https://aka.ms/CopilotGroupPolicy

Internal name
DisableCopilot
Policy ID
2a464a5a9280
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
SOFTWARE\Policies\Microsoft\VisualStudio\Copilot
Value name
DisableCopilot
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
SOFTWARE\Policies\Microsoft\VisualStudio\Copilot
Value name
DisableCopilot
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.