I was wondering if there was a way in AutoIT to install a standard windows background for windows 7. The script below works fine for XP SP3 but fails on Windows 7 and I think it needs Admin Perms but I'm not sure. Please let me know if its possible.
Cheers!
if not exist "C:\Windows\System32\oobe\Info" mkdir "C:\Windows\System32\oobe\Info"
if not exist "C:\Windows\System32\oobe\Info\backgrounds" mkdir "C:\Windows\System32\oobe\Info\backgrounds"
copy "\\mitfile\userdata\everyone\bg\backgroundDefault.jpg" "C:\Windows\System32\oobe\Info\backgrounds"
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "C:\Windows\System32\oobe\Info\backgrounds\backgroundDefault.jpg"
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background" /V OEMBackground /T REG_DWORD /F /D 1