Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: how to Change background wallpaper automatically

19 May 2015   #1
cjworsnop

Windows 7 64-bit
 
 
how to Change background wallpaper automatically

Hi all,

I maintain a small group of computers in a windows environment. Currently, I have a group policy applying a default wallpaper to each pc, but I have to go around changing this wallpaper for each computer that has a different sized monitor. (the group policy applies a certain named jpg as the background so if i want a different size for a different aspect ratio monitor, i name the differently sized background jpg to the default name). I am curious as if there is anyway to auto size based off resolution? the windows 7 login screen seems to do a good job but I can't seem to find anything despite looking all of the web. I've looked into scripting but haven't had any luck.

any help would be greatly appreciated!

thanks


My System SpecsSystem Spec
.
19 May 2015   #2
GokAy

Windows 7 Ultimate x64 SP1
 
 

May not be what you want exactly but:

Can't you group similar display computers and apply different policies to them with correctly sized background images?
My System SpecsSystem Spec
21 May 2015   #3
cjworsnop

Windows 7 64-bit
 
 

Quote   Quote: Originally Posted by GokAy View Post
May not be what you want exactly but:

Can't you group similar display computers and apply different policies to them with correctly sized background images?

thanks for the suggestion! I was hoping for something a bit more streamline since the computers are already in their respective model OU's.
My System SpecsSystem Spec
.

21 May 2015   #4
cjworsnop

Windows 7 64-bit
 
 

I was able to write a script based off the some deeper google searches. Basically it grabs the screenheight and width from wmic and sets the picture accordingly. I'll put the script below:

@ECHO OFF
set "screenheight="
set "screenwidth="

::COLLECT SCREENHEIGHT
for /F "tokens=2 delims==" %%F in ('wmic desktopmonitor get screenheight /value') do (
if not defined screenheight set screenheight=%%F
)

::COLLECT SCREENWIDTH
for /F "tokens=2 delims==" %%F in ('wmic desktopmonitor get screenwidth /value') do (

if not defined screenwidth set screenwidth=%%F
)

IF NOT %screenheight%=="" (

copy C:\Windows\Web\Wallpaper\2015-%screenwidth%x%screenheight%.jpg C:\Windows\Web\
rename C:\Windows\Web\Wallpaper\2015-%screenwidth%x%screenheight%.jpg defaultBackground.jpg
move C:\Windows\Web\2015-%screenwidth%x%screenheight%.jpg C:\Windows\Web\Wallpaper\


)
My System SpecsSystem Spec
Reply

 how to Change background wallpaper automatically




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
How To Change Logon Screen Background Color (not wallpaper)?
Hi all - my first post here. This site has helped me IMMENSELY with my transition from XP to 7 over the past few years. I always found exactly what I was looking for, but today I am stumped. In Windows XP, there was an option to change the logon screen background color:...
Customization
Desktop Background Wallpaper - Change in Windows 7 Starter
How to Change Desktop Background Wallpaper in Windows 7 Starter and Home Basic Editions By default the Windows 7 Starter and Windows 7 Home Basic editions do not include the Personalization features such as change desktop background, Desktop Slideshow, Screen Saver, and Windows Color and...
Tutorials
Logon Wallpaper - automatically change w/ every logon
My method for automatically changing the Windows 7 logon/logoff wallpaper with every logon. Step 1: Use one of the many guides on the web to enable custom/oem logon wallpaper, such as Brink's: http://www.sevenforums.com/tutorials/5382-log-screen-change.html Step 2: Copy whatever JPEG...
Customization
Change transparency with background automatically
How to adjust menus' transparency according to the background automatically just like windows 8 ??
Customization
background color for Wallpaper
Hi I did research and read this http://www.sevenforums.com/tutorials/282-window-color-appearance-change.html but I got lost. All I want is to have a plain blue background for my wallpaper..
Customization
OS cannot change wallpaper automatically
Hi, everyone. Why does the OS cannot change wallpaper automatically? I've clicked "Save Changes" and tried each duration but no result... Thanks in advance. http://farm6.static.flickr.com/5144/5738513015_e2c5a0f3f5_b.jpg
Customization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:46.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App