發佈伺服器 1 設定 的登錄值 Name 等 9 個電腦HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1

原則 ID
Publishing_Server1_Policy
適用範圍
電腦設定
支援的作業系統
至少需要 Windows Server 2008 R2 或 Windows 7
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
系統 › App-V › 發佈

登錄

Name

REG_SZ電腦
啟用時的值
取決於選項值
元素
發佈伺服器顯示名稱
值類型
REG_SZ
必要
true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"Name"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "Name" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'Name' -PropertyType String -Value '<輸入值>' -Force | Out-Null

URL

REG_SZ電腦
啟用時的值
取決於選項值
元素
發佈伺服器 URL
值類型
REG_SZ
必要
true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"URL"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "URL" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'URL' -PropertyType String -Value '<輸入值>' -Force | Out-Null

GlobalEnabled

REG_DWORD電腦
啟用時的值
取決於選項值
元素
全域發佈重新整理
選項
項目儲存的值
False0
True1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 選項 (只使用其中一個)
; False
"GlobalEnabled"=dword:00000000
; True
"GlobalEnabled"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: False
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalEnabled" /t REG_DWORD /d 0 /f
:: True
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalEnabled" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null

# 選項 (只使用其中一個)
# False
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
# True
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalEnabled' -PropertyType DWord -Value 1 -Force | Out-Null

GlobalLogonRefresh

REG_DWORD電腦
啟用時的值
取決於選項值
元素
登入時進行全域發佈重新整理
選項
項目儲存的值
False0
True1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 選項 (只使用其中一個)
; False
"GlobalLogonRefresh"=dword:00000000
; True
"GlobalLogonRefresh"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: False
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalLogonRefresh" /t REG_DWORD /d 0 /f
:: True
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalLogonRefresh" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null

# 選項 (只使用其中一個)
# False
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalLogonRefresh' -PropertyType DWord -Value 0 -Force | Out-Null
# True
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalLogonRefresh' -PropertyType DWord -Value 1 -Force | Out-Null

GlobalPeriodicRefreshInterval

REG_DWORD電腦
啟用時的值
取決於選項值
元素
全域發佈重新整理間隔
值類型
REG_DWORD
最小值
0
最大值
31
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"GlobalPeriodicRefreshInterval"=dword:<輸入值>
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalPeriodicRefreshInterval" /t REG_DWORD /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalPeriodicRefreshInterval' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null

GlobalPeriodicRefreshIntervalUnit

REG_DWORD電腦
啟用時的值
取決於選項值
元素
全域發佈重新整理間隔單位
選項
項目儲存的值
小時0
天1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 選項 (只使用其中一個)
; 小時
"GlobalPeriodicRefreshIntervalUnit"=dword:00000000
; 天
"GlobalPeriodicRefreshIntervalUnit"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: 小時
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalPeriodicRefreshIntervalUnit" /t REG_DWORD /d 0 /f
:: 天
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "GlobalPeriodicRefreshIntervalUnit" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null

# 選項 (只使用其中一個)
# 小時
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalPeriodicRefreshIntervalUnit' -PropertyType DWord -Value 0 -Force | Out-Null
# 天
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'GlobalPeriodicRefreshIntervalUnit' -PropertyType DWord -Value 1 -Force | Out-Null

UserEnabled

REG_DWORD電腦
啟用時的值
取決於選項值
元素
使用者發佈重新整理
選項
項目儲存的值
False0
True1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 選項 (只使用其中一個)
; False
"UserEnabled"=dword:00000000
; True
"UserEnabled"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: False
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserEnabled" /t REG_DWORD /d 0 /f
:: True
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserEnabled" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null

# 選項 (只使用其中一個)
# False
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserEnabled' -PropertyType DWord -Value 0 -Force | Out-Null
# True
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserEnabled' -PropertyType DWord -Value 1 -Force | Out-Null

UserLogonRefresh

REG_DWORD電腦
啟用時的值
取決於選項值
元素
登入時進行使用者發佈重新整理
選項
項目儲存的值
False0
True1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 選項 (只使用其中一個)
; False
"UserLogonRefresh"=dword:00000000
; True
"UserLogonRefresh"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: False
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserLogonRefresh" /t REG_DWORD /d 0 /f
:: True
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserLogonRefresh" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null

# 選項 (只使用其中一個)
# False
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserLogonRefresh' -PropertyType DWord -Value 0 -Force | Out-Null
# True
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserLogonRefresh' -PropertyType DWord -Value 1 -Force | Out-Null

UserPeriodicRefreshInterval

REG_DWORD電腦
啟用時的值
取決於選項值
元素
使用者發佈重新整理間隔
值類型
REG_DWORD
最小值
0
最大值
31
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>
"UserPeriodicRefreshInterval"=dword:<輸入值>
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserPeriodicRefreshInterval" /t REG_DWORD /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserPeriodicRefreshInterval' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null

UserPeriodicRefreshIntervalUnit

REG_DWORD電腦
啟用時的值
取決於選項值
元素
使用者發佈重新整理間隔單位
選項
項目儲存的值
小時0
天1
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1]

; 選項 (只使用其中一個)
; 小時
"UserPeriodicRefreshIntervalUnit"=dword:00000000
; 天
"UserPeriodicRefreshIntervalUnit"=dword:00000001
CMD
:: 選項 (只使用其中一個)

:: 小時
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserPeriodicRefreshIntervalUnit" /t REG_DWORD /d 0 /f
:: 天
reg add "HKLM\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1" /v "UserPeriodicRefreshIntervalUnit" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Force | Out-Null

# 選項 (只使用其中一個)
# 小時
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserPeriodicRefreshIntervalUnit' -PropertyType DWord -Value 0 -Force | Out-Null
# 天
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\AppV\Client\Publishing\Servers\1' -Name 'UserPeriodicRefreshIntervalUnit' -PropertyType DWord -Value 1 -Force | Out-Null