ADMX Viewer
Microsoft.Policies.VisualStudio• Machine

Require direct connection

Prevents hosts from allowing relay-based guests from joining their session. Live Share already supports the “Live Share: Connection Mode” setting, and so this policy is effectively just enforcing it to “direct”. If this policy is disabled, the host can allow relay-based guests to join their session if the host has not configured the “Live Share: Connection Mode” setting. For more information, see: https://aka.ms/vsls-policies

Policy Details

Policy Name
DirectConnectionMode
Registry Key
SOFTWARE\Policies\Microsoft\VisualStudio\LiveShare
Value Name
DirectConnectionMode
Supported On
Visual Studio 2019 and higher.
Policy State Values
Enabled: 1
Disabled: 0
Available Languages
en-us