桌面桌布 的登錄值 Wallpaper 等 1 個使用者HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

原則 ID
Wallpaper
適用範圍
使用者設定
支援的作業系統
至少需要 Windows 2000
來源
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
類別
桌面 › 桌面

登錄

Wallpaper

REG_SZ使用者
啟用時的值
取決於選項值
元素
桌布名稱:
值類型
REG_SZ
必要
true
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

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

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

New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'Wallpaper' -PropertyType String -Value '<輸入值>' -Force | Out-Null

WallpaperStyle

REG_SZ使用者
啟用時的值
取決於選項值
元素
桌布樣式:
選項
項目儲存的值
置中0
並排顯示1
延展2
全螢幕3
填滿4
延伸5
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]

; 選項 (只使用其中一個)
; 置中
"WallpaperStyle"="0"
; 並排顯示
"WallpaperStyle"="1"
; 延展
"WallpaperStyle"="2"
; 全螢幕
"WallpaperStyle"="3"
; 填滿
"WallpaperStyle"="4"
; 延伸
"WallpaperStyle"="5"
CMD
:: 選項 (只使用其中一個)

:: 置中
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 0 /f
:: 並排顯示
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 1 /f
:: 延展
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 2 /f
:: 全螢幕
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 3 /f
:: 填滿
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 4 /f
:: 延伸
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 5 /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# 選項 (只使用其中一個)
# 置中
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '0' -Force | Out-Null
# 並排顯示
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '1' -Force | Out-Null
# 延展
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '2' -Force | Out-Null
# 全螢幕
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '3' -Force | Out-Null
# 填滿
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '4' -Force | Out-Null
# 延伸
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '5' -Force | Out-Null