BGinfo not updating desktop
The immediate answer to your question is that you need to set the Windows background to the image that BGinfo creates. On my Windows 2003 system, I do this with:
- Log in as target user
- Right-click on desktop background
- Click "Properties" in the popup,
- Click the "Desktop" tab in the resulting "Display Properties" dialog
- Select the "BGInfo" entry in the "Background:" list; if there is none, click "Browse" and find the file indicated in the BGInfo program's "Bitmap>Location" dialog.
- Click "OK" to dismiss the "Display Properties" dialog
The BGinfo-generated desktop image will then show on the desktop. The info in the image will be current as of the last time that BGinfo was run.
However, since you mentioned triggering BGinfo from a scheduled task, I am thinking that you want to have that info updated periodically and have the most-current info shown on the desktop background. My implementation is to define a shortcut in the "Programs>Startup" folder with the parameters,
Target: "C:\Program Files (x86)\Sysinternals Software\Bginfo.exe" local.bgi /timer:0
Start in: "C:\Program Files (x86)\Sysinternals Software"
This updates the info every time I log in, which for a long-running server, is more frequently than it is rebooted, but may not be often enough to keep up with rapidly consumed disk space. You could create a scheduled task to be run daily or more frequently if you want to have the info updated while the user is logged in. If your BGInfo definition includes any user-specific info, then a separate task will need to be defined for each user. The task should call a batch file similar to the following:
REM BGInfoBatch.cmd: run BGInfo to update wallpaper image, and force update.
"C:\Program Files (x86)\Sysinternals Software\Bginfo.exe" "C:\Program Files (x86)\Sysinternals Software\local.bgi" /timer:0
RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters
You may have to adjust that batch file according to this question. If you want to have a value in the displayed info that tells you how current that info is, you can create a custom field with name "Updated", of type "file time stamp", and the path of the output bginfo.bmp file.