Jump to content

Find the current Lock Screen image file in Windows 10


Batu69

Recommended Posts

Windows 10 comes with a nice feature which allows you to have a random image shown on the Lock screen every time you see it. It downloads beautiful images from the Internet and shows them on your lock screen. So, every time you boot or lock Windows 10, you will see a new lovely image. If you would like to find the currently displayed Lock Screen image file on your disk drive, here is how it can be done.

The path to the image which is used as your current Lock Screen background is stored in the Registry. If you point your Registry editor to the following path:

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen\Creative

You'll find it under the string value LandscapeAssetPath. This value stores the full path to the image for the landscape screen orientation. The value named PortraitAssetPath stores the image path which will be shown in the portrait screen orientation. Using this value, you can find the desired file. You can do it as follows.

  1. Open Registry Editor.
  2. Go to the mentioned key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen\Creative

 

Windows 10 creative subkey opened

 

3. Double click the LandscapeAssetPath value to copy its value data to the clipboard:

 

Windows 10 copy value

 

4. Now, press Win + R key together on your keyboard to open the Run dialog and paste the following into the Run box:

explorer /select, [path_you_copied]

The special /select argument of the Explorer app will open the folder directly with the required file selected. Refer to the article File Explorer command line arguments in Windows 10 to learn more about File Explorer command line arguments. See the following screenshot:


Windows 10 run explorer with lock screen background image opened

 

Windows 10 explorer with lock screen background image

 

Once File Explorer is opened with the required file selected in the file list, copy it to some other place, e.g. to your Pictures folder and add the *.jpg extension to the file name. Now it can be opened with any image viewer:

 

Windows 10 lock screen image opened

 

To save your time, here a simple batch file which does this automatically for you:

@echo off 
setlocal
set filename=
for /f "tokens=2*" %%a in ('reg query "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Lock Screen\Creative" /v LandscapeAssetPath') do set "LandscapeAssetPath=%%b"
for %%i in ("%LandscapeAssetPath%") do (
set filename=%%~ni
)
copy /Y "%LandscapeAssetPath%" "%userprofile%\Pictures\%filename%.jpg"
explorer.exe /select,"%userprofile%\Pictures\%filename%.jpg" 
start "" "%userprofile%\Pictures\%filename%.jpg"

Download it from here:

Download the batch file

Run the downloaded batch file. The current Lock Screen image background will be placed in the Pictures folder and opened automatically in your default image viewer. See the following video:

Find the Current Lock Screen image File in Windows 10

 

Article source

 

Link to comment
Share on other sites


  • Replies 2
  • Views 1.4k
  • Created
  • Last Reply

can you add other images to this file and how would you, thanks

 

Tried the batch file and it did not work, could not find file specified.

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...