Search code examples
windows-7registryshortcutbroken-links

My Libraries shortcuts don't work


I don't know why but my Libraries shortcuts don't work anymore, When I press on them nothing happens (nor from the start menu nor from Windows Explorer)

enter image description here

I think that this is something from the registry but I don't know what,

Please help me!


Solution

  • Sounds like something has gone wrong in your file associations, save the following as a .reg file and run it to restore .library-ms:

    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\.library-ms]
    
    [HKEY_CLASSES_ROOT\.library-ms]
    @="LibraryFolder"
    "Content Type"="application/windows-library+xml"
    
    [HKEY_CLASSES_ROOT\.library-ms\ShellNew]
    "Handler"="{c7ca6167-2f46-4c4c-98b2-c92591368971}"
    "NullFile"=""
    "IconPath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
      74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,\
      00,6d,00,61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,\
      2d,00,31,00,30,00,30,00,31,00,00,00
    
    [HKEY_CLASSES_ROOT\.library-ms\ShellNew\Config]
    "IsFolder"=""
    "IsOptIn"=""
    "NoEmptyFile"=""
    
    [HKEY_CLASSES_ROOT\LibraryFolder]
    @="Library Folder"
    "NeverShowExt"=""
    "NoOpenWith"=""
    "IncludeShare"=""
    "IncludeSync"=""
    "CanRecursivelySearch"=""
    "NoPreviousVersions"=""
    "FriendlyTypeName"="@shell32.dll,-34560"
    "EditFlags"=dword:00100000
    "DefaultDropEffect"=dword:00000004
    "TileInfo"="prop:System.ItemTypeText"
    "ExtendedTileInfo"="prop:System.ItemTypeText"
    "InfoTip"="prop:System.ItemTypeText;System.DateModified"
    "PreviewDetails"="prop:System.DateModified;*System.SharedWith"
    "FullDetails"="prop:System.ItemNameDisplay;System.ItemTypeText;System.DateModified;*System.SharedWith"
    "NoJumpListPathTooltip"=""
    
    [HKEY_CLASSES_ROOT\LibraryFolder\background]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\background\shellex]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\background\shellex\ContextMenuHandlers]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\background\shellex\ContextMenuHandlers\New]
    @="{D969A300-E7FF-11d0-A93B-00A0C90F2719}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\background\shellex\ContextMenuHandlers\Sharing]
    @="{f81e9010-6ea4-11ce-a7ff-00aa003ca9f6}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\DefaultIcon]
    @="%SystemRoot%\\System32\\imageres.dll,-8"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\ContextMenuHandlers]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\ContextMenuHandlers\LibraryFolder]
    @="{0af96ede-aebf-41ed-a1c8-cf7a685505b6}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\IconHandler]
    @="{14074e0b-7216-4862-96e6-53cada442a56}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\LibraryDescriptionHandler]
    @="{fe5afcf2-e681-4ada-9703-ef39b8ecb9bf}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\PropertySheetHandlers]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\PropertySheetHandlers\{66275315-bfa5-451b-88b6-e56ebc8d9b58}]
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\SharingHandler]
    @="{fe5afcf2-e681-4ada-9703-ef39b8ecb9bf}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\{BB2E617C-0920-11D1-9A0B-00C04FC2D6C1}]
    @="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
    
    [HKEY_CLASSES_ROOT\LibraryFolder\shellex\{e357fccd-a995-4576-b01f-234630154e96}]
    @="{9DBD2C50-62AD-11D0-B806-00C04FD706EC}"
    
    [HKEY_CLASSES_ROOT\LibraryLocation]
    
    [HKEY_CLASSES_ROOT\LibraryLocation\ShellEx]
    
    [HKEY_CLASSES_ROOT\LibraryLocation\ShellEx\ContextMenuHandlers]
    
    [HKEY_CLASSES_ROOT\LibraryLocation\ShellEx\ContextMenuHandlers\OpenContainingFolderMenu]
    @="{37ea3a21-7493-4208-a011-7f9ea79ce9f5}"
    
    [-HKEY_CLASSES_ROOT\SystemFileAssociations\.library-ms]
    
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.library-ms]
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.library-ms]
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.library-ms\OpenWithList]
    
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.library-ms\OpenWithProgids]
    "LibraryFolder"=hex(0):