Share via

How to remove 'Gallery' folder from File Explorer?

Anonymous
2023-10-10T11:48:12+00:00

­ ­ ­ ­­

I just don't want to use Gallery in Windows 11, so I run the below batch file, as administrator:

RemoveGalleryFromNavigationPaneInFileExplorer.bat

reg add HKEY_CURRENT_USER\Software\Classes\CLSID{e88865ea-0e1c-4e20-9aa6-edcd0212c87c} /f /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d 0x00000000

It runned well, but had no effect as expection ~

restart system, and the 'Gallery' folder still persists.

Please help me - how to remove 'Gallery' folder from File Explorer?

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

  1. Anonymous
    2023-10-10T12:32:41+00:00

    Hi, Trybird. I'll be happy to assist you today.

    Sorry to know you're experiencing this issue with this new Windows feature.

    In order to disable this feature, please open CMD as administrator then paste the following command:

    reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_41040327{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}

    A computer reboot is required to complete the procedure.

    Feel free to reach me if you require any additional assistance or have further questions.

    200+ people found this answer helpful.
    0 comments No comments

Answer accepted by question author

  1. Anonymous
    2024-06-14T07:42:15+00:00

    Hi,

    I copied the command into the command line screen, which I ran as administrator, >reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_41040327{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}

    Permanently delete the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace_41040327{e88865ea-0e1c-4e20-9aa6-edcd0212c87c} (Yes/No)? yes

    The command returned the following error message: ERROR: The system was unable to find the specified registry key or value.

    What did I do wrong?

    Thanks.

    Correct command nowadays is (for Win11 23H2 at least)

    reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}

    Basically the registry path has changed a bit, if you go to that path manually you will see the reference to Gallery and after running the command ( or deleting it manually) and restarting your computer Gallery disappears. I just did it myself.

    50+ people found this answer helpful.
    0 comments No comments

40 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-10-20T20:49:09+00:00

    This is not a useful feature. It is obnoxious, invasive, and completely unnecessary.

    200+ people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-11-09T19:07:27+00:00

    "Features" like these should be able to be turned off/on by the GUI and not force users to have to edit the registry to remove them.

    100+ people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-11-11T08:17:53+00:00

    To remove Gallery option from the sidebar

    of file explorer in Windows 11, follow these steps:

    1. Press the Windows key + R to open the Run dialog box. Type “regedit” and press Enter. Click ‘Yes‘ in UAC (User Account Control) to open the Registry editor.
    2. Navigate to the following key: HKEY_CURRENT_USER\Software\Classes\CLSID
    3. Right-click on the CLSID subkey and select New > Key.
    4. Name the new key
      {e88865ea-0e1c-4e20-9aa6-edcd0212c87c}.
    5. Right-click on the newly created key and select New > DWORD (32-bit) Value.
    6. Name the new value System.IsPinnedToNamespaceTree.
    7. Double-click on the new value and set its value to 0.
    8. Click OK to save your changes.
    9. Close the Registry Editor.
    10. Restart File Explorer.
    100+ people found this answer helpful.
    0 comments No comments