Add Desktop Background File Location context menu in Windows 8 & 10  

Page 1 of 2 12 LastLast
    Add Desktop Background File Location context menu in Windows 8 & 10

    Add Desktop Background File Location context menu in Windows 8 & 10

    How to Add Desktop Background File Location context menu in Windows 8 and Windows 10
    Published by
    21 Apr 2020
    Designer Media Ltd

    How to Add Desktop Background File Location context menu in Windows 8 and Windows 10


    Your desktop background (also called wallpaper) can be a picture from your personal collection, Bing Desktop, or included with Windows, a solid color, or a slide show playing selected pictures randomly on all displays.

    The Desktop Background File Location context menu will open directly to the image file location of your current desktop background with the image highlighted. This can be very handy if you see an image on your desktop background you would like to find and save.

    This tutorial will show you how to add or remove the Desktop Background File Location context menu for all users in Windows 8 and Windows 10.

    While you must be signed in as an administrator to be able to add or remove the context menu, all users will be able to use the context menu.



    Contents

    • Option One: To Add "Desktop Background File Location" to Desktop Context Menu
    • Option Two: To Remove "Desktop Background File Location" from Desktop Context Menu



    EXAMPLE: "Desktop Background File Location" on desktop context menu
    Add Desktop Background File Location context menu in Windows 8 & 10-desktop_background_file_location_context_menu.png






    OPTION ONE

    To Add "Desktop Background File Location" to Desktop Context Menu


    1 Click/tap on the Download button below to download the file below.

    Add_Desktop-Background-File-Location_context_menu.zip

    Download

    2 Save the .zip file to your desktop.

    3 Unblock the .zip file.

    4 Open the .zip file, and extract (drag and drop) the Add_Desktop-Background-File-Location_context_menu.reg and Find_Desktop_Background.vbs files to your desktop.

    5 Move the Find_Desktop_Background.vbs file into the C:\Windows\System32 folder, and click/tap on Continue to approve. (see screenshots below)

    Add Desktop Background File Location context menu in Windows 8 & 10-system32_folder-1.png
    Add Desktop Background File Location context menu in Windows 8 & 10-system32_folder-2.jpg

    6 Double click/tap on the Add_Desktop-Background-File-Location_context_menu.reg file to merge it.

    7 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    8 You can now delete any remaining files on your desktop if you like.






    OPTION TWO

    To Remove "Desktop Background File Location" from Desktop Context Menu


    This is the default setting.


    1 Click/tap on the Download button below to download the file below.

    Remove_Desktop-Background-File-Location_context_menu.reg

    Download

    2 Save the .reg file to your desktop.

    3 Double click/tap on the downloaded .reg file to merge it.

    4 When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    5 You can now delete the downloaded .reg file if you like.

    6 Open the C:\Windows\System32 folder, and delete the Find_Desktop_Background.vbs files. (see screenshot below)

    Add Desktop Background File Location context menu in Windows 8 & 10-system32_folder-2.jpg


    That's it,
    Shawn






  1. Posts : 521
    Win7 Pro X64, Win10 Pro x640
       #1

    Is there a particular reason the vbs file included in the context menu entry is added to System32 folder and not SysWOW64 folder on a 64-bit OS?
      My Computer


  2. Posts : 68,921
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #2

    bamajon1974 said:
    Is there a particular reason the vbs file included in the context menu entry is added to System32 folder and not SysWOW64 folder on a 64-bit OS?
    Hey mate,

    It's just where the context menu references it from. It's a good universal location to run it from for all users.

    You can technically save the .vbs file where you like, but will just need to change the registry for the new location instead.
      My Computers


  3. Posts : 521
    Win7 Pro X64, Win10 Pro x640
       #3

    Oh I see. If I wanted to move the VBS file into the SysWOW64 folder I would change the command line in the reg. entry text to something like %windir%\SysWOW64, right?
    But, SysWOW64 is for 32 bit programs in the windows dir so System32 is for 64-bit, right? Those folder names are rather confusing.
      My Computer


  4. Posts : 68,921
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #4

    bamajon1974 said:
    Oh I see. If I wanted to move the VBS file into the SysWOW64 folder I would change the command line in the reg. entry text to something like %windir%\SysWOW64, right?
    But, SysWOW64 is for 32 bit programs in the windows dir so System32 is for 64-bit, right? Those folder names are rather confusing.
    Correct, but it really doesn't matter where you save the .vbs at as long as the command in the registry points to the location.
      My Computers


  5. Posts : 521
    Win7 Pro X64, Win10 Pro x640
       #5

    Got it! Thank you!
      My Computer


  6. Posts : 68,921
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #6

    bamajon1974 said:
    Got it! Thank you!
      My Computers


  7. Posts : 526
    Windows 10 (22H2)
       #7

    Just came across this - Curious how this works. I assume that one simply r-cliks the current slideshow image and a context menu pops up. I have lockscreen configured as a slideshow and when I r-clik it the password screen appears. This utility not for my case?

    -thx
      My Computer


  8. Posts : 68,921
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #8

    MourningStar said:
    Just came across this - Curious how this works. I assume that one simply r-cliks the current slideshow image and a context menu pops up. I have lockscreen configured as a slideshow and when I r-clik it the password screen appears. This utility not for my case?

    -thx
    Hello mate,

    The context menu will run the VBS file that should then open the file location of your current desktop background.

    Contents of VBS for reference:

    Code:
    Const HKCU = &H80000001 'HKEY_CURRENT_USER
    
    sComputer = "."   
    
    Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" _
                & sComputer & "\root\default:StdRegProv")
    
    sKeyPath = "Control Panel\Desktop\"
    sValueName = "TranscodedImageCache"
    oReg.GetBinaryValue HKCU, sKeyPath, sValueName, sValue
    
    
    sContents = ""
    
    For i = 24 To UBound(sValue)
      vByte = sValue(i)
      If vByte <> 0 And vByte <> "" Then
        sContents = sContents & Chr(vByte)
      End If
    Next
    
    CreateObject("Wscript.Shell").Run "explorer.exe /select,""" & sContents & """"
    Last edited by Brink; 22 Dec 2023 at 15:51.
      My Computers


  9. Posts : 526
    Windows 10 (22H2)
       #9

    ^
    thank you. how is the context menu invoked?
      My Computer


 

Tutorial Categories

Add Desktop Background File Location context menu in Windows 8 &amp; 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:41.
Find Us




Windows 10 Forums