Desktop Wallpaper: registry value Wallpaper and 1 moreUserHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

Policy ID
Wallpaper
Scope
User Configuration
Supported on
At least Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Desktop › Desktop

Registry

Wallpaper

REG_SZUser
Enabled value
Depends on the option value
Element
Wallpaper Name:
Value type
REG_SZ
Required
true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"Wallpaper"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "Wallpaper" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

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 '<enter value>' -Force | Out-Null

WallpaperStyle

REG_SZUser
Enabled value
Depends on the option value
Element
Wallpaper Style:
Options
ItemStored value
Center0
Tile1
Stretch2
Fit3
Fill4
Span5
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Center
"WallpaperStyle"="0"
; Tile
"WallpaperStyle"="1"
; Stretch
"WallpaperStyle"="2"
; Fit
"WallpaperStyle"="3"
; Fill
"WallpaperStyle"="4"
; Span
"WallpaperStyle"="5"
CMD
:: Options (use only one)

:: Center
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 0 /f
:: Tile
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 1 /f
:: Stretch
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 2 /f
:: Fit
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 3 /f
:: Fill
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 4 /f
:: Span
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 5 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# Options (use only one)
# Center
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '0' -Force | Out-Null
# Tile
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '1' -Force | Out-Null
# Stretch
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '2' -Force | Out-Null
# Fit
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '3' -Force | Out-Null
# Fill
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '4' -Force | Out-Null
# Span
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '5' -Force | Out-Null