It is possible to add Restore Settings to the libraries context menu in Windows 10. You will be able to reset any Library's settings from the right click menu.
Having the Restore Settings context menu command for a Library is time saving. When you need to reset the settings of a Library, you can just right click instead of opening its properties. Let's see how to add the command to the right-click menu of a Library.
Add Restore Settings to Libraries Context Menu in Windows 10
Previously, we saw how to add any Ribbon command to the context menu of File Explorer. The same trick can be used to add the Restore Settings command to the library's right-click menu. For reference, see the article How to add any Ribbon command to the right click menu in Windows 10.
In our case, the required command is located under the following Registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.LibraryRestoreDefaults
As described in the article mentioned above, with a slight modification, we can create a tweak to add the Restore Settings command directly to the library's context menu. Do it as follows.
Here are the contents of the *.reg file that you need to apply.
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell\Windows.LibraryRestoreDefaults] "CommandStateSync"="" "ExplorerCommandHandler"="{9a07804e-7050-41d5-a244-badc038df532}" "Icon"="imageres.dll,-5358" [HKEY_CLASSES_ROOT\Directory\Background\shell\Windows.LibraryRestoreDefaults] "CommandStateSync"="" "ExplorerCommandHandler"="{9a07804e-7050-41d5-a244-badc038df532}" "Icon"="imageres.dll,-5358" [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\Windows.LibraryRestoreDefaults] "CommandStateSync"="" "ExplorerCommandHandler"="{9a07804e-7050-41d5-a244-badc038df532}" "Icon"="imageres.dll,-5358"
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 "LibraryReset.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 LibraryReset.reg that you created. Confirm the UAC prompt and click Yes to merge it into the Registry.
Once you click it, it will restore the default settings of a library.
To save your time, I made ready-to-use Registry files. You can download them here:
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.
That's it.
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options: