Jump to content

Recommended Posts

Posted

When setting a Windows 10 (education) logon background via

 

Computer Configuration > Administrative Templates > Control Panel > Personalization > Force a specific default lock screen and logon image

 

it works absolutely fine the first time. The logon image displays.

 

However, if I then replace the image (same name but different photo, for example), the workstations then just display a blue image as the logon screen image instead. No matter what I do, I cannot get it to update from the blue image, unless I revert back to the exact original image.

 

Anyone else come across this?

Posted
Yes. If the filename doesn't change, it won't update the cached copy.

 

I've tried changing the filename and updating the GPO with it, but still it shows the blue background.

Posted

I use this in a startup PowerShell script:

 

icacls "C:\ProgramData\Microsoft\Windows\SystemData" /setowner "BUILTIN\Administrators" /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /inheritance:e /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /inheritance:d /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /setowner "BUILTIN\Administrators" /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /grant:r Administrators':'"(CI)(OI)(F)" /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /grant SYSTEM':'"(CI)(OI)(F)" /T /C
Remove-Item -Path "C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_P\*" -Force

Allows me to customise the image to add announcements, etc.

Posted
I use this in a startup PowerShell script:

 

icacls "C:\ProgramData\Microsoft\Windows\SystemData" /setowner "BUILTIN\Administrators" /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /inheritance:e /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /inheritance:d /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /setowner "BUILTIN\Administrators" /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /grant:r Administrators':'"(CI)(OI)(F)" /T /C
icacls "C:\ProgramData\Microsoft\Windows\SystemData" /grant SYSTEM':'"(CI)(OI)(F)" /T /C
Remove-Item -Path "C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_P\*" -Force

Allows me to customise the image to add announcements, etc.

 

Thanks - I'm now trying this but still struggling to get anything other than a blue background appearing on the log-in screen. Where is the wallpaper located that you point the policy to?

Posted
I've found that the stock method won't change the image upon request, it has to do it on a background refresh, although some times logging into the machine and doing Win+L will force it from the blue screen to the one it's supposed to be.
Posted
I've found that the stock method won't change the image upon request, it has to do it on a background refresh, although some times logging into the machine and doing Win+L will force it from the blue screen to the one it's supposed to be.

 

Been a few days now and nothing has changed :(

Posted
When setting a Windows 10 (education) logon background via

 

Computer Configuration > Administrative Templates > Control Panel > Personalization > Force a specific default lock screen and logon image

 

it works absolutely fine the first time. The logon image displays.

 

However, if I then replace the image (same name but different photo, for example), the workstations then just display a blue image as the logon screen image instead. No matter what I do, I cannot get it to update from the blue image, unless I revert back to the exact original image.

 

Anyone else come across this?

 

We found windows only likes one image and to change it we had to point the image to a network share, not changing the name, filesize anything worked - except the network share; so that's now where our lock screens live.

Posted
We found windows only likes one image and to change it we had to point the image to a network share, not changing the name, filesize anything worked - except the network share; so that's now where our lock screens live.

 

So just to clarify, the filesize and the name had to be the same as the original image??

Posted (edited)
No, that's what we tried but nothing worked - Only pointing the GPO to a network share image seemed to force a refresh

 

Ah ok. We have ours on a network share but still it won't update to a different image. I've tried both local and network to no avail.

Edited by Spence_101
Posted
We had issues before when using C:\windows\Web\Wallpaper and not using the default img0.jpg. We moved wallpapers to \\domain\netlogon\wallpaper and all works well.

 

Have you tried changing the wallpaper now? Does it update or just display a blank blue image?

 

If it works fine - do you do anything else with regards to the logon wallpaper? Permissions/registry etc.

 

We're using \\domain\netlogon\wallpaper and as I mentioned in the original post, it's fine the first time but if we change or update the image it just displays a blank blue image on the machines instead.

Posted
You can keep the same filename, but everytime you replace it, it has to be with a file that has a newer Date Modified timestamp--to the point I have to open up Photoshop and resave it if I want to change the image. PITA, and took me ages to realise that was what was happening, but there it is. Windows: it never did make much sense.
Posted

Yes, we changed the wallpaper last week with no issues. We also edited the wallpaper a few days later as staff complained that it was too bright. This also updated without issue.

 

There are no special permissions or registry changes. The only other thing our Wallpaper GPO has is 'Turn off fun facts, tips, tricks, and more on lock screen' but that's not really relevant.

 

Humor me for a minute. What happens when you log in as a new user with no profile and the log off or lock screen?

Posted
You can keep the same filename, but everytime you replace it, it has to be with a file that has a newer Date Modified timestamp--to the point I have to open up Photoshop and resave it if I want to change the image. PITA, and took me ages to realise that was what was happening, but there it is. Windows: it never did make much sense.

 

Thanks for posting - I've just tried this but still it won't update!

 

Do you do anything else like removing the C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_P files etc?

Posted (edited)
Yes, we changed the wallpaper last week with no issues. We also edited the wallpaper a few days later as staff complained that it was too bright. This also updated without issue.

 

There are no special permissions or registry changes. The only other thing our Wallpaper GPO has is 'Turn off fun facts, tips, tricks, and more on lock screen' but that's not really relevant.

 

Humor me for a minute. What happens when you log in as a new user with no profile and the log off or lock screen?

 

After editing the wallpaper and rebooting, if we then log on a user and go to lock, it's still the blue image background.

Edited by Spence_101
Posted (edited)
Thanks for posting - I've just tried this but still it won't update!

 

Do you do anything else like removing the C:\ProgramData\Microsoft\Windows\SystemData\S-1-5-18\ReadOnly\LockScreen_P files etc?

 

Nothing like that--just the GPO Force a specific default lock screen and logon image set to Enabled with a local path, and a group policy preference to push the file over (which, now I think about it, might be the source of needing the Date Modified stamp to be later... d'oh*). Only takes effect after someone has logged on & off, or restarted; it won't refresh a screen already at logon.

 

*ETA: maybe not. Already set to Replace, so idk ¯\_(ツ)_/¯

Edited by sonofsanta
  • Thanks 1
Posted

We just set our lockscreen/logon wallpaper into C:\Windows\System32\oobe\info\backgrounds, called backgroundDefault.jpg and that path is set in the GPO.

 

Works fine, but does need a 2nd reboot or a logon/off for the fortnightly change to display

Posted
We just set our lockscreen/logon wallpaper into C:\Windows\System32\oobe\info\backgrounds, called backgroundDefault.jpg and that path is set in the GPO.

 

Works fine, but does need a 2nd reboot or a logon/off for the fortnightly change to display

 

Can I ask what Windows 10 version you are using? .\info\backgrounds doesn't appear to exist for us... so presume you are creating this?

Posted
Can I ask what Windows 10 version you are using? .\info\backgrounds doesn't appear to exist for us... so presume you are creating this?

 

Windows 10 Education.

 

The folder does not exist, no, but it was the original folder documented for Windows 7 login wallpaper (https://www.askvg.com/windows-7-supports-login-screen-customization-without-3rd-party-software-how-to-instructions-inside/), so that's why we use that path still with Windows 10, historic reasons.

  • 2 weeks later...
Posted (edited)

Managed to sort it (working on both 1809 & 1903) by applying these reg keys I found on Reddit (I've added the below to our startup script):

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImagePath /t REG_SZ /d "\\server\NETLOGON\W10LogonScreen.jpg" /f

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageUrl /t REG_SZ /d "\\server\NETLOGON\W10LogonScreen.jpg" /f

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageStatus /t REG_DWORD /d 1 /f

 

Also having Computer Configuration > Administrative Templates > Control Panel > Personalization > Force a specific default lock screen and logon image set.

 

Thought I'd share for anyone struggling. Also works fine if you update/change the image. Simply replace the file \\server\NETLOGON\W10LogonScreen.jpg

Edited by Spence_101
  • 1 month later...
Posted
Managed to sort it (working on both 1809 & 1903) by applying these reg keys I found on Reddit (I've added the below to our startup script):

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImagePath /t REG_SZ /d "\\server\NETLOGON\W10LogonScreen.jpg" /f

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageUrl /t REG_SZ /d "\\server\NETLOGON\W10LogonScreen.jpg" /f

 

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP /v LockScreenImageStatus /t REG_DWORD /d 1 /f

 

Also having Computer Configuration > Administrative Templates > Control Panel > Personalization > Force a specific default lock screen and logon image set.

 

Thought I'd share for anyone struggling. Also works fine if you update/change the image. Simply replace the file \\server\NETLOGON\W10LogonScreen.jpg

 

This is madness.

 

what happens when the server goes off? do backgrounds show in real time?

 

I even tried setting the lock screen wallpaper to \\localhost\c$\wallpapers\MainScreen.jpg no joy.

 

The Lock Screen GPO even states c:\ ... as a path for the jpg.

 

Thank you for the information. I will set these reg fixes. setting up a clean system and now I have to dirty it by reg fixes. Everything should be doable with GPOs without reg fixes

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...