Script to change desktop wallpaper?

Discussion in 'Windows Server' started by Tadashi Inayama, May 13, 2005.

  1. Is there a script (command line or wsh) to change the desktop wallpaper to
    some jpg file?

    Thanks,
    Tadashi
     
    Tadashi Inayama, May 13, 2005
    #1
    1. Advertisements

  2. Hi Tadashi,
    I've had a quick look on google for the answer to this one as it doesn't
    seem likes its an obvious thing to be able to script.

    I've found a site:
    http://www.codeproject.com/csharp/wallchange.asp
    where they have written a VB application to do exactly that.
    If you know VB or just VB script you may be able to use this in your
    environment.

    The other way to change wallpapers is to redirect the wallpaper using Group
    Policy (in a domain environment) or local group policy if its a stand alone.
    The setting in the User Configuration -> Administrative Templates -> Desktop
    -> Active Desktop and then Active Desktop Wallpaper allows you to specify a
    jpg or BMP file.
    If you then specify a file on a network share or local file you can change
    this file using a normal commandline script or copying a file over an
    existing one to change the wallpaper. I use this a lot in a network
    environment. NB, the user has to log off and back on for changes to take
    effect.

    Hope this helps and have a fantastic day
    -Kevin McAleer
     
    Kevin McAleer, May 15, 2005
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.