17 thoughts on “Windows 10 – Customize the Login Screen on Windows 10 using a GPO

  1. Great article!

    We have done similar but one issue that did come up is around changing the font used in custom CP.
    We have added an additional task to the default Windows CP that has a label with text. We wanted to
    change the font label because on some backgrounds the font becomes difficult to read.
    Do you have any idea how this could be achieved?

    Regards
    Paul

  2. @Paul Foley,

    I do not understand your question… not clear to us what you are trying to achieve… can you provide more explanation, some screenshots…

    Till next time
    See ya

  3. Hi Griffon,

    Thanks for responding.
    How can I put screenshots in the comment section?

    Regards
    Paul

  4. @Paul,
    Sorry for the delay in the answer… we are really overloaded lately…. No screenshot can be uploaded in the comment section…Either, you upload it to a a storage services (dropbox,OneDrive,Google Drive,….) or we can send you an email where you could reply to it and attach your screenshots

    Let’s us know what your preference
    Till next time
    See ya

  5. @Dan,

    Good question ! We never tried this option…we might need to investigate a little bit further to see if this would be possible

    Till next time
    See ya

  6. thanks
    what is the resolution of background image? And what about different size of screens? I’ve users with 12″ laptops and also users with 27″ external screens (mostly 16:9 but also 16:10 and utrawide as well) – how to alling background dimensions according planty of screensize/resolution?

  7. @Zdeněk,

    Thanks for visiting our blog. In theory, you could be able to set specific image size to specific machines…

    What you would need to do if you really want to have good quality image for your logon screen is to

    1/ Create for each screen resolution screen, a specific background image (ex. Bground-800×600.png, bground-768×1044.jpg,…)
    2/ get the user receiving the correct background image size using GPO or SCRIPT

    Option 1 – GPO and GPP
    If you can from Active directory, find which computer object would be using which screen resolution, you could create Active Directory Groups for each type of screen resolution (ex AD-Screen-800×600,AD-Screen-1024×768,…) and move the computer objects in the appropriate groups. Using GPP and GPO, you can use Targeting technic. In a few words, in the GPP when using targeting, you can say for this Group of computer, the image file that will be used is Bg-800×600, if you are part of group 2, you wil lbe using bg-1024×768,….
    => Depending on your infra, this could be a lot of work….

    Option 2 – Powershell script (you can still deploy the script via GPO !!!)

    A better option might be to use powershell script. In the powershell script, you can detect the screen resolution and assign the correct picture to be applied on the machine. You can detect the screen resolution using this powershell cmdlet Get-WmiObject -Class Win32_DesktopMonitor | Select-Object ScreenWidth,ScreenHeight. You can find in this post https://c-nergy.be/blog/?p=15168 sample script that you can customize in order to set the proper background image based on the screen resolution

    Hope this help
    Till next time
    See ya

  8. @Chumy,
    Thank for visiting our blog and providing some feedbacks…
    this trick should be working for all windows 10 editions

    Till next time
    See ya

  9. thanks a lot,
    one question i have applied change wallpaper via GPO, and the problem is laptop when out of office with black wallaper even they are back to office. i have script to clear cache transcode wallpaper but not works because i have rename the user login from AD and user profile on their laptop still use old profile

  10. @Chumyzawa,

    I hope I have understood your question….Our understanding is when you are not connected to your network, you get a black screen…. We would guess that the Wallpaper picture is located on a share on your network (on a file server). If your computers needs to be disconnected from the network and used offline, It would make sense to copy the wallpaper image locally on the laptop so the system always find the picture…

    Hope this help
    Till next time
    See ya

  11. Thank you for this.

    Its WORKING!! 😀

    I have a question, is it possible to change the w10 logon picture using gpo?

  12. @Mark;

    Thank for visiting our blog and providing feedback….

    To answer your question and to provide an easy to use method; please refer to the post https://c-nergy.be/blog/?p=15168.
    The post contains a powershell scripts that will create the registry key for you
    The script below will create the necessary registry key for the login screen

    Hope this help
    Till next time
    See ya

    #--------------------------------------------------------------------------------
    # Name : Set Login Screen using CSP Personalization feature
    # Credits : https://www.thelazyadministrator.com
    # ------------------------------------------------------------------------------------

    $RegKeyPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\PersonalizationCSP"

    $LockScreenPath = "LockScreenImagePath"
    $LockScreenStatus = "LockScreenImageStatus"
    $LockScreenUrl = "LockScreenImageUrl"

    $StatusValue = "1"

    $LockScreenImageValue = "C:\Personalization\yourImage.jpg" #Change as per your needs

    if (!(Test-Path $RegKeyPath))
    {
    Write-Host "Creating registry path $($RegKeyPath)."
    New-Item -Path $RegKeyPath -Force | Out-Null
    }

    New-ItemProperty -Path $RegKeyPath -Name $LockScreenStatus -Value $StatusValue -PropertyType DWORD -Force | Out-Null
    New-ItemProperty -Path $RegKeyPath -Name $LockScreenPath -Value $LockScreenImageValue -PropertyType STRING -Force | Out-Null
    New-ItemProperty -Path $RegKeyPath -Name $LockScreenUrl -Value $LockScreenImageValue -PropertyType STRING -Force | Out-Null

    RUNDLL32.EXE USER32.DLL, UpdatePerUserSystemParameters 1, True

  13. @Mark,

    There is not “direct” or single setting option that would configure the user picture on your device. However, you can always combine GPO with login script or create some Group preferences and try to get it work..
    This is obviously a little bit more work.

    Hope this help
    Till next time
    See ya

Leave a Reply