Sfondo del desktop: valore del Registro di sistema Wallpaper e altri 1UtenteHKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System

ID criterio
Wallpaper
Ambito
Configurazione utente
Supportato in
Almeno Windows 2000
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Desktop › Active Desktop

Registro

Wallpaper

REG_SZUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Nome sfondo:
Tipo di valore
REG_SZ
Obbligatorio
true
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati
"Wallpaper"="<inserisci valore>"
CMD
:: Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "Wallpaper" /t REG_SZ /d "<inserisci valore>" /f
PowerShell
# Nomi e tipi di valore seguono l'ADMX. Sostituisci <inserisci valore> qui sotto con i tuoi dati

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 '<inserisci valore>' -Force | Out-Null

WallpaperStyle

REG_SZUtente
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Stile sfondo:
Opzioni
VoceValore memorizzato
Centra0
Affianca1
Allunga2
Adatta3
Riempi4
Estendi5
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Centra
"WallpaperStyle"="0"
; Affianca
"WallpaperStyle"="1"
; Allunga
"WallpaperStyle"="2"
; Adatta
"WallpaperStyle"="3"
; Riempi
"WallpaperStyle"="4"
; Estendi
"WallpaperStyle"="5"
CMD
:: Opzioni (usarne solo una)

:: Centra
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 0 /f
:: Affianca
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 1 /f
:: Allunga
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 2 /f
:: Adatta
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 3 /f
:: Riempi
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 4 /f
:: Estendi
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "WallpaperStyle" /t REG_SZ /d 5 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# Opzioni (usarne solo una)
# Centra
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '0' -Force | Out-Null
# Affianca
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '1' -Force | Out-Null
# Allunga
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '2' -Force | Out-Null
# Adatta
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '3' -Force | Out-Null
# Riempi
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '4' -Force | Out-Null
# Estendi
New-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'WallpaperStyle' -PropertyType String -Value '5' -Force | Out-Null