Share via


Lockscreen slide show deploy?

Question

Tuesday, February 23, 2016 5:16 PM | 1 vote

I'm building and deploying windows 10 test machines, Is there a group policy or registry setting I can deploy to enable the lock screen slideshow from a folder of our customized wallpapers we deploy to each machine?

I attempted to import a registry key for the lock screen but it did not appear to work.  It said i had no pictures in the specified folder.  I went into settings and removed and readded the folder and it did work after that but this seems to me that its a different string for each computer or user?

All replies (28)

Monday, February 29, 2016 3:00 AM ✅Answered

Hi ventura_techtvman,

I have tried to export the whole registry key and import it to another machine and it shares the same symptom as yours. I am afraid we have to configure that option manually.

Best regards

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


Wednesday, February 24, 2016 3:26 AM | 1 vote

Hi ventura_techtvman,

" Is there a group policy or registry setting I can deploy to enable the lock screen slideshow from a folder of our customized wallpapers we deploy to each machine?"

Try this:
 Computer Configuration > Policies > Administrative Templates > Control Panel > Personalization>Force a specific default lock screen image
Put the image in a shared folder and configure the group policy with the folders` UNC path.

We could try to access the shared folder firstly.

Best regards

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


Wednesday, February 24, 2016 1:47 PM | 1 vote

That is for the lock screen but has no effect on the lock screen slide show feature.


Thursday, February 25, 2016 2:43 AM

Hi ventura_techtvman,

For the slideshow configuration, it includes a encrypted PIDL registry key. We may need to export and import the registry key instead of configuring directly.
Here is a similar case for reference(NavinB`s reply):
Group Policy Screensaver Changing file contents
https://social.technet.microsoft.com/Forums/windowsserver/en-US/33ee30db-170c-4bb9-bdf2-7c404df1f36a/group-policy-screensaver-changing-file-contents?forum=winserverGP

Best regards

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


Thursday, February 25, 2016 2:23 PM

I believe that post is referring to the regular screen saver which we are not using.  I am referring to the lock screen slideshow which is found in windows 10s settings - personalization - lock screen - background set to slideshow.  This only activates when a user is logged on and locks their screen.  The GP for the default lock screen image shows up before the user signs on but also by default makes it so when the user is logged on and locks their screen it uses the default lock screen image defined in GP.  I would like to have the default lock screen image still set before a user logs in but if a user locks their screen i would like it to start a slideshow.  It appears the registry key where it is located is scrambled so if i import it on a pc where it is not set, it appears that the options are set in settings but it never loads the slide show because the slideshow path is what seems scrambled.  if i go into the settings and remove the images path and put it back in the slideshow then works.  Perhaps there is no way to set this via the registry. 


Friday, February 26, 2016 7:17 AM

Hi ventura_techtvman,

I have tried to make a test with those configurations.
First of all, that path didn`t support network path. And the registry key seems to be encrypted.

We could try to configure a logon script to copy those pictures to local. Then configure the slideshow configuration then export the registry key to configure it.

Logon script example:
net use s: \fs1\Software
 mkdir “C:\Screen Saver Photos”
del /Q “C:\Screen Saver Photos\.*”
xcopy “S:\Screen Saver Photos” “C:\Screen Saver Photos”

Best regards

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


Friday, February 26, 2016 3:09 PM | 1 vote

The pictures are already on the computer.  They get copied over when i do a build and capture.  I just have the MDT ts copy a specified folder to c:\windows\web\wallpaper\organizationname.  To test i use sccm to deploy the customized captured windows 10 image and then i login as a test user and run the lockscreen.reg file i exported and my settings seem to change to what they should be, example sets background to slideshow and has the organizationname folder in the choose albums for slideshow but it never works unless i remove it and re-add the same folder.  I think it has to do with the encrypted registry key for the directory path.

here is what is in my lockscreen.reg file

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen]
"SlideshowEnabled"=dword:00000001
"SlideshowSourceDirectoriesSet"=dword:00000001
"SlideshowOptimizePhotoSelection"=dword:00000001
"SlideshowDirectoryPath4"="eIAFA8BUg/E0gouOpBhoYjAArADMdmBAvMkOcBAAAAAAAAAAAAAAAAAAAAAAAAgVAEDAAAAAAYFSJyHEAcVauR2b3NHAABQCAQAAv7rXHB5MWhUi85CAAAAiOAAAAAQAAAAAAAAAAAAAAAAAAAAAlb0mAcFApBgbAQGAvBwdAMHAAAgFAoEAxAAAAAAAedU7IBBAXVmYAgDAJAABA8uvedUD741RtjkLAAAArICAAAAABAAAAAAAAAAAAAAAAAAAAU79gCwVAUGAiBAAAIBAcBQMAAAAAAgXH1OSQAwVBxETQFkfxAAAEBQCAQAAv7rXH1wOedU7I5CAAAAMiAAAAAQAAAAAAAAAAAAAAAAAAAAAKMDnAcFAhBAbAwGAwBQYAAHAlBgcAAAAYAw8AEDAAAAAAcFSqCHEAwURHl0UM5XMAAASAkAAEAw7+eFSpC3VIpKcuAAAAAaFBAAAAUAAAAAAAAAAAAAAAAAAAAwJMVRAMBQZAcGApBwcAwGAhBAdAUHAyBQZAAAAYAwkAAAAmAw7+WIAAAQMTB1U32pr/3IH/PUgMSIQ6M6ctkGAAAAZAAAAA8BAAAALAAAA3BQaA4GAkBwbAcHAzBgLAkGAtBQbAUGAyBwcAkGA2BQZAMGAvBgbAQHAyBwbAwGAwBQYA4GAlBAbA8FAjBwdAUDAuBQMAgGAyAAdAgHA5BQZAcHA5BAAAAAAAAAAAAAAYAAAAA"


Monday, February 29, 2016 1:54 PM

Ah. that's ok.  Not a huge deal.  Thanks!


Friday, April 29, 2016 5:58 AM

Hi ventura_techtvman,

did you ever found a solution to solve the ecrypted slideshowdirectorypath problem, except creating it manually?

I also want to the deploy a company slideshow to all users by default. I don't want that the users have to define the slideshow folder manually.

Although the slideshow files and the folder are the same on all machines the encrypted value is always slightly different. It seems that it not only contains the file path but another somehow "unique" item on each machine.

thanks!

regards


Friday, April 29, 2016 1:10 PM

Nope, no way around it so i gave up on that customization option for our users as a default setting.


Thursday, March 23, 2017 2:15 AM

Hi ventura_techvman,

I had follow your post to create a reg file to include the encrypted path, applied via SCCM OSD and having a GPO setting which specify in the default indexed path list. Now I can make the slideshow working in my environment (Tested on Win10 1511 and 1607)

The idea on Windows Indexing is coming from this page

http://www.askvg.com/fix-lock-screen-slide-show-feature-not-working-in-windows-10/

Hope this can help anyone who want to customise lock screen slideshow in their environment.


Thursday, March 23, 2017 6:04 PM

I can also confirm that this works (1607). Now off to automate a package to drop into my task sequence/deployment. Thanks guys.  Thanks Louis for the indexing find. 


Tuesday, January 9, 2018 1:27 PM

Could you explain how you got this to work?

My GPO changes the SlideShowDirectoryPath4 via regedit with an encrypted key etc.

Afterwards everything looks correct in Windows 10 -> Settings -> Personalization -> Lock Screen. (The Album folder is shown correctly)

But nothing happens when i Lock the PC. I have to manually remove the Album Folder and add it again. Then it works...


Friday, January 12, 2018 6:50 PM

Could you explain how you got this to work?

My GPO changes the SlideShowDirectoryPath4 via regedit with an encrypted key etc.

Afterwards everything looks correct in Windows 10 -> Settings -> Personalization -> Lock Screen. (The Album folder is shown correctly)

But nothing happens when i Lock the PC. I have to manually remove the Album Folder and add it again. Then it works...

try opening your reg file in notepad and make sure there are no line breaks in the encrypted string. Turn off word wrap and if they are still on multiple lines fix that.

Then try again.


Tuesday, January 16, 2018 10:32 AM

I am using the built in Registry editor of Group Policy Manager.

- There are no linebreaks in the encryption key of the value data.

Since windows is showing the correct folder in the Lock Screen settings, I would expect that the encryption key is correctly deployed. But that something more happens happens when I manually select the folder. I have used a registration sniffer to detect any other changes when I manually select the folder, but no other registration changes happen. So I guess windows is keeping track somewhere else...?


Thursday, January 18, 2018 1:48 PM

I just discovered that if I manually select a secundary slideshow folder after my policies are applied it starts working. (It also includes pictures from the directory path that I defined via the encyption key registration.)

I guess this means that my encryption key registration is working fine, but that windows doesn't activate the Lock Screen funktion untill I manually select a folder...

The big question is what happens in windows when i manually select the folder. My Registry sniffer, does not detect any other registry changes when i manually select the secundary folder, so the change must be saved somewhere else in windows I guess...

Here are the registration changes my group policy applies:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lock Screen]
"LockAppAumId"="Microsoft.LockApp_cw5n1h4txyewy!WindowsDefaultLockScreen"
"TileMigrated"=dword:0000000b
"SlideshowEnabled"=dword:00000001
"SlideshowSourceDirectoriesSet"=dword:00000001
"SlideshowDirectoryPath4"="EGAFA8BUg/E0gouOpBhoYjAArADMdmBAvMkOcBAAAAAAAAAAAAAAAAAAAAAAAAgVAEDAAAAAA84SDkFEAcVauR2b3NHAABQCAQAAv7bPLZaRPu0AZ5CAAAwmsOAAAAQAAAAAAAAAAAAAAAAAAAAAYlAMAcFApBgbAQGAvBwdAMHAAAgFA8PAxAAAAAAAPuUDPBBAXlkTxAzX+FDAAQFAJAABA8uvPu0AZ94SEklLAAAANskAAAAAfAAAAAAAAAAAAAAAAAAAAksi1CwVAkGAuBQMAADAfBAbA8GAjBwaA8FAzBwYAIHAlBQZA4GAAAAGAMJAAAwJA8uvFCAAAEzUQN1td66/Nyx/DFIjECkOjOXLpBAAAQGAAAAAfAAAAwCAAAwdAkGAuBAZA8GA3BwcA4CApBQbA0GAlBgcAMHApBgdAUGAjBwbA4GA0BgcA8GAsBAcAEGAuBQZAwGAfBwYAcHA1AgbAEDAoBgMAQHA4BQeAUGA3BQeAAAAAAAAAAAAAAAGAAAA"
"SlideshowEnabledOnBattery"=dword:00000001

[HKEY_CURRENT_USER\Software\Classes\Local Settings\MuiCache\3e\52C64B7E]
"@%SystemRoot%\system32\SearchFolder.dll,-38271"="Update Indexer Status"

[HKEY_CURRENT_USER\Control Panel\Desktop]
"DelayLockInterval"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
"RotatingLockScreenEnabled"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lock Screen\Creative]
"LockImageFlags"=dword:00000000
"CreativeId"=""
"PortraitAssetPath"=""
"LandscapeAssetPath"=""
"PlacementId"=""
"ImpressionToken"=""
"HotspotImageFolderPath"=""
"CreativeJson"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\S-1-5-21-1712795228-22320564-1955899066-4718]
"LockImageFlags"=dword:00000000
"CreativeId"=""
"PortraitAssetPath"=""
"LandscapeAssetPath"=""


Wednesday, August 1, 2018 11:49 AM | 1 vote

I just discovered that if I manually select a secundary slideshow folder after my policies are applied it starts working. (It also includes pictures from the directory path that I defined via the encyption key registration.)

I guess this means that my encryption key registration is working fine, but that windows doesn't activate the Lock Screen funktion untill I manually select a folder...

The big question is what happens in windows when i manually select the folder. My Registry sniffer, does not detect any other registry changes when i manually select the secundary folder, so the change must be saved somewhere else in windows I guess...

Here are the registration changes my group policy applies:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lock Screen]
"LockAppAumId"="Microsoft.LockApp_cw5n1h4txyewy!WindowsDefaultLockScreen"
"TileMigrated"=dword:0000000b
"SlideshowEnabled"=dword:00000001
"SlideshowSourceDirectoriesSet"=dword:00000001
"SlideshowDirectoryPath4"="EGAFA8BUg/E0gouOpBhoYjAArADMdmBAvMkOcBAAAAAAAAAAAAAAAAAAAAAAAAgVAEDAAAAAA84SDkFEAcVauR2b3NHAABQCAQAAv7bPLZaRPu0AZ5CAAAwmsOAAAAQAAAAAAAAAAAAAAAAAAAAAYlAMAcFApBgbAQGAvBwdAMHAAAgFA8PAxAAAAAAAPuUDPBBAXlkTxAzX+FDAAQFAJAABA8uvPu0AZ94SEklLAAAANskAAAAAfAAAAAAAAAAAAAAAAAAAAksi1CwVAkGAuBQMAADAfBAbA8GAjBwaA8FAzBwYAIHAlBQZA4GAAAAGAMJAAAwJA8uvFCAAAEzUQN1td66/Nyx/DFIjECkOjOXLpBAAAQGAAAAAfAAAAwCAAAwdAkGAuBAZA8GA3BwcA4CApBQbA0GAlBgcAMHApBgdAUGAjBwbA4GA0BgcA8GAsBAcAEGAuBQZAwGAfBwYAcHA1AgbAEDAoBgMAQHA4BQeAUGA3BQeAAAAAAAAAAAAAAAGAAAA"
"SlideshowEnabledOnBattery"=dword:00000001

[HKEY_CURRENT_USER\Software\Classes\Local Settings\MuiCache\3e\52C64B7E]
"@%SystemRoot%\system32\SearchFolder.dll,-38271"="Update Indexer Status"

[HKEY_CURRENT_USER\Control Panel\Desktop]
"DelayLockInterval"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager]
"RotatingLockScreenEnabled"=dword:00000000

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lock Screen\Creative]
"LockImageFlags"=dword:00000000
"CreativeId"=""
"PortraitAssetPath"=""
"LandscapeAssetPath"=""
"PlacementId"=""
"ImpressionToken"=""
"HotspotImageFolderPath"=""
"CreativeJson"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Creative\S-1-5-21-1712795228-22320564-1955899066-4718]
"LockImageFlags"=dword:00000000
"CreativeId"=""
"PortraitAssetPath"=""
"LandscapeAssetPath"=""

Lockscreen settings depends on Windows Search Service.

1 Lockscreen doesn't work if Windows search service is disabled.

2 When you add new folder using Personalization menu, this action also adds this folder to Windows Search indexing (Control panel->Indexing Options). The files from the new added folder will be shown on lockscreen only when the Windows search service will create search index for the folder.

This is how to add a folder to Indexing Options

$InteropDLL = ".\Microsoft.Search.Interop.dll"
# Microsoft.Search.Interop.dll is dll from Windows Search SDK
Add-Type -Path ($InteropDLL)
$Search = New-Object Microsoft.Search.Interop.CSearchManagerClass
$Catalog = $Search.GetCatalog("SystemIndex")
$ScopeManager = $Catalog.GetCrawlScopeManager()
$ScopeManager.AddUserScopeRule("file:///c:\lockscreen\",$True,$True,$Null)
$ScopeManager.SaveAll()

Да я просто почитать зашел :-)


Tuesday, July 2, 2019 10:24 PM

Hi Louis

Sorry to revive such an old topic but just recently i was asked about the same thing as well, to have a slideshow lock screen

This will be implemented on a domain environment to all Windows 10 machines. Are you able to walk me through what needs to be done?

Also, will changing the slideshow images be as easy as replacing the pictures in the shared location?

Hopefully i will hear back from you soon

Thanks for your time


Wednesday, July 3, 2019 2:20 PM | 1 vote

We ended up using a ConfigMgr package that executes once a week to change the lock screen with a powershell Randomize-List Function with 8 jpgs.  We have a few different areas of the business which is why were pulling OU and doing a check.  If the check matches that region they get that set of lock screens. See below.  We set this up a few years ago so there may be a better method now but this works for us.  Hope this helps:

#Randomize the lock screen
$WINDIR = $ENV:WINDIR
function Randomize-List
{
       Param (
              [array]$InputList
       )
       
       return $InputList | Get-Random -Count 1;
}

$a = "img100.jpg", "img101.jpg", "img102.jpg", "img103.jpg" , "img104.jpg" , "img105.jpg" , "img106.jpg" , "img107.jpg" , "img108.jpg"
$b = Write-Output (Randomize-List -InputList $a)


#Computer checks which OU it's in
Function Get-OSCComputerOU
{
    $ComputerName = $env:computername
    $Filter = "(&(objectCategory=Computer)(Name=$ComputerName))"

    $DirectorySearcher = New-Object System.DirectoryServices.DirectorySearcher
    $DirectorySearcher.Filter = $Filter
    $SearcherPath = $DirectorySearcher.FindOne()
    $DistinguishedName = $SearcherPath.GetDirectoryEntry().DistinguishedName

    $OUName = ($DistinguishedName.Split(","))[1]
    $OUMainName = $OUName.SubString($OUName.IndexOf("=")+1)
    
    $Obj = New-Object -TypeName PSObject -Property @{"ComputerName" = $ComputerName
                                                    "BelongsToOU" = $DistinguishedName}
           

    if ($DistinguishedName -eq $null ) {
    Exit 60
    }
    

    if ($DistinguishedName -like '*####*' -or $DistinguishedName -like '*#####*' ) {
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /V LockScreenImage /T REG_SZ /D "$WINDIR\####\###Lockscreens\$b" /F
    }
    Else 
    {
    REG add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Personalization" /V LockScreenImage /T REG_SZ /D "$WINDIR\###\###Lockscreens\$b" /F
    }

}

Get-OSCComputerOU

Sunday, July 28, 2019 2:14 PM | 1 vote

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen]
"SlideshowEnabled"=dword:00000001
"SlideshowDirectoryPath4"="my\encrypted_path"

thanks, I deployed these keys via GPO - works perfect! Windows 10 1903 Enterprise x64 [10.0.18362.239]
I also used a second GPO to copy my pictures to a local drive:


Thursday, August 1, 2019 8:27 AM

does anybody know the register key to increase time between pictures?
Also, I'm looking for the key to disable picture expansion.

thank you!


Wednesday, October 23, 2019 5:57 PM

Hi Anahaym,

Most of my PC's are 1903 so could you please give more details about the slide show.

Step By Step 

"SlideshowEnabled"=dword:00000001
"SlideshowDirectoryPath4"="my\encrypted_path"

what it means the 2nd line.

Can I copy multiple jpeg files as shown in the GP

Kind Regards,

RPadmam.

RJ


Thursday, October 24, 2019 6:20 AM

Step By Step 

- sign in to the Windows 10

  • create a folder where you are going to copy all your images for slideshow
  • open the registry and find SlideshowDirectoryPath4. There will be the needed value

pay attention, that the "value" changes if you change the folder name or path

I've changed the picture of the GPO to copy all files from a folder


Monday, November 25, 2019 6:00 AM

Seems like the simplest solution, but not quiet working for me yet. Did all of the above pointing to C:\Windows\CorpWallpapers (in encrypted PIDL format) but Users who get the policy just have the last Spotlight image stuck as their Lockscreen image. Also on 1903.


Wednesday, December 11, 2019 10:30 PM

Hey, 

Did you ever get a viable solution for this?


Sunday, December 15, 2019 1:27 AM

I still haven't gotten it working. I changed the SlideshowDirectoryPath4 path to C:\Users\Public\Pictures since it's indexed by default but the default Windows lockscreen pictures are still used no matter what.


Tuesday, February 4, 2020 2:06 AM

Hey Eric,

Did you ever figure this out? I'm pretty much stuck where you are at now.


Tuesday, February 4, 2020 7:29 AM

I still haven't gotten it working. I changed the SlideshowDirectoryPath4 path to C:\Users\Public\Pictures 

please note: the path must be encoded. Just configure it in GUI, open REGEDIT and copy the path.