+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
Windows Server 2008 Thread, Change wallpaper daily via GPO? in Technical; Hi there, I just wondered if there is anyway to automatically change a wallpaper every day or every few days. ...
  1. #1

    Join Date
    May 2007
    Location
    Brighton
    Posts
    92
    Thank Post
    56
    Thanked 9 Times in 6 Posts
    Rep Power
    16

    Change wallpaper daily via GPO?

    Hi there,

    I just wondered if there is anyway to automatically change a wallpaper every day or every few days.

    Basically I was going to set a Christmas Wallpaper for some of my schools and either do the "12 days of Christmas" or just a different wallpaper each week day.

    Currently I simply replace (eg) Wallpaper.jpg in \\server1\wallpaper\wallpaper.jpg which the GPO points to.

    Or about 24 scheduled tasks to run a script? ie

    DEL \\sever1\wallpaper\wallpaper.jpg
    COPY \\server1\wallpaper\dec15.jpg
    RENAME \\server1\wallpaper\dec15.jpg wallpaper.jpg etc

    I am also aware there are far more important things to be getting on with!

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,619
    Thank Post
    229
    Thanked 860 Times in 738 Posts
    Rep Power
    297
    your way looks pretty much the way id do it.

    did something similar years ago on my pc to change backdrop everytime i booted up it just cycled through 1.jpg/2.jpg and so on renaming x as wallpaper then next time working out which number was missing rename wallpaper as x abd rename x+1 as wallpaper

  3. #3

    X-13's Avatar
    Join Date
    Jan 2011
    Location
    /dev/null
    Posts
    9,143
    Thank Post
    596
    Thanked 1,960 Times in 1,358 Posts
    Blog Entries
    19
    Rep Power
    818
    I was actually thinking about setting something like this up. But for seasons/terms.

    Quote Originally Posted by sted View Post
    did something similar years ago on my pc to change backdrop everytime i booted up it just cycled through 1.jpg/2.jpg and so on renaming x as wallpaper then next time working out which number was missing rename wallpaper as x abd rename x+1 as wallpaper
    That's fine when you don't have users who click "shutdown" instead of "logoff".

  4. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,619
    Thank Post
    229
    Thanked 860 Times in 738 Posts
    Rep Power
    297
    Quote Originally Posted by X-13 View Post
    I was actually thinking about setting something like this up. But for seasons/terms.



    That's fine when you don't have users who click "shutdown" instead of "logoff".
    granted but im sure it could be writen something that reads date in and picks pic appropriately worst case date /t >c:\date.txt and interogate it

  5. #5

    X-13's Avatar
    Join Date
    Jan 2011
    Location
    /dev/null
    Posts
    9,143
    Thank Post
    596
    Thanked 1,960 Times in 1,358 Posts
    Blog Entries
    19
    Rep Power
    818
    Quote Originally Posted by sted View Post
    granted but im sure it could be writen something that reads date in and picks pic appropriately worst case date /t >c:\date.txt and interogate it
    That was my plan.

    Query "echo %date%", if it fits a certain range [Check for "season/date.txt"] "XCOPY "season/term.jpg"" rename "wallpaper.jpg" make "season/term.txt"

  6. #6

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,816
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    What i used to do was have the GPO point to a local HTML file which then loaded a image off the server.

    So on each machine I had desktop.html in a folder on the root of C - for example C:\desktop\desktop.html

    then a basic html page with img src=\\server\share\image.png and then just changed the image as and when - you could script it to change.

  7. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,619
    Thank Post
    229
    Thanked 860 Times in 738 Posts
    Rep Power
    297
    infact an easier idea
    point the wallpaper to \\server\share$\wallpaper.jpg

    and have a scheduled script on server to rename once a day#

    or if thats too much network traffic just set a startup script (so only runs once per pc every boot not every logon) scheduled script on server to rename script on pc force copies wallpaper.jpg from server every bootup
    Last edited by sted; 26th November 2012 at 10:38 AM.

  8. #8

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,816
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    Quote Originally Posted by sted View Post
    infact an easier idea
    point the wallpaper to \\server\share$\wallpaper.jpg

    and have a scheduled script on server to rename once a day#

    or if thats too much network traffic just set a startup script (so only runs once per pc every boot not every logon) scheduled script on server to rename script on pc force copies wallpaper.jpg from server every bootup
    But you get a horrible page if it fails to load for whatever reason, with the HTML you just get a white screen.

  9. #9

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,572 Times in 1,252 Posts
    Rep Power
    340
    I'd agree with danielson81's method. You can't set Windows Themes via GPO or configure multiple JPGs to change periodically via GPO either as far as I'm aware.

  10. #10


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,619
    Thank Post
    229
    Thanked 860 Times in 738 Posts
    Rep Power
    297
    Quote Originally Posted by glennda View Post
    But you get a horrible page if it fails to load for whatever reason, with the HTML you just get a white screen.
    on win7 you cant use html

    worst case as long it has run on a client once you will get an old wallpaper

  11. #11

    Join Date
    Dec 2009
    Posts
    270
    Thank Post
    6
    Thanked 33 Times in 31 Posts
    Rep Power
    15
    Certainly not the simplest way...but if you want extra practice of using GPP, then you could create 1 policy that has 12 entries to replace the file, then under "Item Level Targeting" target by "Date Match" then simply change each entry to target for a different day?

    I've not tried this, but logic suggests it should work.

  12. #12
    clareq's Avatar
    Join Date
    Dec 2005
    Location
    Doncaster
    Posts
    732
    Thank Post
    53
    Thanked 189 Times in 125 Posts
    Rep Power
    101
    We run our wallpapers from a central location, using a scheduled task on the server to rename the images every 3 days. If a wallpaper doesn't load, the staff then know that the machine isn't on the network. We were having problems with students pulling the network cable halfway through load to bypass security - this is now minimised.

  13. #13

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,816
    Thank Post
    272
    Thanked 1,138 Times in 1,034 Posts
    Rep Power
    350
    Quote Originally Posted by sted View Post
    on win7 you cant use html

    worst case as long it has run on a client once you will get an old wallpaper
    Forgot about that!

  14. #14

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    have a loog at bginfo

    BgInfo

    may do what you want.

  15. #15

    Join Date
    May 2007
    Location
    Brighton
    Posts
    92
    Thank Post
    56
    Thanked 9 Times in 6 Posts
    Rep Power
    16
    Think I've got it, this works on my local PC, so I assume getting a batch file to run as a daily scheduled task would work?

    Code:
    REM Delete Existing Wallpaper
    del c:\wallpapers\current\*.* /q
    REM Setting random variables
    set /a myRand=%random%%%10+1
    set /a myRand=%random%%%10+1
    REM Copy Random file to specified dir.
    copy wallpaper%myRand%.jpg c:\wallpapers\current
    REM Renaming file in specified dir to match one specified in GPO
    rename c:\wallpapers\current\wall*.jpg wallpaper00.jpg
    So batch file on server...

    Code:
    del d:\wallpapers\current\*.* /q
    set /a myRand=%random%%%10+1
    set /a myRand=%random%%%10+1
    copy wallpaper%myRand%.jpg d:\wallpapers\current
    rename d:\wallpapers\current\wall*.jpg wallpaper00.jpg
    Wheresas d:\wallpapers\current is a share of \\server01\wallpapers
    GPO points wallpaper to \\server01\wallpaper\current\wallpaper00.jpg

    Its doesn't pick them in any order, like a advent calendar, but I think it will do!

    Script above assumes you have 10 images called wallpaper1.jpg, wallpaper2.jpg etc.

    EDIT - Works fine, is you specify directory in script for Sched. Task etc, so:

    Code:
    cd d:\wallpapers
    d:
    del "D:\wallpapers\current\*.*" /q
    set /a myRand=%random%%%10+1
    set /a myRand=%random%%%10+1
    copy wallpaper%myRand%.jpg "D:\wallpaper\current"
    rename "D:\wallpaper\current\wall*.jpg" wallpaper00.jpg
    Last edited by danielson81; 30th November 2012 at 05:27 PM.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Change XP Logon Wallpaper via GPO
    By IanT in forum Windows
    Replies: 4
    Last Post: 24th March 2010, 08:48 AM
  2. Change registry permissions via GPO
    By link470 in forum Windows
    Replies: 5
    Last Post: 14th February 2010, 07:24 PM
  3. Change 'Color Quality' via GPO?
    By SuperHans in forum Windows
    Replies: 6
    Last Post: 11th March 2009, 02:11 PM
  4. Changing Internet Security Level VIA GPO
    By johnkay21 in forum Windows
    Replies: 1
    Last Post: 3rd July 2007, 01:45 PM
  5. Replies: 8
    Last Post: 21st June 2006, 05:49 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •