Specify server: registry value configurationmode and 2 more (HKCU lync)UserHKCU\software\policies\microsoft\office\16.0\lync

Policy ID
L_PolicyConfigurationMode_1
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Skype for Business 2016 › Microsoft Lync Feature Policies

Registry

configurationmode

REG_DWORDUser
Enabled value
1
Disabled value
0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\lync]

; Options (use only one)
; Enabled
"configurationmode"=dword:00000001
; Disabled
"configurationmode"=dword:00000000
CMD
:: Options (use only one)

:: Enabled
reg add "HKCU\software\policies\microsoft\office\16.0\lync" /v "configurationmode" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKCU\software\policies\microsoft\office\16.0\lync" /v "configurationmode" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Force | Out-Null

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Name 'configurationmode' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Name 'configurationmode' -PropertyType DWord -Value 0 -Force | Out-Null

serveraddressinternal

REG_SZUser
Enabled value
Depends on the option value
Element
DNS name of the internal server
Value type
REG_SZ
Required
true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\lync]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"serveraddressinternal"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\software\policies\microsoft\office\16.0\lync" /v "serveraddressinternal" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Name 'serveraddressinternal' -PropertyType String -Value '<enter value>' -Force | Out-Null

serveraddressexternal

REG_SZUser
Enabled value
Depends on the option value
Element
DNS name of the external server
Value type
REG_SZ
Required
true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\lync]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"serveraddressexternal"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\software\policies\microsoft\office\16.0\lync" /v "serveraddressexternal" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\lync' -Name 'serveraddressexternal' -PropertyType String -Value '<enter value>' -Force | Out-Null