Kaseya Community

Sets the users wallpaper

  • You will have to make some changes to this script to reflect the wallpaper you want - Red_rose.bmp isnt everyones taste Smile

    Script Name: Set Background
    Script Description: Sets The users desktop background

    IF True
    THEN
    Write File
    Parameter 1 : %systemroot%\background.bmp
    Parameter 2 : VSASharedFiles.red_rose.bmp
    OS Type : 0
    Set Registry Value
    Parameter 1 : HKEY_CURRENT_USER\Control Panel\Desktop\Wallpaper
    Parameter 2 : %systemroot%\background.bmp
    Parameter 3 : REG_SZ
    OS Type : 0
    ELSE


    Legacy Forum Name: Sets the users wallpaper,
    Legacy Posted By Username: jnuttall
  • Hi Jnuttall.

    Could you tell me how to create this entire script?   I know I need to go to: >Agent Procedures >Schedule/Create - New but since I am a newbie at Kaseya I am very green and cant figure out what to select, where to add the script etc .  I want to make the desktop "black" though.   Thanks!

  • Procedure Set Background Image.xml

    Use the attached procedure.  You'll need to upload an image to your kserver and either using the names in this procedure or altering them to suit.

  • how can i download the file? :)

  • I've used this script in the past but its not working now. I see the background.bmp gets replaced with my image and the registry key points to that path but background isnt changing.

    If i right click the desktop and go to personalize, i see my new background under unsaved theme but its not selected.

    Any idea why?

  • Got it.

    You need to run this command line at the end of the script:

    RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters