Add Set Save Location to Context Menu of Library in Windows 10

Today, we'll see how to add Set save location to the context menu of a library in Windows 10. The command will appear in the right-click menu of libraries in File Explorer. This can be done with a simple Registry tweak.


It is possible to add the Set save location and Set public save location context menu commands to all libraries. Once you add these commands, they will allow you to set a default save location and public save location for a library without having to open the Library Properties dialog.

Table of contents.

In our previous article, we saw how to add any Ribbon command to the Context menu in Windows 10. See How to add any Ribbon command to the right click menu in Windows 10 for reference.

In short, all the Ribbon commands are stored under the Registry key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell

You can export the desired command and modify the exported *.Reg in order to add it to the context menu of files, folders, or any other object visible in File Explorer. In our case, we need two commands "Windows.LibraryDefaultSaveLocation" and "Windows.LibraryPublicSaveLocation".

Add Set Save Location to the Library's Context Menu
This command will allow you to specify the default folder in a Library where a file or another folder will be stored when you copy, move, or save directly to the library.

Here are the contents of the *.reg file that you need to apply to add the command Set Save Location to the library's context menu:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.LibraryDefaultSaveLocation]
"CommandStateSync"=""
"ExplorerCommandHandler"="{17f418ed-5cd0-4067-be51-4c96d386ebc1}"
"Icon"="imageres.dll,-5355"


[HKEY_CLASSES_ROOT\Folder\shell\Windows.LibraryDefaultSaveLocation]
"CommandStateSync"=""
"ExplorerCommandHandler"="{17f418ed-5cd0-4067-be51-4c96d386ebc1}"
"Icon"="imageres.dll,-5355"


[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\Windows.LibraryDefaultSaveLocation]
"CommandStateSync"=""
"ExplorerCommandHandler"="{17f418ed-5cd0-4067-be51-4c96d386ebc1}"
"Icon"="imageres.dll,-5355"

Run Notepad. Copy and paste the text above into a new document.

In Notepad, press Ctrl + S or execute the File - Save item in the menu. This will open the Save dialog.

There, type or copy-paste the following name "LibrarySetSaveLocation.reg" including quotes. Double quotes are important to ensure that the file will get the "*.reg" extension and not *.reg.txt. You can save the file to any desired location, for example, you can put it in your Desktop folder.

Now, double-click the file LibrarySetSaveLocation.reg that you created. Confirm the UAC prompt and click Yes to merge it into the Registry.

Now, right click a Library. The drop down context menu Set Save Location will appear in the context menu:

It will also be available in the Library's background context menu.

Add Set public save location to the Library's Context Menu

This command will allow you to specify the default public folder in a Library where a file or another folder will be stored when another user copies, moves, or saves directly to the library.

To add the command Set Public Save Location to the library's context menu, apply the following tweak:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.LibraryPublicSaveLocation]
"CommandStateSync"=""
"ExplorerCommandHandler"="{506229ae-09c7-4ffd-8ec9-6a957f6da601}"
"Icon"="imageres.dll,-5356"

[HKEY_CLASSES_ROOT\Folder\shell\Windows.LibraryPublicSaveLocation]
"CommandStateSync"=""
"ExplorerCommandHandler"="{506229ae-09c7-4ffd-8ec9-6a957f6da601}"
"Icon"="imageres.dll,-5356"

[HKEY_CLASSES_ROOT\LibraryFolder\background\shell\Windows.LibraryPublicSaveLocation]
"CommandStateSync"=""
"ExplorerCommandHandler"="{506229ae-09c7-4ffd-8ec9-6a957f6da601}"
"Icon"="imageres.dll,-5356"

Copy and paste the text above into a new document in Notepad and save it as a *.reg file. Double-click it to apply the tweak.

Once this is done, the Set public save location will appear in the context menu of libraries.

It will also be available in the Library's background context menu.

To save your time, I made ready-to-use Registry files. You can download them here:

Download Registry Files

The undo file is included, so you can avoid manual Registry editing completely.

Alternatively, you can use Context Menu Tuner. It will allow you to add any Ribbon command to the Library context menu.

Context Menu Tuner Library Public Save Location

Select "Windows.LibraryPublicSaveLocation" in the list of available commands, select "Library" in the right list and click the "Add" button. You can get the app here:

Download Context Menu Tuner

That's it.

2 thoughts on “Add Set Save Location to Context Menu of Library in Windows 10

  1. Achille

    Hello Sergey, Happy New Year for you and your family!

    A small gift from me….
    ___Enabled Seconds in Taskbar Clock__
    _______________________________________________________________
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
    “ShowSecondsInSystemClock”=dword:00000001
    ________________________________________________________________
    Logof after install of registry files and you’re done!

    Regards!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.