locked
Registry key to change Default Lock Screen Background Image in Windows 10 RRS feed

  • Question

  • Hello,

    Is there Registry key to change Default Lock Screen Background Image in Windows 10 ?

    I would like to display image file in C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg

    -Subramani

    Monday, February 13, 2017 5:21 PM

All replies

  • Ít's not possible to change the lockscreen for all users after the anniversary update of Windows 10 pro. You will need the enterprise version to change it.

    Monday, February 13, 2017 7:38 PM
  • We have Microsoft Windows 10 Enterprise installed on machines. Is there any registry key to be modified to display image file from C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg ?


    Monday, February 13, 2017 8:32 PM
  • If you have Enterprise you can use a GPO to do this:

    Windows Spotlight is enabled by default. Administrators can replace Windows Spotlight with a selected image using the Group Policy setting Computer Configuration > Administrative Templates > Control Panel > Personalization > Force a specific default lock screen image.

    https://technet.microsoft.com/en-us/itpro/windows/manage/windows-spotlight

    Monday, February 13, 2017 9:15 PM
  • Hi,

    Since your Windows edition is Enterprise, you could use the registry entry below directly:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization

    Create a value as below:

    Note: Replace the path C:\Users\Admin\Pictures\image2.jpg with your image path C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Tuesday, February 14, 2017 6:11 AM
  • Hi,

    Was your issue resolved?

    If yes, please mark the helpful reply as answer in order that other community members could find the helpful reply quickly.

    If no, please reply and tell us the current situation in order to provide further help.


    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, February 24, 2017 8:57 AM
  • This seems a bit stupid. Why would Microsoft limit this to only Enterprise versions? Why not Pro?
    Thursday, July 13, 2017 11:49 AM
  • Simple! Lot of me like  me who manage a LOT of PCs but not quite enough to justify enterprise. Of course we expect  uniformity and every version through the latest 10 we could attain that one way or another (login script or GPO). This is one of those mean and childish attempts to push people like me to the next level of cost by taking away a convenience (they have done this many times). What they actually did is pissed me off and I moved every single server we own (not a couple vendor servers) to Linux and Samba/LDAP and I have not looked back once. Cost down and performance up, even on lesser hardware.

    Were it not for 3 vendors (CDK, Ford Motor, And Promax) depending on Microsoft components there would not be a MS desktop in the entire company, any location any city. Luckily all three vendors are working on breaking that dependency in favor of standards based interfaces and I just cannot wait!

    • Proposed as answer by HardnHeavy Sunday, December 23, 2018 12:58 AM
    Friday, July 21, 2017 7:02 PM
  • The group policy looks like this, so you probably have to delete that other value (LockScreenOverlaysDisabled):

    ValueName                        Key                                                 Data                                   Type
    ---------                        ---                                                 ----                                   ----
    **del.LockScreenOverlaysDisabled Software\Policies\Microsoft\Windows\Personalization                                        String
    LockScreenImage                  Software\Policies\Microsoft\Windows\Personalization c:\windows\web\screen\lightgray232.jpg String

    This setting seems unreliable in Windows 10 1703.  I think I've had better luck with jpg's than png's.  The image for the logon screen also gets turned 45% darker.

    Why isn't the font mono-spaced for code?





    • Edited by JS2010 Friday, July 21, 2017 9:15 PM
    Friday, July 21, 2017 9:06 PM
  • do you know if this is still an issue? WIN10 PRO, SVR2008R2.

    Looks like it's a 1709 Build issue. 

    Thanks!


    • Edited by pkendall Friday, March 9, 2018 4:05 PM
    Friday, March 9, 2018 12:26 PM
  • same here for 1709, it must be an update issue :(
    Sunday, April 22, 2018 8:14 AM
  • Yes.  Verified that this works on Win 10 Pro 1709 OS Build 16299.19 across the enterprise.


    Requires a ps script and regedit

    I deployed via logon script (bat file)

    Here is the ps script - this makes all the settings for the logged in user and changes the Lock Screen:

    -----

    # Change this to the path where you keep the desired background image
    $imagePath = '(Path to Image, include single quotes)'

    $newImagePath = [System.IO.Path]::GetDirectoryName($imagePath) + '\' + (New-Guid).Guid + [System.IO.Path]::GetExtension($imagePath)
    Copy-Item $imagePath $newImagePath
    [Windows.System.UserProfile.LockScreen,Windows.System.UserProfile,ContentType=WindowsRuntime] | Out-Null
    Add-Type -AssemblyName System.Runtime.WindowsRuntime
    $asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
    Function Await($WinRtTask, $ResultType) {
        $asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
        $netTask = $asTask.Invoke($null, @($WinRtTask))
        $netTask.Wait(-1) | Out-Null
        $netTask.Result
    }
    Function AwaitAction($WinRtAction) {
        $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and !$_.IsGenericMethod })[0]
        $netTask = $asTask.Invoke($null, @($WinRtAction))
        $netTask.Wait(-1) | Out-Null
    }
    [Windows.Storage.StorageFile,Windows.Storage,ContentType=WindowsRuntime] | Out-Null
    $image = Await ([Windows.Storage.StorageFile]::GetFileFromPathAsync($newImagePath)) ([Windows.Storage.StorageFile])
    AwaitAction ([Windows.System.UserProfile.LockScreen]::SetImageFileAsync($image))
    Remove-Item $newImagePath

    ----------------

    Here is the Regedit to Change Login Screen

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\S-1-0-0]
    "RotatingLockScreenEnabled"=dword:00000000
    "LockImageFlags"=dword:00000000
    "LockScreenOptions"=dword:00000000
    "CreativeId"=""
    "PortraitAssetPath"="(Path to Image, include double quotes, remember to use \\ in between folders)"
    "LandscapeAssetPath"="(Path to Image, include double quotes, remember to use \\ in between folders)"

    ---------------

    Here is the logon bat file

    CLS
    @echo off

    regedit /S (insert path to .reg file here)


    IF NOT EXIST (Local Path storing image)  (
    mkdir (Local Path storing image)
    xcopy (From path) (Local Path storing image) /R /Y /I
    ) ELSE ECHO Applying Lock Screen

    Powershell.exe -executionpolicy remotesigned -File  (Path to ps1 file)
    Exit

    EXIT





    Cheers!

    • Proposed as answer by emarchewka Friday, August 10, 2018 5:56 PM
    Friday, August 10, 2018 5:56 PM
  • Guys

    What about adding slideshow for the screenlock how would i do that.

    Instead of image path add folder path ?

    This is awsome Thanks a lot

    Regards

    Friday, November 23, 2018 10:01 AM
  • Can you pls tell me how to set a different wallpaper for lock screen & shutdown screen in windows 7 home edition.
    Wednesday, February 20, 2019 3:30 PM
  • Yes.  Verified that this works on Win 10 Pro 1709 OS Build 16299.19 across the enterprise.


    Requires a ps script and regedit

    I deployed via logon script (bat file)

    Here is the ps script - this makes all the settings for the logged in user and changes the Lock Screen:

    -----


    Hmmm, I got it to work once on a couple of test machines, after that, it always reverts back to the default cave/ocean image...any ideas?

    Thanks!


    Tuesday, March 26, 2019 3:32 PM
  • The group policy seems ok in 1709... ("Force a specific default lock screen image")

    • Edited by JS2010 Tuesday, March 26, 2019 6:10 PM
    Tuesday, March 26, 2019 6:09 PM
  • The group policy seems ok in 1709... ("Force a specific default lock screen image")

    If you look at the bottom of the help portion of the policy, it says "Note: This setting only applies to Enterprise, Education, and Server SKUs." I think the idea from the original post was to find a way to accomplish this on Windows 10 Pro...
    Tuesday, March 26, 2019 9:06 PM