指定伺服器 的登錄值 configurationmode 等 2 個 (HKLM lync)電腦HKLM\software\policies\microsoft\office\16.0\lync
- 原則 ID
- L_PolicyConfigurationMode
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
- 類別
- 商務用 Skype 2016 › Microsoft Lync 功能原則
登錄
configurationmode
REG_DWORD電腦- 啟用時的值
- 1
- 停用時的值
- 0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\lync] ; 選項 (只使用其中一個) ; 已啟用 "configurationmode"=dword:00000001 ; 已停用 "configurationmode"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已啟用 reg add "HKLM\software\policies\microsoft\office\16.0\lync" /v "configurationmode" /t REG_DWORD /d 1 /f :: 已停用 reg add "HKLM\software\policies\microsoft\office\16.0\lync" /v "configurationmode" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Force | Out-Null # 選項 (只使用其中一個) # 已啟用 New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Name 'configurationmode' -PropertyType DWord -Value 1 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Name 'configurationmode' -PropertyType DWord -Value 0 -Force | Out-Null
serveraddressinternal
REG_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 內部伺服器的 DNS 名稱
- 值類型
- REG_SZ
- 必要
- true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\lync] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "serveraddressinternal"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKLM\software\policies\microsoft\office\16.0\lync" /v "serveraddressinternal" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Force | Out-Null New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Name 'serveraddressinternal' -PropertyType String -Value '<輸入值>' -Force | Out-Null
serveraddressexternal
REG_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 外部伺服器的 DNS 名稱
- 值類型
- REG_SZ
- 必要
- true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\lync] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "serveraddressexternal"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKLM\software\policies\microsoft\office\16.0\lync" /v "serveraddressexternal" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Force | Out-Null New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\lync' -Name 'serveraddressexternal' -PropertyType String -Value '<輸入值>' -Force | Out-Null