Hello all,

I'm trying to have zcm run a batch file on every login (to change the wallpaper). My batch file is as such:

@echo off
call :quiet>nul 2>&1
goto :EOF
:: Configure Wallpaper
REG ADD "HKCU\Control Panel\Desktop" /V Wallpaper /T REG_SZ /F /D "\\files\data\public\wswallpaper.bmp"
REG ADD "HKCU\Control Panel\Desktop" /V WallpaperStyle /T REG_SZ /F /D 2
REG ADD "HKCU\Control Panel\Desktop" /V TileWallpaper /T REG_SZ /F /D 0
:: Make the changes effective immediately
%SystemRoot%\System32\RUNDLL32.EXE User32.dll,UpdatePerUserSystemParameters

The batch file works great when double-clicked, but I can't seem to get the right configuration for the bundle. It downloads the file to the client via zcm, but never runs it. Here's my bundle config:

Script to run: Select from this device
Select from this device: test.bat (\\files\data\public\test.bat)
Path to script engine: C:\WINDOWS\system32\cmd.exe
When action is complete
Working directory: C:\
It's set to Run Once for Every user that logs in

Workstations are windows xp.
ZCM 10.2.1

I also tried doing this through group policy but had problems with it not running on login as specified. Does anyone have any ideas as to what the best solution is and how my current bundle setup may not be working? Thanks!