Windows 10 Lock Screen Picture Grabber'

5 September 2015By Rich @Black Sand Solutions
  • Windows10
  • Bash

If you are a Windows 10 user you have almost definitely seen the wonderful (mostly) images displayed...

Windows 10 Lock Screen Picture Grabber

If you are a Windows 10 user you have almost definitely seen the wonderful (mostly) images displayed when your PC is locked. These are hidden away in the AppData folder.

This simple batch file will grab them for you and save them to E:LockPhotos.

REM COPY WINDOWS LOCK PHOTOS TO A DIRECTORY AND RENAME
REM Will copy to a directory on E drive named LockPhotos
E:
if not exist "E:\LockPhotos\" mkdir "E:\LockPhotos"
cd LockPhotos
DEL *.* /Q
C:

cd  %localappdata%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState
xcopy %localappdata%\Packages\Microsoft.Windows.ContentDeliveryManager_cw5n1h2txyewy\LocalState\Assets E:\LockPhotos
E:
RENAME *.* *.jpeg

REM REmove all files under 20kx
@Echo off
pushd "LockPhotos"
for %%j in (*) do if %%~zj lss 20000 del "%%~j"
popd
REM PAUSE
All Posts