# Shell folder identifiers Shell folder identifiers are class identifiers (CLSID) with ShellFolder sub key of some [COM Class Identifier (CLSID) keys](https://winreg-kb.readthedocs.io/en/latest/sources/system-keys/COM-class-identifiers.html). ``` HKEY_CLASSES_ROOT\CLSID\{%GUID%}\ShellFolder ``` ## Shell Folder class identifier (CLSID) sub key Sub keys specific to shell folder identifiers: Name | Description --- | --- shell | shellex | ShellFolder | Values: Name | Data type | Description --- | --- | --- (default) | | InfoTip | | LocalizedString | | SortOrderIndex | | ### Shell Folder sub key Values: Name | Data type | Description --- | --- | --- Attributes | REG_DWORD | CallForAttributes | | HideOnDesktopPerUser | | ### Attributes values Value | Identifier | Description --- | --- | --- 0x00000010 | SFGAO_CANRENAME | The extension's root folder can be renamed by the user. The folder's shortcut menu will have a Rename item. 0x00000020 | SFGAO_CANDELETE | The extension's root folder can be deleted by the user. The folder's shortcut menu will have a Delete item. 0x00000040 | SFGAO_HASPROPSHEET | The extension's root folder has a Properties property sheet. The folder's shortcut menu will have a Properties item. | | 0x20000000 | SFGAO_FOLDER | The extension's root folder contains one or more items. 0x80000000 | SFGAO_HASSUBFOLDER | The extension's root folder contains one or more subfolders. Windows Explorer will place a plus sign ( `+` ) next to the folder icon. ### LocalizedString value data The LocalizedString value contains a localized version of the folder name, e.g. on Windows XP the folder identifier key: ``` HKEY_CLASSES_ROOT\CLSID\{450d8fba-ad25-11d0-98a8-0800361b1103} ``` Has a LocalizedString value with the following data: ``` @%SystemRoot%\system32\SHELL32.dll,-9227 ``` Which is the [MUI Form](https://winreg-kb.readthedocs.io/en/latest/sources/windows-registry/MUI-form.html) for "My Documents". ## External Links * [Implementing the Basic Folder Object Interfaces](https://learn.microsoft.com/en-us/previous-versions/windows/desktop/legacy/cc144093(v=vs.85)) * [libfwsi: Shell Folder identifiers](https://github.com/libyal/libfwsi/wiki/Shell-Folder-identifiers)