🔍 Windows Search Toggle
A lightweight batch utility to fully disable or enable Windows Search on Windows 10/11 with a single click. Saves system resources (RAM, CPU, disk I/O) by completely preventing SearchHost.exe from running.
✨ Features
- Multi-layer blocking — Combines 5 independent methods for a bulletproof disable:
- Process termination (
SearchHost.exe + SearchApp.exe)
- WSearch service disable
- Executable rename (
.exe → .bak)
- IFEO (Image File Execution Options) debugger redirect
- Taskbar search icon hide
- One-click restore — Reverses all changes to fully re-enable Search
- Live status dashboard — Shows real-time state of all 5 layers
- Temporary kill — Option to kill the process without persistent blocking
- Auto-elevation — Automatically requests Administrator privileges via UAC
📸 Preview
╔══════════════════════════════════════════════════╗
║ WINDOWS SEARCH TOGGLE ║
╚══════════════════════════════════════════════════╝
┌──────────────────────────────────────────────────┐
│ CURRENT STATUS │
│ │
│ [X] OVERALL : FULLY BLOCKED │
│ │
│ Details: │
│ SearchHost.exe : RENAMED (.bak) │
│ Process : NOT RUNNING │
│ WSearch Service : STOPPED (Startup: DISABLED) │
│ IFEO Block : ACTIVE │
│ Search Icon : HIDDEN │
└──────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────┐
│ [1] DISABLE - Full disable + block │
│ [2] ENABLE - Fully restore │
│ [3] KILL PROCESS ONLY (temporary) │
│ [4] REFRESH STATUS │
│ [5] EXIT │
└──────────────────────────────────────────────────┘
🚀 Usage
- Download
SearchToggle.bat
- Double-click to run (will auto-request admin rights)
- Press 1 to disable or 2 to enable Windows Search
Note: A system restart may be required after enabling for full functionality.
⚙️ How It Works
Disabling (Option 1)
| Step |
Action |
Purpose |
| 1 |
taskkill /IM SearchHost.exe |
Immediately stop the running process |
| 2 |
sc config WSearch start= disabled |
Prevent the indexing service from starting |
| 3 |
ren SearchHost.exe SearchHost.exe.bak |
Block the executable from launching |
| 4 |
IFEO Debugger → rundll32.exe |
Redirect any launch attempts to a no-op |
| 5 |
SearchboxTaskbarMode = 0 |
Hide the search bar from the taskbar |
Enabling (Option 2)
All steps are reversed in order: restore .bak → remove IFEO → enable service → start service → show icon.
📋 Requirements
- Windows 10 / 11
- Administrator privileges (auto-requested)
⚠️ Disclaimer
This tool modifies Windows system files and registry settings. Use at your own risk. Changes are fully reversible using option 2.
📄 License
MIT
评论