How to Save Windows Spotlight Lock Screen Wallpapers

Windows Spotlight brings to you some really amazing images that are worth storing. At present, Windows 10 doesn’t have a GUI option to save these Lock Screen images; this has to be done manually. This post tells you how to save Windows Spotlight lock screen images in Windows 10.

How to Save Windows Spotlight Lock Screen Images

The Windows Spotlight images are stored in one of the sub-folders several levels underneath the Local App Data folder, with random file names containing no extension. Here is the folder path

C:\Users\%username%\AppData\Local\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

Save Windows Spotlight Lock Screen Wallpapers

Backup Windows Spotlight images and add .JPG extension

The above location is not meant to be used as a permanent storage area, as the images you see today in that folder wouldn’t be available there forever. If you like to store the images, copy them to a different folder, under your Pictures folder or elsewhere.

To preview them after copying them to your Pictures folder, add the .jpg extension to these files. On the folder where you’ve copied the Spotlight images, click the File menu, and select Open command prompt. Typing the following command would add the JPG extension for all files:

REN *  *.jpg

Save Windows Spotlight Lock Screen Wallpapers

Remove non-wallpaper files such as tile images

The Windows Spotlight store folder also contains images that are not wallpapers, such as logos or tile images of smaller dimensions, that need to be filtered out.

get notified new spotlight image
A Tile image found in the Assets folder

Files with size less than 400 KB are probably not wallpaper files. You can preview before clearing them out. Hint: Sort the listing by Size column.

Portrait vs. Landscape Images

The Windows Spotlight store folder can contain portrait as well as landscape images (for PC); you may sort the files using the Dimensions column (which you need to add by right-clicking the Column Header in the folder, and clicking More..), move the Portrait images to a separate folder, and Landscape ones to another folder.

Save Windows Spotlight Lock Screen Wallpapers


Backup Spotlight Images Using Script

Here is a VBScript that copies the lock screen wallpaper files from the Assets folder to your Pictures\Spotlight collections folder.



'Copies Spotlight images from Assets folder to "Pictures\Spotlight Collections"
'Picks up only the Landscape images, and having size >250KB.
'Filename: spotlight_collect.vbs © Ramesh Srinivasan - winhelponline.com
'For Windows 10 systems.
'Feel free to modify the script as you need.

Option Explicit
Dim objFSO : Set objFSO = CreateObject("Scripting.FileSystemObject")
Dim WshShell : Set WshShell = WScript.CreateObject("WScript.Shell")
Dim objFolder, oPic
Dim strAssetsFldr, strSpotlightFldr

strAssetsFldr = WshShell.ExpandEnvironmentStrings("%localappdata%") & _
"\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets"

strSpotlightFldr = WshShell.ExpandEnvironmentStrings("%userprofile%") & _ 
"\Pictures\Spotlight Collection"

If Not objFSO.FolderExists (strSpotlightFldr) Then objFSO.CreateFolder strSpotlightFldr
strSpotlightFldr = strSpotlightFldr & "\"

If objFSO.FolderExists (strAssetsFldr) Then   
   Set objFolder = objFSO.GetFolder(strAssetsFldr)   
   Dim file, iHeight, iWidth
   For Each file In objFolder.Files
      If objFSO.FileExists(strSpotlightFldr & file.Name & ".jpg") <> True _
         And LCase(file.Name) <> "thumbs.db" Then
         If file.Size > 250000 Then
            On Error Resume Next
            Set oPic = LoadPicture(file)
            'Skip pictures that can't be loaded
            If err.number = 0 Then
               iWidth = CInt(round(oPic.width / 26.4583))
               iHeight = CInt(round(oPic.height / 26.4583))
               'Lets copy only Landscape images of size >250KB
               If iHeight < iWidth Then
                  objFSO.CopyFile file, strSpotlightFldr & file.name & ".jpg", False
                  If err.number <> 0 And err.number <> 58 Then
                     WScript.Echo err.number & vbCrLf & err.Description
                  End If
               End If
            End If
            On Error GoTo 0
         End If
      End If
   Next
End If

Script Usage

Copy the above code to Notepad, and save the file with .vbs extension — e.g., spotlight_collect.vbs. Double-click to run the script.

Save Windows Spotlight Lock Screen Wallpapers

You can also place a shortcut of the script in your in the Startup folder, or run it as a Scheduled Task at regular intervals (hours) so that you don’t miss a single Windows Spotlight wallpaper.

tips bulb iconAlternately, you can use a folder monitoring tool like New File Go and automatically configure the program to trigger the above script when Windows 10 downloads a fresh set of lock screen wallpapers into the Assets folder. Check out the article Get Notified When Windows 10 Brings a New Spotlight Image Every time for more information.

The script does the following:

  • Copies only the landscape images by querying the dimensions of each file.
  • Copies only files which are >250 KB.
  • If a file of the same name exists in the destination, it ignores and copies the next file.
  • Adds a .jpg extension to the files copied to the Spotlight collections folder. It doesn’t change the file name so that you don’t end up with duplicates in the folder, especially when you run the script at regular intervals on the same day.

You can run the script at regular intervals using Task Scheduler to copy the new set of Spotlight images downloaded by Windows 10. Additionally, once you collect enough wallpapers, you can set the Spotlight Collection folder as the desktop background slideshow for your account. For more information, see the article How to Use Windows Spotlight as Desktop Wallpaper Slideshow.


Find where a Windows Spotlight Image was shot

In Windows 10 v1607 and higher, you should be able to see the geographic location of the current Windows Spotlight by hovering your mouse pointer over “Like what you see?” section. For more information, see post Find the Actual Location Where a Spotlight (Lock Screen) Image was Shot.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Related articles

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

1 thought on “How to Save Windows Spotlight Lock Screen Wallpapers”

  1. Are the Spotlight pictures in the Public Domain? Can users reproduce these images on social media without running afoul of Microsoft’s license?
    I wouldn’t suppose users have unlimited right to use, reproduce or distribute of the images.

Leave a Comment