Skip to content

This PowerShell script improves the performance of File Explorer in Windows 11 by clearing the folder view cache and resetting its database.

License

Notifications You must be signed in to change notification settings

0xStraker/windows-explorer-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

🚀 Optimize Explorer Performance 🚀

📌 Overview

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.

🔧 How It Works

✅ 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.

🚀 Usage

Running the Script with One Command

  • 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

Running the Script Manually

  1. Download the script (Optimize_Explorer_Performance.ps1).
  2. Run PowerShell as Administrator:
    • Press Win + X and select Windows Terminal (Admin) or PowerShell (Admin).
  3. Allow script execution (if needed):
    Set-ExecutionPolicy Unrestricted -Scope Process
  4. Execute the script:
    .\Optimize_Explorer_Performance.ps1

🖥️ Compatibility

  • Supported OS: Windows 10, Windows 11
  • Permissions Required: Administrator privileges

⚠️ Disclaimer

⚠️ Use at your own risk! Modifying the Windows Registry can impact system behavior. Always create a backup before making changes.

📜 License

This project is open-source and released under the MIT License.

👤 Author

Straker

About

This PowerShell script improves the performance of File Explorer in Windows 11 by clearing the folder view cache and resetting its database.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published