An open API service indexing awesome lists of open source software.

https://github.com/kaixplt/explorer-fix

powershell script to speed up windows explorer by clearing cache and resetting database
https://github.com/kaixplt/explorer-fix

folder-view optimization performance powershell powershell-script registry registry-editing scripting system-configuration windows windows-performance

Last synced: 7 months ago
JSON representation

powershell script to speed up windows explorer by clearing cache and resetting database

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/kaixplt/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
[KaiXploit](https://github.com/kaixplt)