Clicky

Extract Lock Screen Images using batch.

This How-To will show how to extract the Lock Screen images, and convert them to jpg.

This batch script does the trick:

:: ==========SCRIPT BEGIN==========
@Echo off

:: This script copies the Content Delivery Manager Assets to a specified folder and renames them to .jpg files
:: This should give you all the lock screen images you see, but in a usable image format instead of just some file.

setlocal enabledelayedexpansion
cd “%~dp0”
set LockScreenPath=%LocalAppData%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets

set SavePath=LockScreenImages

if not exist “!SavePath!” (
md “!SavePath!”
)
for /f “tokens=*” %%A in (‘dir /b /s /a:-d “!LockScreenPath!\*.”‘) do (
echo Processing — %%~nA
copy “%%~fA” “!SavePath!\%%~nA.jpg”>nul 2>&1
)
Echo Complete.
pause > nul & exit
:: ==========SCRIPT END==========

Copy the script above and save it as -filename-.bat. Be sure to place it in the folder where you want the folder for the lock screen images to be created.

By default, the script will create a folder named “LockScreenImages” in the current directory (where the script file is placed). All of the images will be found in this folder. The folder name can be changed by replacing¬†LockScreenImages¬†on the line:
set SavePath=LockScreenImages