更新管道 的登錄值 updatebranch電腦HKLM\software\policies\microsoft\office\16.0\common\officeupdate

原則 ID
L_UpdateBranch
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
類別
Microsoft Office 2016 (電腦) › 更新

登錄

updatebranch

REG_SZ電腦
啟用時的值
取決於選項值
元素
通道名稱:
選項
項目儲存的值
目前通道Current
目前通道 (預覽)FirstReleaseCurrent
每月企業通道MonthlyEnterprise
半年企業通道Deferred
半年企業通道 (預覽)FirstReleaseDeferred
Beta 版通道InsiderFast
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\software\policies\microsoft\office\16.0\common\officeupdate]

; 選項 (只使用其中一個)
; 目前通道
"updatebranch"="Current"
; 目前通道 (預覽)
"updatebranch"="FirstReleaseCurrent"
; 每月企業通道
"updatebranch"="MonthlyEnterprise"
; 半年企業通道
"updatebranch"="Deferred"
; 半年企業通道 (預覽)
"updatebranch"="FirstReleaseDeferred"
; Beta 版通道
"updatebranch"="InsiderFast"
CMD
:: 選項 (只使用其中一個)

:: 目前通道
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "updatebranch" /t REG_SZ /d "Current" /f
:: 目前通道 (預覽)
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "updatebranch" /t REG_SZ /d "FirstReleaseCurrent" /f
:: 每月企業通道
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "updatebranch" /t REG_SZ /d "MonthlyEnterprise" /f
:: 半年企業通道
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "updatebranch" /t REG_SZ /d "Deferred" /f
:: 半年企業通道 (預覽)
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "updatebranch" /t REG_SZ /d "FirstReleaseDeferred" /f
:: Beta 版通道
reg add "HKLM\software\policies\microsoft\office\16.0\common\officeupdate" /v "updatebranch" /t REG_SZ /d "InsiderFast" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Force | Out-Null

# 選項 (只使用其中一個)
# 目前通道
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'updatebranch' -PropertyType String -Value 'Current' -Force | Out-Null
# 目前通道 (預覽)
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'updatebranch' -PropertyType String -Value 'FirstReleaseCurrent' -Force | Out-Null
# 每月企業通道
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'updatebranch' -PropertyType String -Value 'MonthlyEnterprise' -Force | Out-Null
# 半年企業通道
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'updatebranch' -PropertyType String -Value 'Deferred' -Force | Out-Null
# 半年企業通道 (預覽)
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'updatebranch' -PropertyType String -Value 'FirstReleaseDeferred' -Force | Out-Null
# Beta 版通道
New-ItemProperty -Path 'HKLM:\software\policies\microsoft\office\16.0\common\officeupdate' -Name 'updatebranch' -PropertyType String -Value 'InsiderFast' -Force | Out-Null