Skip to content

Releases

ExplorerTune 0.1.0

Choose a tag to compare

@v2matosevic v2matosevic released this 03 Sep 16:22

First public release. Built and verified against Windows 11 Pro build 26100.

Make the File Explorer you already have fast, instead of replacing it. No new
shell, no background app, no telemetry. Every script is dry-run by default,
prints what it would change, and exports the registry keys it will touch first.

git clone https://github.com/v2matosevic/ExplorerTune
cd ExplorerTune
.\Audit-Explorer.ps1        # read-only

What it fixes

Third-party DLLs inside explorer.exe. They run on every right-click, every
property read and every thumbnail. Dead registrations (a CLSID with no COM
server, left behind by uninstalled software) are found and deleted
automatically. Anything else is blocked, not deleted, via the Blocked list
in both registry views, and only when you name it. handlers/catalog.psd1
documents 24 known extensions with when each one runs and what breaks if
you block it.

Search that does not find your files. Set-SearchScope.ps1 sets the crawl
scope from config through ISearchCrawlScopeManager, the same API the Indexing
Options dialog uses. Needs no administrator.

explorer.exe drifting with uptime. An optional watchdog restarts the shell
past a handle or memory threshold, but only while no windows are open and you
are idle.

On the reference machine

before after
explorer.exe private bytes 633 MB 171 MB
handles 8,032 3,744
threads 304 136
third-party DLLs in-process 17 3
icon overlays 18 registered, Microsoft's own evicted 15/15, none evicted

Read the memory figures carefully: much of that drop is the restart clearing
138 hours of drift, not the blocking. The attributable measures are the module
count and the DLL list, which is why the tool prints both and says so.

Three things worth knowing

The Windows Search crawl scope cannot be set from the registry. Those keys
deny writes even to an elevated Administrator, and the WSearch service rewrites
them on every start.

The registry lies about what is in scope. DefaultRules showed
include=1 for two whole drives while the API reported both as entirely out of
scope. Always ask the indexer: .\Set-SearchScope.ps1 -Test '<path>'.

The published COM IIDs are wrong for this build. ISearchCatalogManager
answers to ...EF50, not the widely quoted ...EF61/...EF62. So the
interfaces are discovered at runtime by QueryInterface sweep and the vtable is
proven with read-only probes, including a two-sided oracle, before any mutating
call is allowed. Reset() sits at slot 5 and RevertToDefaultScopes() at slot
13, so an off-by-one there is data loss rather than a crash. If validation
fails, the tool refuses instead of guessing.

Details in docs/search-scope.md
and the anonymised case study.

Contributing

The handler catalog is the part that gets better with more people. If Explorer
loads something on your machine that is not in it, that is a small,
self-contained PR and useful to everyone else. See
CONTRIBUTING.md.