Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: disable explorer automatic folder discovery #3262

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

madkarmaa
Copy link

@madkarmaa madkarmaa commented Mar 11, 2025

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Refactoring
  • Hotfix
  • Security patch
  • UI/UX improvement

Description

Windows Explorer automatically tries to guess the type of the folder based on its contents, slowing down the browsing experience, especially on folders with large amounts of media (photos, videos). This simple tweak sets all the folders' type to NotSpecified, stopping explorer from (for example) loading media thumbnails.

Video reference (by Enderman)

Testing

The %USERPROFILE%\Pictures folder (for example) no longer shows large icons with previews.
image

Impact

Media thumbnails are no longer loaded and displayed.

Issue related to PR

Closes #3236

Additional Information

None

Checklist

  • My code adheres to the coding and style guidelines of the project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no errors/warnings/merge conflicts.

@madkarmaa madkarmaa changed the title feat: disable explorer automatic discovery feat: disable explorer automatic folder discovery Mar 11, 2025
@Kingproone
Copy link

This will resolve #3236 that I opened, same thing. Thank you for making this! <3

@zoicware
Copy link

you should only need to add this reg key the rest isnt necessary

[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"

@madkarmaa
Copy link
Author

madkarmaa commented Mar 14, 2025

@zoicware every resource online says to delete the two keys beforehand, but never explains why. I can guess it's because otherwise Windows will use the previously detected folder types instead of the wildcard. Either way, deleting the two keys doesn't break anything and they'll be restored with no issues in case of an undo of the tweak

@zoicware
Copy link

@zoicware every resource online says to delete the two keys beforehand, but never explains why. I can guess it's because otherwise Windows will use the previously detected folder types instead of the wildcard. Either way, deleting the two keys doesn't break anything and they'll be restored with no issues in case of an undo of the tweak

nope you only need to apply that one reg key as you can see ive applied it and fe. pictures is "general items"
{892A171F-1F78-49E8-AB34-C6968372A006}

@madkarmaa
Copy link
Author

@zoicware understood. I'll keep that in mind if changes are requested 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The possibility to turn off automatic folder discoverability in explorer.
3 participants