active desktop wallpaper appearing enlarged at lock screen

Hi, i recently applied active desktop wallpaper in my environment using GPO. The desktop at the wallpaper is okay but when on some systems when users lock the screen, the logo appears enlarged but some systems it is okay. Any idea>?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Try this as a test.  When you press CTRL+ALT+DELETE and press Lock Computer, the previous wallpaper is displayed behind the dialog box?

This is an Active Desktop issue. The Explorer.exe shell displays additional layers on top of the desktop, such as the Start menu, desktop icons, and Active Desktop.

When you Lock Computer, these layers are cleared, revealing images that are set on the desktop, the old wallpaper.

To resolve the problem, set the standard desktop wallpaper to None. Then select the Active Desktop image that you want to use.

When you Lock Computer, the backgrounds color will be displayed, with no previous image.

If this is what you see, then they must have the image as their wallpaper and it's set to stretch or something.
Could be a video driver issue, update the driver on one machine and see if that makes a difference.
Shankar3003Author Commented:
hi , i need to create a script which sets registry value of windowsstyle to 0 as 2 is stretched.

Going forward, i need to create a script to set wallpaper to all desktops in my environment without using active desktop gpo settings. Is there a way to set the desktop wallpaper and users will be still free to change the wallpaper?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


1. Save your wallpaper file as mywallpaper.bmp in %systemroot% (i.e. c:\windows, in most of the cases)
2. Run below script

I can't take the credit for this.  Here is the website I referenced:
'----------------------------Script Start -----------------------------------------------------
Dim WshShell
const HKEY_CURRENT_USER = &H80000001
strComputer = "."
Set WshShell = WScript.CreateObject("Wscript.Shell")
Set StdOut = WScript.StdOut
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" &_
strComputer & "\root\default:StdRegProv")
strKeyPath = "Control Panel\Desktop"
strEntryName = "Wallpaper"
strValue = "mywallpaper.bmp"
oReg.SetStringValue HKEY_CURRENT_USER,strKeyPath,strEntryName,strValue
WshShell.Run "%systemroot%\System32\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters", 1, False
Set WshShell = Nothing
'--------------------------Script End -----------------------------------------------------------

Open in new window


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Shankar3003Author Commented:
good solution
thanks for the points!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.