Action/Fixlet to modify end-users wallpapers on their PC's

(imported topic written by SystemAdmin)

I’m doing a Fixlet/action via the “Windows Registry Wizard”, as next:

"

Properties

Category Registry Edit

Download Size

Source Registry Editor Wizard

Source Release Date 8/25/2009

RelevanceActions


Action1 (default):

Script Type BigFix Action Script:

action uses wow64 redirection false

delete __appendfile

delete wizardedit.reg

appendfile REGEDIT4

appendfile

appendfile

HKEY_CURRENT_USER\Control Panel\Desktop

appendfile “”=“c:\WUIMAGES\WU_Yes_800.jpg”

move __appendfile wizardedit.reg

download http://support.bigfix.com/download/bes/util/RunAsCurrentUser.exe

continue if {(size of it = 131072 AND sha1 of it = “9fd47b14aee681a6bad6579d30d6fb3fa4cc3ae3”) of file “RunAsCurrentUser.exe” of folder “__Download”}

waithidden “__Download\RunAsCurrentUser.exe” --w regedit /s “wizardedit.reg”

Success Criteria

This action will be considered successful when all lines of the action script have completed successfully.

"

I’m applying this to a “testing group” but, it reports 100% sucess, but is not changing the computers wallpaper to our standard one…even when the action didn’t report any error in syntax, nor in completing the task.

What is it doing wrong?

what am I doing wrong?

Is there any fixlet/action already programmed to use for my particular case???

Thank you,

Ed.

(imported comment written by BenKus)

Hi Ed,

Can you manually check and see if the value was set in the registry?

Ben

(imported comment written by SystemAdmin)

Hi Ben,

yes, i checked in the “testing machines” that i applied that action and the value in the registry is the original one, didn’t change with the task even when the task reported 100% sucess.

Thanks,

Ed.

(imported comment written by BenKus)

Hi Ed,

The reason the agent is reporting “Completed” is that it is a Task with a default “Success Criteria” of “Run to completion…”. And since the agent executed each line properly, it reported “Completed”. If you wanted the Fixlet to check that the relevance was put in place properly, you would want to add a relevance expression to check for the value for the logged on users…

But… The question is why this relevance isn’t applying in the first place… First, it seems your value name has around them… I don’t think you want that… Can you try it by changing “” to “ConvertedWallpaper”…

Ben