囤灵 Hoardkin

← All posts

A whole disk in seconds: how fast mode works on Windows

The usual way to scan a full disk on Windows is to ask the system about one folder at a time: “what is in here?” Across millions of files, that takes minutes.

With fast mode on, Hoardkin does it differently, and a scan takes seconds.

The Master File Table: the disk’s own index

Every NTFS disk has a special file called the Master File Table (MFT). Each file and folder on the disk has a record in it: its name, its size, the folder it is in, when it was changed.

Instead of asking folder by folder, you can read that table from start to finish. That is what fast mode does, and it is how WizTree and Everything work too.

While reading, Hoardkin takes care of two details:

Why administrator rights

Windows lets only administrators read that table directly. That deserves care: a program running as administrator can do a great deal.

So we split it off:

Asked once, with no back door

Being asked “Do you want to allow this app to make changes to your device?” before every scan gets old quickly. So when you first allow it, Hoardkin asks Windows to remember: a scheduled task that runs only when needed, so you are not asked again.

There is an easy trap here. The version from our website installs into your own user folder, where any program can replace files. If the scheduled task pointed at Hoardkin there, another program could swap it out and quietly gain administrator rights through the task, without any prompt.

So Hoardkin copies itself into Program Files (which only administrators can change), and the task points only at that copy. After an update the copy has to be replaced with the new version, which is why you are asked once more.

Switching fast mode off or uninstalling Hoardkin removes both the task and the copy.

And: faster search

Having read the whole table, Hoardkin also keeps an index of file names in memory, kept current from the NTFS change journal as the disk changes. Press Alt + Space, and finding one name among 3 million usually takes 3 to 12 milliseconds.

The index lives in memory only: it is never written to disk and never leaves your computer.

You do not have to use fast mode at all: without it, Hoardkin still scans and searches, only more slowly. More questions? See the FAQ.

← All posts · Follow by RSS