Disabling the "Gallery" folder display in Explorer doesn't work in Windows 11

BKPB

Member
Messages
91
Reaction score
10
Disabling the "Gallery" folder display in Explorer doesn't work in Windows 11

I made changes to install. wim
I used three options separately and three options at the same time.

1. Navigation pane - Gallery Delete
2. The registry Remove_folder_Gallery.reg
3. After installation Remove_folder_Gallery.reg

Neither method worked.

But if I run Remove_folder_Gallery. reg or Remove_folder_Gallery. cmd

manually from the Desktop, then my registry file works and deletes the Gallery folder from explorer.
Windows Registry Editor Version 5.00

; Hide the Gallery folder in Windows Explorer 11
[HKEY_CURRENT_USER\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}]

"System.IsPinnedToNameSpaceTree"=dword:00000000
@echo off
REM Hide the Gallery folder in File Explorer
reg add "HKCU\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f


Why is this happening ?

You may not have enough rights, but it works from the Desktop without any problems.

Please help me solve this problem.
 
Last edited:
Most Explorer or desktop personalizations don't work well when expressed as HKCU changes. This is because new user provisioning doesn't copy many reg values added to the Default User's profile. Instead, these updates must be executed from Post-Setup (After logon).

Normally if you change an Explorer setting, then it must be restarted or you have to wait until the next logon.
Code:
@echo off
reg add "HKCU\Software\Classes\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}" /v "System.IsPinnedToNameSpaceTree" /t REG_DWORD /d "0" /f
taskkill /f /im explorer.exe
start explorer

Elevenforums suggests a different solution, which can be integrated into the image as a reg file.
Code:
Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}]
 
MS "changed" the registry key/settings it would seem (since CU and/or new ISO). The problem appears in offline
It was updated in NTLite, soon available in public version I think ;)
 
Last edited:
I thought that the issue was resolved, but it turned out that it was half resolved.
I found that the Gallery icon is present in the Save window.

I dug around in the registry and found an entry:
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}]
"System.IsPinnedToNameSpaceTree"=dword:00000001

It may also need to be changed, but Elevenfor doesn't have a solution on how to change this registry key.
Help anyone who knows how to do this.View attachment 12218
 
Last edited:
I can't ask this question on elevenforum because registration has been suspended there.
I really need your help to solve the problem completely.
 
Change the HKEY_CLASSES_ROOT value to 0.
Setting HCR tends to avoid the problem of having to match the same key under HKCU.

Ten/ElevenForums registration is suspended for some countries which have signed up for too many spam accounts.
 
I copied it incorrectly, I have a value of 0, but it is impossible to make changes, :
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}]
"System.IsPinnedToNameSpaceTree"=dword:00000000

When you add this entry to the registry, the message appears:
Cannot import.
Some partitions are open by the system, or you don't have enough privileges for this operation.

I understand that you need to manually add permissions in the Security tab.
But I assumed that if I add this registry file to the image using NTLite, the changes will be made to the registry when the image is saved и не requires additional privileges, but this does not work.
Is there a way to do this or will I have to do everything manually after installing "Windows 11"?
 
Last edited:
Back
Top