Here\'s how to change the default wallpaper for all users using an unattended xp install.
First, you need to use an OEMPreinstall. I\'ve posted how to do this in other posts so refer to them.
If you\'re installing from cd the $OEM$ folder needs to be in the root, if you\'re installing from hard drive it needs to be under the i386 folder.
Make the following folders:
$OEM$$$WEBWALLPAPER
In the wallpaper folder put any wallpapers you want to use.
In this example, we\'re gonna say you want cool.bmp, which is in the wallpaper folder, to be your default wallpaper.
Next, make the following folder:
$OEM$$$REG
In the Reg folder, make a file called wall.reg. In this file put the following:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USERControl PanelDesktop]
\"TileWallpaper\"=\"0\"
\"Wallpaper\"=\"%windir%WEBWALLPAPERcool.bmp\"
\"WallpaperStyle\"=\"2\"
Also in the reg folder, make a batch file called Reg.bat. In reg.bat put the following:
regedit.exe /s %windir%regwall.reg
rd /s /q %windir%reg
exit
In your unattend file, put the following:
[GuiRunOnce]
Command0=\"%windir%Regreg.bat\"
That\'s it! To sum up:
You\'re putting any wallpaper into $OEM$$$WEBWALLPAPER. During setup this will translate to c:windowsWEBWALLPAPER. Next, your making $OEM$$$REG. During setup this will translate to c:windowsReg. In this folder your putting reg.bat and wall.reg. Reg.bat imports wall.reg, which specifies the default wallpaper. To make it all work, in your unattend file your telling it to run reg.bat.
Finally, i recommend using a bmp if possible for the wallpaper, since if it\'s a jpg windows will try to convert it to a bmp. You can also use an .ins file to do this in the unattend file. You can also specify the wallpaper by using a .theme.
-gosh