+ Post New Thread
Results 1 to 9 of 9
Windows Thread, Desktop background issue in Technical; Hi Im having a stupid issue with applying a background image to the staff desktops. Its applying but then a ...
  1. #1
    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

    Desktop background issue

    Hi Im having a stupid issue with applying a background image to the staff desktops. Its applying but then a blue background appears over the top of it.

    Servers 2008 R2
    Desktops xp pro sp3

    just a note this works fine after two logins on the student accounts, so its just staff that are been effected. I know its a GPO setting but not sure where to look to adjust. by the way here is the logon script that I've used to apply desktop wallpaper

    Code:
    Set objWMIService = GetObject("Winmgmts:\\.\root\cimv2") 
    Set objSh = CreateObject("Wscript.Shell")
    Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor where DeviceID = 'DesktopMonitor1'",,0) 
    For Each objItem in colItems 
        intHorizontal = objItem.ScreenWidth 
        intVertical = objItem.ScreenHeight 
    Next
    
    strResolution = CStr(intHorizontal) & " x " & CStr(intVertical)
    
    Select Case strResolution
    Case "1024 x 768"
            strWallpaperPath = "\\bishopsgarth\dfs$\Public$\WALLPAPERS\1024x768.bmp"
    Case "1280 x 1024"
            strWallpaperPath = "\\bishopsgarth\dfs$\Public$\WALLPAPERS\1280x1024.bmp"
    Case "1440 x 900"
            strWallpaperPath = "\\bishopsgarth\dfs$\Public$\WALLPAPERS\1440x900.bmp"
    Case "1920 x 1080"
            strWallpaperPath = "\\bishopsgarth\dfs$\Public$\WALLPAPERS\1920x1080.bmp"
    Case Else
    End Select
    
    'Set the reg value
    objSh.RegWrite "HKCU\Control Panel\Desktop\Wallpaper", strWallpaperPath, "REG_SZ"
    
    'Apply the change
    objSh.Run "%windir%\System32\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters", 0, False
    Can anyone help?

  2. #2

    Hightower's Avatar
    Join Date
    Jun 2008
    Location
    Cloud 9
    Posts
    4,920
    Thank Post
    494
    Thanked 690 Times in 444 Posts
    Rep Power
    241
    I had this problem, turned out it was down to a recycle bin GPO setting. See this thread here, might help: GPO's - Wallpapers Disappear

  3. Thanks to Hightower from:

    PEO (16th November 2011)

  4. #3

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    If that fails you could use BGinfo to set the wall paper (you dont have to have the BGinfo text showing)

  5. #4
    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
    refuse to use bg info, as I said the script works fine. she students get the wallpaper but the staff are getting a blue background overlaying the wallpaper that I've set. @Hightower I explored your suggestion but that was not the solution

  6. #5
    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
    any other suggestions?

  7. #6

    Join Date
    Mar 2008
    Location
    UK
    Posts
    54
    Thank Post
    4
    Thanked 4 Times in 4 Posts
    Rep Power
    13
    Check that active desktop isn't switched on and somehow putting the blue over the top.

    Also, try rewriting your script so that the background images are copied down to each computer and then have the script reference the local files. I've heard of similar problems trying to set a background to a network-shared image. I do by copying the images down first and I've never had a problem.

    Hope it helps.

  8. #7

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    You can deploy a desktop wallpaper using GPO. This'll work with 2000, XP, Vista and 7.

    User Config > Policies > Admin Templates > Desktop > Desktop - Desktop Wallpaper - Enabled

    You can also set it to fill, no matter what the native resolution of the image is.

  9. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    I can see why you have used that script it will select the correct wallpaper for the correct resolution. I may borrow it if you dont mind?

  10. #9

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,824
    Thank Post
    875
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Did you ever fix this? I sorted it by disbaling active desktop and using .bmp images instead of .jpg.

SHARE:
+ Post New Thread

Similar Threads

  1. disable right-click>set as desktop background
    By beeswax in forum Windows
    Replies: 19
    Last Post: 29th March 2012, 04:35 PM
  2. RM BLUE STAR Desktop Background
    By kiran in forum Other Stuff
    Replies: 7
    Last Post: 22nd June 2009, 06:32 PM
  3. Set desktop background
    By Ste_Harve in forum Windows
    Replies: 23
    Last Post: 31st October 2007, 01:59 PM
  4. Firefox - 'Set As Desktop Background'
    By linuxgirlie in forum How do you do....it?
    Replies: 3
    Last Post: 30th September 2007, 07:12 PM
  5. Hyperlinks built into the desktop background
    By Pottsey in forum Windows
    Replies: 0
    Last Post: 13th October 2006, 02:30 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
  •