New
#41
Some help with my question please?Good afternoon @KeithM . I want to add User Folder, Recent Folders, and Recent Items to the File Explorer Navigation Pane and want to understand some of the registry details.
These are the three registry keys to modify:
User Folder
Recent FoldersCode:[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]
Recent ItemsCode:[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{22877a6d-37a1-461a-91b0-dbda5aaebc99}]
Each key needs a "System.IsPinnedToNameSpaceTree"=dword:00000001 to appear on the navigation pane.Code:[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{4564b25e-30cd-4787-82ba-39e73a750b14}]
Relevant Subkeys
1. For User Folders:
(a) InProcServer32 subkey: strings Default=Windows.Storage.dll and ThreadingModel=Apartment
(b) ShellFolder subkey: dwords Attributes = f084012d and FolderValueFlags=00500229
2. For Recent Folders:
(a) InProcServer32 subkey: strings Default=Windows.Storage.dll and ThreadingModel=Apartment
(b) ShellEx\ContextMenuHandlers\{A8E64375-B645-4314-9EFC-C085981786FA} subkey
(c) ShellFolder subkey, dwords Attributes = 30040000, FolderValueFlags=00000800, and RestrictedAttributes= 00000032 dwords correct?
3. For Recent Items:
(a) InProcServer32 subkey: strings Default=Windows.Storage.dll and ThreadingModel=Both
(b) Instance subkey: string CLSID = {0C39A5CF-1A7A-40C8-BA74-8900E6DF5FCD}
(c) Instance\InitPropertyBag subkey: dwords Filter=1, MaxItems =64, UserKnownFolder=1
(d) ShellFolder subkey, dwords Attributes = 30040000, FolderValueFlags=00000410, and RestrictedAttributes= 00000032 dwords correct?
Questions:
(1) Why does User Folder and Recent Folders use apartment threading model and recent items use both? Does it matter?
(2) Why does Recent Folders have Context Menu Handlers but not Recent Items and is it relevant to a navigation pane entry?
(3) Why does Recent Items have Instance and InitPropertyBag subkeys and not Recent Folders and should the latter be modified similarly?
(4) What is the difference between foldervalueflags=00000800 for Recent Folders and 00000410 for recent items and should they be the same?
(5) Should the user folders have the same shellfolders and instance subkeys as recent folders and recent items?
Thanks!