https://github.com/strakerbit/windows-explorer-optimizer
This PowerShell script improves the performance of File Explorer in Windows 11 by clearing the folder view cache and resetting its database.
https://github.com/strakerbit/windows-explorer-optimizer
folder-view optimization performance powershell powershell-script registry registry-editing scripting system-configuration windows windows-performance
Last synced: 2 months ago
JSON representation
This PowerShell script improves the performance of File Explorer in Windows 11 by clearing the folder view cache and resetting its database.
- Host: GitHub
- URL: https://github.com/strakerbit/windows-explorer-optimizer
- Owner: strakerbit
- License: mit
- Created: 2025-03-21T20:02:24.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-21T20:36:06.000Z (2 months ago)
- Last Synced: 2025-03-21T21:23:27.852Z (2 months ago)
- Topics: folder-view, optimization, performance, powershell, powershell-script, registry, registry-editing, scripting, system-configuration, windows, windows-performance
- Language: PowerShell
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 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:
```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)**:
```powershell
Set-ExecutionPolicy Unrestricted -Scope Process
```
4. **Execute the script**:
```powershell
.\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](https://github.com/strakerbit)