設定網路緩衝處理 的登錄值 NetworkBufferingPolicy 等 2 個使用者HKCU\Software\Policies\Microsoft\WindowsMediaPlayer

原則 ID
NetworkBuffering
適用範圍
使用者設定
支援的作業系統
Windows Media Player for Windows XP 和更新版本。
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
Windows 元件 › Windows Media Player › 網路功能

登錄

NetworkBufferingPolicy

REG_DWORD使用者
啟用時的值
1
停用時的值
0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer]

; 選項 (只使用其中一個)
; 已啟用
"NetworkBufferingPolicy"=dword:00000001
; 已停用
"NetworkBufferingPolicy"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 已啟用
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "NetworkBufferingPolicy" /t REG_DWORD /d 1 /f
:: 已停用
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "NetworkBufferingPolicy" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# 選項 (只使用其中一個)
# 已啟用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'NetworkBufferingPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# 已停用
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'NetworkBufferingPolicy' -PropertyType DWord -Value 0 -Force | Out-Null

BufferingType

REG_DWORD使用者
啟用時的值
取決於選項值
元素
緩衝處理時間
選項
項目儲存的值
預設1
Software\Policies\Microsoft\WindowsMediaPlayer\UseDefaultBuffering = 1
自訂2
Software\Policies\Microsoft\WindowsMediaPlayer\UseDefaultBuffering = 0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer]

; 選項 (只使用其中一個)
; 預設
"BufferingType"=dword:00000001
"UseDefaultBuffering"=dword:00000001
; 自訂
"BufferingType"=dword:00000002
"UseDefaultBuffering"=dword:00000000
CMD
:: 選項 (只使用其中一個)

:: 預設
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "BufferingType" /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "UseDefaultBuffering" /t REG_DWORD /d 1 /f
:: 自訂
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "BufferingType" /t REG_DWORD /d 2 /f
reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "UseDefaultBuffering" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null

# 選項 (只使用其中一個)
# 預設
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'BufferingType' -PropertyType DWord -Value 1 -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'UseDefaultBuffering' -PropertyType DWord -Value 1 -Force | Out-Null
# 自訂
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'BufferingType' -PropertyType DWord -Value 2 -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'UseDefaultBuffering' -PropertyType DWord -Value 0 -Force | Out-Null

NetworkBuffering

REG_DWORD使用者
啟用時的值
取決於選項值
元素
設定網路緩衝處理
值類型
REG_DWORD
最大值
60
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\WindowsMediaPlayer]

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

reg add "HKCU\Software\Policies\Microsoft\WindowsMediaPlayer" /v "NetworkBuffering" /t REG_DWORD /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值>

New-Item -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\WindowsMediaPlayer' -Name 'NetworkBuffering' -PropertyType DWord -Value '<輸入值>' -Force | Out-Null