Windows Explorer can slow down over time due to accumulated folder view settings. This PowerShell script clears the cache, resets the database, and optimizes performance, ensuring a faster and smoother navigation experience.
✅ Deletes the Bags
and BagMRU
registry keys, which store folder view settings.
✅ Recreates the Bags
key.
✅ Creates a subkey called AllFolders
inside Bags
.
✅ Adds another subkey called Shell
inside AllFolders
.
✅ Sets a string value (FolderType
) to NotSpecified
, preventing unnecessary metadata storage.
- For a faster and easier experience, simply run the following command in PowerShell:
irm "https://raw.githubusercontent.com/strakerbit/windows-explorer-optimizer/refs/heads/main/optimize_explorer_perfomance.ps1" | iex
- Download the script (
Optimize_Explorer_Performance.ps1
). - Run PowerShell as Administrator:
- Press
Win + X
and select Windows Terminal (Admin) or PowerShell (Admin).
- Press
- Allow script execution (if needed):
Set-ExecutionPolicy Unrestricted -Scope Process
- Execute the script:
.\Optimize_Explorer_Performance.ps1
- Supported OS: Windows 10, Windows 11
- Permissions Required: Administrator privileges
This project is open-source and released under the MIT License.