+ Post New Thread
Results 1 to 9 of 9
Windows Thread, Wallpaper change to fit resolution - XP? in Technical; Hi all, I've just updated the wallpaper staff and students get to some nice photos of the school. Students are ...
  1. #1
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    57

    Wallpaper change to fit resolution - XP?

    Hi all,

    I've just updated the wallpaper staff and students get to some nice photos of the school. Students are no problem because they all log on to desktop PCs with 17" or 19" monitors running at 1280x1024 - thus get a wallpaper of that resolution and it looks fine.

    However, although staff use PCs with the same monitors, in the classroom the teacher's PC is set to 1024x768 as this is the resolution the projectors run at (it goes through a splitter so it's not like there's two video outputs we can run at different resolutions). When they log on in their office where there's no projector they get the correct native 1280x1024.

    As such, the wallpaper I made at 1024x768 for the classroom look rubbish in the office because it has to scale up. If I did it the other way around it'd look bad in the classroom scaled down. There's text on the new wallpapers so it's particularly noticeable, and having the wallpaper tiled or centred rather than stretched wouldn't look right or would cut off some of the text.

    Wallpapers are set through group policy per-user and staff can't change them themselves. Does anyone know of a way to get around this issue? Clients are running XP SP3.

    Many thanks in advance,

    Chris

  2. #2

    SYSMAN_MK's Avatar
    Join Date
    Sep 2005
    Posts
    4,004
    Thank Post
    488
    Thanked 1,339 Times in 727 Posts
    Rep Power
    427
    To get round resolution issues I have the wallpaper saved on the C: of the local machine. Then use GPO to point to this file. So you could have a 1024 version on classroom PCs and 1280 on the office machines.

  3. Thanks to SYSMAN_MK from:

    Duke (21st April 2010)

  4. #3
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    57
    Quote Originally Posted by SYSMAN_MK View Post
    To get round resolution issues I have the wallpaper saved on the C: of the local machine. Then use GPO to point to this file. So you could have a 1024 version on classroom PCs and 1280 on the office machines.
    Hmm, good idea. How do you push the wallpaper out to all PCs, and do you find storing it locally is an issue if you want to update it? We've got about 800 PCs so I'd need a reliable way to ensure they all get the right one.

  5. #4
    denon101's Avatar
    Join Date
    Jul 2008
    Location
    Stuck in the server room......
    Posts
    395
    Thank Post
    54
    Thanked 37 Times in 35 Posts
    Rep Power
    21
    I just made a script that will push out the desktops to each machine and store it locally on the pc. A simple xcopy script does the job nicely. Could use robocopy or what ever you fancy really.

  6. Thanks to denon101 from:

    Duke (21st April 2010)

  7. #5


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,506
    Thank Post
    227
    Thanked 848 Times in 727 Posts
    Rep Power
    287
    md c:\windows\wallpaper
    copy \\server\wallpaper$\desktop1.bmp c:\windows\wallpaper\desktop1.bmp /y

    set as startup script then everytime a pc is powered on it will take desktop1 from the server and overwrite whatever was there

  8. Thanks to sted from:

    Duke (21st April 2010)

  9. #6

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,037
    Thank Post
    209
    Thanked 425 Times in 306 Posts
    Rep Power
    144
    This script that I use will copy the necessary wallpaper from a depository depending on the screen resolution of the local machine. Literally just save them in a directory that is the right resolution e.g "\\server\share\wallpapers\1024x768\"

    My actual version is a bit different and includes a check to see if the master file has been changed before it tries to copy it, this save un-necessary file copying over the network. That's part of a bigger script however so would take me a while to separate

    Hope this might be useful.

    Code:
    'COPY WALLAPAPERS SCRIPT
    
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    
    'CHECK TO SEE IF FOLDER EXITS, IF NOT CREATE IT
    If Not objFSO.FolderExists("c:\WALLPAPERS\" ) then objFSO.CreateFolder("C:\WALLPAPERS")
    
    'FIND OUT RESOLUTION
    Set objWMIService = GetObject("Winmgmts:\\.\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor where DeviceID = 'DesktopMonitor1'",,0)
    For Each objItem in colItems
    intHorizontal = objItem.ScreenWidth
    intVertical = objItem.ScreenHeight
    Next 
    res=intHorizontal & "x" & intvertical
    
    'COPY CORRECT WALLPAPERS FROM SERVER
    objFSO.CopyFolder "\\domain\netlogon\WALLPAPERS\" & res , "C:\WALLPAPERS" , OverWriteFiles
    Mike.

  10. Thanks to maniac from:

    Duke (21st April 2010)

  11. #7
    Duke's Avatar
    Join Date
    May 2009
    Posts
    1,017
    Thank Post
    300
    Thanked 174 Times in 160 Posts
    Rep Power
    57
    You guys are awesome, cheers! Certainly given me a few ideas and much appreciated.

  12. #8
    ricki's Avatar
    Join Date
    Jul 2005
    Location
    uk
    Posts
    1,475
    Thank Post
    20
    Thanked 164 Times in 157 Posts
    Rep Power
    52
    Hi

    Put it in the startup and log on script and use bginfo. It works great have a look here for further information BgInfo

    Richard

  13. Thanks to ricki from:

    Duke (22nd April 2010)

  14. #9
    PEO
    PEO is offline
    PEO's Avatar
    Join Date
    Oct 2007
    Posts
    2,093
    Thank Post
    457
    Thanked 150 Times in 95 Posts
    Rep Power
    71
    this script dosent work for me Im getting path not found. can anyone help?

SHARE:
+ Post New Thread

Similar Threads

  1. Fit 800x480 screen resolution
    By SimpleSi in forum Comments and Suggestions
    Replies: 9
    Last Post: 24th February 2010, 10:16 PM
  2. Auto change resolution on log on
    By the_one_that_cant in forum Scripts
    Replies: 10
    Last Post: 5th February 2010, 09:53 AM
  3. change resolution
    By chrbb in forum Scripts
    Replies: 14
    Last Post: 9th February 2009, 11:14 PM
  4. Change resolution an all CC3 stations?
    By reggiep in forum Network and Classroom Management
    Replies: 8
    Last Post: 14th July 2008, 11:36 AM
  5. Cannot Change wallpaper
    By disinfo in forum Windows
    Replies: 4
    Last Post: 6th November 2006, 06:01 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
  •