Disable shared server
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Visual Studio > Live Share Settings
Supported on
Visual Studio 2019 and higher.

Prevent the host from being able to explicitly share a new server. The policy also enforces “Live Share: Auto Share Servers” setting to false. For more information, see: https://aka.ms/vsls-policies

Internal name
DisableSharedServer
Policy ID
2a63194bb33f
Elements
0

Registry values

How enabled and disabled states update the registry.

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