@echo off
set "wallpaperPath=C:\wallpaper.png"

:: Set wallpaper
reg add "HKCU\Control Panel\Desktop" /v Wallpaper /t REG_SZ /d "%wallpaperPath%" /f

:: Show "This PC" icon on the desktop
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" /v {20D04FE0-3AEA-1069-A2D8-08002B30309D} /t REG_DWORD /d 0 /f

:: Force update
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters

echo Wallpaper set to %wallpaperPath%
